cf/mirror

Dice Tower

CF
225A1100· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
3
6
3 2
5 4
2 4
Output
YES
Sample 2of 2
Input
3
3
2 6
4 1
5 3
Output
NO
225A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)