cf/mirror

Guess the Root

CF
1155E2200· master2s256 MB⇄ interactive

Examples

Sample 1of 2
Input
1000002
 
0
Output
? 0
 
? 1
 
! 1
Sample 2of 2
Input
5
 
2
 
1
Output
? 2
 
? 1
 
? 0
 
! -1
1155E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)