cf/mirror

MAD Interactive Problem

CF
2159A1700· expert2s256 MB⇄ interactive

Examples

Sample 1of 1
Input
2
2
 
2
 
0
 
1
 
2
 
0
 
1
 
1
Output
? 2 2 1
 
? 2 1 3
 
? 3 1 3 4
 
! 2 2 1 1
 
? 2 1 2
 
? 2 1 3
 
? 3 1 3 4
 
! 1 2 1 2
2159A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)