cf/mirror

Interview

CF
1807E1300· pupil2s256 MB⇄ interactive

Examples

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