QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#364441#6394. Turn on the LightMaMengQiWA 1ms3796kbC++201.1kb2024-03-24 14:31:512024-03-24 14:31:52

详细

Test #1:

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

input:

3
1
1

output:

? 2
? 3
! 3

result:

ok Correct position at 3

Test #2:

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

input:

10
1
0
1
0
0

output:

? 5
? 10
? 7
? 9
? 8
! 8

result:

ok Correct position at 8

Test #3:

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

input:

9
1
2
1
2
1
2

output:

? 5
? 9
? 2
? 8
? 1
? 7
? 0

result:

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