cf/mirror

Bowser's Castle (Hard Version)

CF
2207H38s256 MB⇄ interactive

Examples

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