cf/mirror

Salyg1n and Array (hard version)

CF
1867E22200· master1s256 MB⇄ interactive

Examples

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