cf/mirror

Too Easy Problems

CF
913D1800· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
5 300
3 100
4 150
4 80
2 90
2 300
Output
2
3
3 1 4
Sample 2of 3
Input
2 100
1 787
2 788
Output
0
0
Sample 3of 3
Input
2 100
2 42
2 58
Output
2
2
1 2
913D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)