QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#380803#6394. Turn on the LightHuangHanShengWA 1ms3692kbC++17373b2024-04-07 12:37:172024-04-07 12:37:18

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1
2
2
2

output:

? 1
? 2
? 3
? 3
! 3

result:

ok Correct position at 3

Test #2:

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

input:

10
1
2
3
4
5
5
5
5

output:

? 1
? 5
? 6
? 8
? 9
? 9
? 10
? 10
! 10

result:

ok Correct position at 10

Test #3:

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

input:

9
1
2
3
4
5
5
5
5

output:

? 1
? 5
? 6
? 7
? 8
? 8
? 9
? 9
! 9

result:

ok Correct position at 9

Test #4:

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

input:

8
1
2
3
4
5
5
5
5

output:

? 1
? 4
? 5
? 6
? 7
? 7
? 8
? 8
! 8

result:

ok Correct position at 8

Test #5:

score: -100
Wrong Answer
time: 1ms
memory: 3600kb

input:

7
1
2
3
3
2
2

output:

? 1
? 4
? 5
? 6
? 7
? 7
! 7

result:

wrong answer Wrong favorite light!