cf/mirror

Too Many Impostors (hard version)

CF
1617D22400· grandmaster3s256 MB⇄ interactive

Examples

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