QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#107251#6394. Turn on the LightZhaoZiLongWA 2ms3460kbC++171.8kb2023-05-20 16:29:302023-05-20 16:29:34

詳細信息

Test #1:

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

input:

3
1
2
2

output:

? 2
? 1
? 3
! 3

result:

ok Correct position at 3

Test #2:

score: 0
Accepted
time: 2ms
memory: 3396kb

input:

10
1
2
3
4
5
5

output:

? 5
? 2
? 8
? 1
? 9
? 10
! 10

result:

ok Correct position at 10

Test #3:

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

input:

9
1
2
3
4
5
5

output:

? 5
? 2
? 7
? 1
? 8
? 9
! 9

result:

ok Correct position at 9

Test #4:

score: 0
Accepted
time: 2ms
memory: 3396kb

input:

8
1
2
3
4
5
5

output:

? 4
? 2
? 6
? 1
? 7
? 8
! 8

result:

ok Correct position at 8

Test #5:

score: 0
Accepted
time: 2ms
memory: 3340kb

input:

7
1
2
3
3

output:

? 4
? 2
? 6
? 1
! 1

result:

ok Correct position at 1

Test #6:

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

input:

6
1
2
3
3

output:

? 3
? 1
? 5
? 6
! 6

result:

ok Correct position at 6

Test #7:

score: 0
Accepted
time: 2ms
memory: 3456kb

input:

5
1
2
3
3

output:

? 3
? 1
? 4
? 5
! 5

result:

ok Correct position at 5

Test #8:

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

input:

4
1
2
3
3

output:

? 2
? 1
? 3
? 4
! 4

result:

ok Correct position at 4

Test #9:

score: 0
Accepted
time: 2ms
memory: 3308kb

input:

3
1
1

output:

? 2
? 1
! 1

result:

ok Correct position at 1

Test #10:

score: -100
Wrong Answer
time: 2ms
memory: 3344kb

input:

2
1

output:

? 1
? 0

result:

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