cf/mirror

Vasilije in Cacak

CF
1878C900· newbie1s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 1
Input
12
5 3 10
5 3 3
10 10 55
6 5 20
2 1 26
187856 87856 2609202300
200000 190000 19000000000
28 5 2004
2 2 2006
9 6 40
47202 32455 613407217
185977 145541 15770805980
Output
YES
NO
YES
YES
NO
NO
YES
NO
NO
NO
YES
YES
1878C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)