QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#748483#6394. Turn on the Lightucup-team5490WA 1ms3716kbC++201.0kb2024-11-14 20:31:102024-11-14 20:31:11

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1
2
2

output:

? 1
? 2
? 2
! 3

result:

ok Correct position at 3

Test #2:

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

input:

10
1
0
0
1
0
0

output:

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

result:

ok Correct position at 3

Test #3:

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

input:

9
1
2
2
3
3
3

output:

? 1
? 5
? 5
? 7
? 7
? 8
! 8

result:

ok Correct position at 8

Test #4:

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

input:

8
1
0
0
1
2
2

output:

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

result:

ok Correct position at 4

Test #5:

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

input:

7
1
2
2
1
1

output:

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

result:

ok Correct position at 5

Test #6:

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

input:

6
1
0
0
0

output:

? 1
? 4
? 4
? 2
! 0

result:

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