QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#613195#6394. Turn on the LightGuanYunchangWA 1ms3688kbC++17588b2024-10-05 13:43:482024-10-05 13:43:50

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

3
1
2
2

output:

? 1
? 2
? 3
! 3

result:

ok Correct position at 3

Test #2:

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

input:

10
1
2
3
2
3
3

output:

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

result:

ok Correct position at 6

Test #3:

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

input:

9
1
2
3
2
3
3

output:

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

result:

ok Correct position at 6

Test #4:

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

input:

8
1
2
3
2
3
3

output:

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

result:

ok Correct position at 6

Test #5:

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

input:

7
1
2
3
4
5

output:

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

result:

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