QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#183298#6394. Turn on the Lightucup-team1052#WA 1ms3684kbC++17701b2023-09-19 13:17:532023-09-19 13:17:53

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1
2
2

output:

? 1
? 2
? 3
! 3

result:

ok Correct position at 3

Test #2:

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

input:

10
1
0
1
2
3
3

output:

? 3
? 8
? 4
? 5
? 6
? 7
! 7

result:

ok Correct position at 7

Test #3:

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

input:

9
1
2
3
4
5
5

output:

? 2
? 5
? 1
? 6
? 7
? 8
! 8

result:

ok Correct position at 8

Test #4:

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

input:

8
1
2
3
4
5
5

output:

? 2
? 5
? 1
? 6
? 7
? 8
! 8

result:

ok Correct position at 8

Test #5:

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

input:

7
1
2
3
3
2

output:

? 2
? 5
? 1
? 6
? 7
! 0

result:

wrong answer Integer parameter [name=x] equals to 0, violates the range [1, 7]