QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#364290#6394. Turn on the LightMaMengQiWA 1ms3708kbC++17834b2024-03-24 13:30:332024-03-24 13:30:34

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1
2
2

output:

? 2
? 1
? 3
! 3

result:

ok Correct position at 3

Test #2:

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

input:

10
1
2
3
4
5
5
5

output:

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

result:

ok Correct position at 10

Test #3:

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

input:

9
1
2
3
4
5
5
5

output:

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

result:

ok Correct position at 9

Test #4:

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

input:

8
1
2
3
4
5
5
5

output:

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

result:

ok Correct position at 8

Test #5:

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

input:

7
1
2
3
4
4

output:

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

result:

ok Correct position at 7

Test #6:

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

input:

6
1
2
3
4
4

output:

? 3
? 1
? 5
? 4
? 6
! 6

result:

ok Correct position at 6

Test #7:

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

input:

5
1
2
3
3
3

output:

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

result:

ok Correct position at 5

Test #8:

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

input:

4
1
2
3
3
3

output:

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

result:

ok Correct position at 4

Test #9:

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

input:

3
1
1
2
2
2

output:

? 2
? 1
? 3
? 3
? 3
! 3

result:

wrong answer Wrong favorite light!