cf/mirror

Divide Points

CF
1270E2300· international master1s256 MB⌨ stdin/stdout

Examples

Sample 1of 5
Input
3
0 0
0 1
1 0
Output
1
1
Sample 2of 5
Input
4
0 1
0 -1
1 0
-1 0
Output
2
1 2
Sample 3of 5
Input
3
-2 1
1 1
-1 0
Output
1
2
Sample 4of 5
Input
6
2 5
0 3
-4 -1
-5 -4
1 0
3 -1
Output
1
6
Sample 5of 5
Input
2
-1000000 -1000000
1000000 1000000
Output
1
1
1270E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)