QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#183291#6394. Turn on the Lightucup-team1052#WA 1ms3608kbC++17702b2023-09-19 13:10:492023-09-19 13:10:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1
2
2

output:

? 1
? 2
? 3
! 3

result:

ok Correct position at 3

Test #2:

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

input:

10
1
2
3
4
5
6
6

output:

? 3
? 6
? 1
? 2
? 7
? 8
? 9
! 9

result:

ok Correct position at 9

Test #3:

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

input:

9
1
2
3
3
3

output:

? 2
? 4
? 1
? 1
? 2
! 2

result:

wrong answer Wrong answer, more than 1 possible light!