QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#271945#6303. InversionMaMengQiWA 64ms9416kbC++141.8kb2023-12-02 15:19:182023-12-02 15:19:19

詳細信息

Test #1:

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

input:

3
0
1
0

output:

? 1 2
? 2 3
? 1 3
! 2 3 1 

result:

ok OK, guesses=3

Test #2:

score: -100
Wrong Answer
time: 64ms
memory: 9416kb

input:

1993
1
1
0
1
0
1
1
1
1
0
0
0
0
1
0
1
1
1
1
0
1
0
1
1
0
1
1
1
0
1
0
0
1
0
0
0
1
0
1
0
0
0
0
1
0
1
0
0
0
1
1
1
0
1
0
1
1
1
0
1
1
1
0
1
0
0
0
0
0
1
0
0
0
1
0
1
0
0
0
1
1
1
1
0
1
1
1
0
0
0
0
1
0
1
1
1
1
0
1
1
1
0
1
1
0
0
1
0
1
0
0
0
1
0
0
0
0
1
1
0
1
0
0
0
0
0
0
1
1
1
0
1
0
1
0
0
0
1
1
1
1
0
0
0
1
0
0
0...

output:

? 1 997
? 2 997
? 1 996
? 2 996
? 3 997
? 3 996
? 4 997
? 4 996
? 5 997
? 5 996
? 6 997
? 6 996
? 7 997
? 7 996
? 8 997
? 8 996
? 9 997
? 9 996
? 10 997
? 10 996
? 11 997
? 11 996
? 12 997
? 12 996
? 13 997
? 13 996
? 14 997
? 14 996
? 15 997
? 15 996
? 16 997
? 16 996
? 17 997
? 17 996
? 18 997
? 1...

result:

wrong output format Unexpected end of file - int32 expected