QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#300979#6303. Inversionucup-team874#RE 1ms3608kbC++201.9kb2024-01-09 09:14:582024-01-09 09:14:58

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
0
0
1

output:

? 1 2
? 1 3
? 2 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
1
0
1
0
0
0
1
0
0
0
1
0
0
0
1
1
0
0
0
0
0
1
0
0
0
1
0
1
1
0
0
0
0
1
0
1
1
0
0
0
1
1
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
0
0
0
1
0
1
1
1
1
0
1
0
0
0
0
0
0
1
0
1
1
0
0
0
1
0
0
1
1
1
0
1
0
1
0
0
1
0
0
0
0
0
0
1
0
0
1
1
1
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
0
1
0
1...

output:

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

result: