cf/mirror

Game with modulo

CF
1103B2000· candidate master1s256 MB⇄ interactive

Examples

Sample 1of 1
Input
start
x
x
start
x
x
y
start
x
x
y
y
end
Output
? 0 0
? 10 1
! 1
? 0 0
? 3 4
? 2 5
! 2
? 2 4
? 2 5
? 3 10
? 9 1
! 3
1103B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)