cf/mirror

Asesino (Easy Version)

CF
2022D11900· candidate master2.5s256 MB⇄ interactive

Examples

Sample 1of 1
Input
2
7
 
1
 
0
 
0
 
1
 
1
 
0
 
0
 
1
 
4
 
0
 
1
 
1
 
1
Output
? 1 3
 
? 7 6
 
? 2 5
 
? 6 2
 
? 4 5
 
? 4 6
 
? 1 4
 
? 2 4
 
! 4
 
? 1 2
 
? 2 3
 
? 3 4
 
? 4 1
 
! 3
2022D1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)