QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#425147#6303. Inversionegypt_ioi2024_11RE 1ms3836kbC++232.2kb2024-05-29 22:39:542024-05-29 22:39:55

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3836kb

input:

3
0
1
0

output:

? 1 2
? 2 3
? 1 3
! 2 3 1

result:

ok OK, guesses=3

Test #2:

score: -100
Runtime Error

input:

1993
1
1
0
0
0
1
0
0
0
1
1
0
0
1
1
0
1
1
1
1
0
0
1
1
0
1
0
0
1
1
1
1
0
1
1
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
0
0
0
1
0
1
1
0
1
0
1
0
1
1
0
0
1
1
0
0
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
0
0
1
0
0
1
1
0
1
1
1
1
0
1
0
1
0
0
1
1
1
1
1
1
0
1
1
1
0
0
1
1
0
0
0
0
1
1
0
0
1
1
0
0
0
1
1
0
1
1
1
1
0
1
1
0
0
1
0
0
1
0...

output:

? 1 1536
? 2 1536
? 1 1535
? 2 1535
? 3 1536
? 3 1535
? 4 1536
? 4 1535
? 5 1536
? 5 1535
? 6 1536
? 6 1535
? 7 1536
? 7 1535
? 8 1536
? 8 1535
? 9 1536
? 9 1535
? 10 1536
? 10 1535
? 11 1536
? 11 1535
? 12 1536
? 12 1535
? 13 1536
? 13 1535
? 14 1536
? 14 1535
? 15 1536
? 15 1535
? 16 1536
? 16 153...

result: