cf/mirror

Kachina's Favorite Binary String

CF
2037E1600· expert2s256 MB⇄ interactive

Examples

Sample 1of 1
Input
2
5
 
4
 
0
 
1
 
2
 
2
 
0
Output
? 1 5
 
? 2 4
 
? 4 5
 
? 3 5
 
! 01001
 
? 1 2
 
! IMPOSSIBLE
2037E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)