cf/mirror

Seek the Truth

CF
2222E2000· candidate master4s256 MB⇄ interactive

Examples

Sample 1of 1
Input
3
2
 
 
1
 
2
 
 
2
 
1
 
2
 
2
 
3
 
2
 
 
2
 
2
 
2
Output
3
I 3
 
A 1 3
 
1
I 0
 
Q 2
 
Q 1
 
Q 0
 
I 3
 
A 2 2
 
1
I 1
 
I 0
 
A 3 1
2222E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)