cf/mirror

Another Problem About Dividing Numbers

CF
1538D1700· expert2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
8
36 48 2
36 48 3
36 48 4
2 8 1
2 8 2
1000000000 1000000000 1000000000
1 2 1
2 2 1
Output
YES
YES
YES
YES
YES
NO
YES
NO
1538D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)