cf/mirror

Blackslex and Penguin Migration

CF
2179G2200· master5s256 MB⇄ interactive

Examples

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