QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#439909#6303. Inversionyoy68TL 0ms19660kbC++171.2kb2024-06-12 20:30:452024-06-12 20:30:46

詳細信息

Test #1:

score: 100
Accepted
time: 0ms
memory: 19660kb

input:

3
0
1
0

output:

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

result:

ok OK, guesses=3

Test #2:

score: -100
Time Limit Exceeded

input:

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

output:

? 2 996
? 3 997
? 3 996
? 2 997
? 2 1992
? 3 1993
? 3 1992
? 2 1993
? 1 2
? 2 3
? 2 1991
? 3 1991
? 3 4
? 2 4
? 2 1990
? 3 1990
? 3 5
? 2 5
? 3 6
? 2 6
? 3 7
? 2 7
? 3 8
? 2 8
? 2 1989
? 3 1989
? 3 9
? 2 9
? 3 10
? 2 10
? 3 11
? 2 11
? 3 12
? 2 12
? 2 1988
? 3 1988
? 3 13
? 2 13
? 2 1987
? 3 1987
? ...

result: