QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#107209#6394. Turn on the LightMaMengQiWA 2ms3788kbC++23653b2023-05-20 15:59:582023-05-20 16:00:01

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 2ms
memory: 3604kb

input:

3
1
2
2

output:

? 1
? 2
? 3
! 3

result:

ok Correct position at 3

Test #2:

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

input:

10
1
2
3
4
4

output:

? 5
? 8
? 9
? 10
? 10
! 10

result:

wrong answer Wrong answer, more than 1 possible light!