cf/mirror

NPC Challenge

CF
2245G4s256 MB⇄ interactive

Examples

Sample 1of 1
Input
2
2
 
10
 
 
5
 
101
 
10101
Output
? 2 1 2
 
!
2 1
 
? 3 1 2 5
 
? 5 5 3 4 2 1
 
!
3 5
1 2
3 2
2 4
2245G.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)