QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#464336#6303. Inversionegypt_ioi2024b_05RE 0ms3796kbC++201.5kb2024-07-06 01:08:562024-07-06 01:08:56

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 0ms
memory: 3796kb

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
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
1
1
1
0
1
0
1
0
0
0
0
0
0
0
0
1
1
1
1
0
0
0
0
0
1
0
0
1
0
1
0
1
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
1
1
1
0
1
1
1
0
0
1
0
1
0
1
1
0
0
0
0
0
0
1
0
0
1
1
0
1
1
0
1
1
1
1
1
0
0
0
0
0
1
0
1
1
1
0
1
1
0
1
1
1
1
0
1
0
1
1
1
1
0
0
0
1
0
0
0
1
1
0
1
1
1
0
0
0
1...

output:

? 1 2
? 1 3
? 2 3
? 1 4
? 2 4
? 3 4
? 1 5
? 2 5
? 5 6
? 4 6
? 4 5
? 3 6
? 3 5
? 2 6
? 1 6
? 5 7
? 6 7
? 8 9
? 9 10
? 10 11
? 8 11
? 9 11
? 8 10
? 10 12
? 11 12
? 8 12
? 9 12
? 10 13
? 11 13
? 8 13
? 9 13
? 10 14
? 11 14
? 13 14
? 8 14
? 9 14
? 12 14
? 12 13
? 15 16
? 15 17
? 16 17
? 17 18
? 16 18
? ...

result: