QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#262621#6394. Turn on the Lightucup-team2478WA 1ms3948kbC++141.3kb2023-11-23 20:55:212023-11-23 20:55:21

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1
2
2

output:

? 1
? 2
? 3
! 3

result:

ok Correct position at 3

Test #2:

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

input:

10
1
2
1
2
2

output:

? 1
? 5
? 10
? 7
? 9
! 9

result:

ok Correct position at 9

Test #3:

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

input:

9
1
2
1
0
1
1

output:

? 1
? 5
? 9
? 7
? 2
? 6
! 6

result:

ok Correct position at 6

Test #4:

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

input:

8
1
2
1
0
1
1

output:

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

result:

ok Correct position at 5

Test #5:

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

input:

7
1
2
1
1

output:

? 1
? 4
? 7
? 5
! 5

result:

ok Correct position at 5

Test #6:

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

input:

6
1
2
1
1

output:

? 1
? 3
? 6
? 4
! 4

result:

ok Correct position at 4

Test #7:

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

input:

5
1
2
2

output:

? 1
? 3
? 5
! 5

result:

ok Correct position at 5

Test #8:

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

input:

4
1
2
2

output:

? 1
? 2
? 4
! 4

result:

ok Correct position at 4

Test #9:

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

input:

3
1
1

output:

? 1
? 2
! 2

result:

ok Correct position at 2

Test #10:

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

input:

2
1
1

output:

? 1
? 1
! 1

result:

wrong answer Wrong favorite light!