QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#383821#6394. Turn on the LightHuangHanShengWA 1ms3784kbC++201.1kb2024-04-09 17:50:352024-04-09 17:50:37

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1
2
2

output:

? 2
? 1
? 3
! 3

result:

ok Correct position at 3

Test #2:

score: 0
Accepted
time: 1ms
memory: 3484kb

input:

10
1
2
3
4
5
5

output:

? 5
? 3
? 2
? 1
? 8
? 9
! 9

result:

ok Correct position at 9

Test #3:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

9
1
2
3
4
5
5

output:

? 5
? 3
? 2
? 1
? 7
? 8
! 8

result:

ok Correct position at 8

Test #4:

score: 0
Accepted
time: 0ms
memory: 3596kb

input:

8
1
2
3
4
5
5

output:

? 4
? 2
? 1
? 6
? 7
? 8
! 8

result:

ok Correct position at 8

Test #5:

score: 0
Accepted
time: 1ms
memory: 3560kb

input:

7
1
2
3
2
2

output:

? 4
? 2
? 1
? 6
? 5
! 5

result:

ok Correct position at 5

Test #6:

score: 0
Accepted
time: 1ms
memory: 3632kb

input:

6
1
2
3
2
2

output:

? 3
? 2
? 1
? 5
? 4
! 4

result:

ok Correct position at 4

Test #7:

score: 0
Accepted
time: 0ms
memory: 3632kb

input:

5
1
2
3
3

output:

? 3
? 2
? 1
? 4
! 4

result:

ok Correct position at 4

Test #8:

score: 0
Accepted
time: 0ms
memory: 3564kb

input:

4
1
2
3
3

output:

? 2
? 1
? 3
? 4
! 4

result:

ok Correct position at 4

Test #9:

score: 0
Accepted
time: 0ms
memory: 3784kb

input:

3
1
1

output:

? 2
? 1
! 1

result:

ok Correct position at 1

Test #10:

score: -100
Wrong Answer
time: 0ms
memory: 3488kb

input:

2
1
1

output:

? 1
? 1
! 1

result:

wrong answer Wrong favorite light!