cf/mirror

Disjoint Triangles

CF
1025F2700· international gm2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
6
1 1
2 2
4 6
4 5
7 2
5 3
Output
6
Sample 2of 2
Input
7
0 -1000000000
-5 -5
5 -5
-5 0
5 0
-2 2
2 2
Output
21
1025F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)