QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#480516#6303. Inversionucup-team968#RE 1ms3788kbC++2058.3kb2024-07-16 16:18:002024-07-16 16:18:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1
0
0

output:

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

result:

ok OK, guesses=3

Test #2:

score: -100
Runtime Error

input:

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

output:

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

result: