Sofia and the Lost Operations
1980C1300· pupil2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
731 2 11 3 241 3 1 241 2 3 52 1 3 522 357 6 1 10 103 6 1 11 1134 3 1143 1 7 82 2 7 10510 3 2 2 155 7 1 7 94 10 1 2 981 1 9 8 7 2 10 441000000000 203 203 203203 1000000000 203 10000000002203 100000000011151 3 4 5 1
Output
YESNONONOYESNOYES
58%
1980C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)