cf/mirror

Points and Segments (easy)

CF
430A1600· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
3 3
3 7 14
1 5
6 10
11 15
Output
0 0 0
Sample 2of 2
Input
3 4
1 2 3
1 2
2 3
5 6
2 2
Output
1 0 1
430A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)