QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#795185#9734. Identify Chorducup-team5248#WA 1ms3536kbC++203.2kb2024-11-30 18:26:132024-11-30 18:26:14

详细

Test #1:

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

input:

2
6
2
2
2
1
1
4
1
1

output:

? 1 3
? 1 4
? 1 5
? 2 4
! 2 4
? 1 3
! 1 3

result:

ok ok (2 test cases)

Test #2:

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

input:

1000
15
5
6
4
5
6
6
5
1
19
5
4
5
4
3
2
1
1
17
5
4
5
3
4
2
1
1
15
6
7
6
3
2
2
6
7
1
14
5
6
2
2
3
5
3
1
15
3
2
4
3
2
1
1
17
8
2
1
-1

output:

? 1 8
? 1 9
? 1 5
? 1 6
? 1 7
? 8 15
? 8 1
! 8 5
? 1 10
? 1 11
? 1 15
? 1 13
? 1 12
? 12 2
? 12 3
! 12 3
? 1 9
? 1 10
? 1 13
? 1 11
? 1 12
? 11 2
? 11 3
! 11 3
? 1 8
? 4 11
? 4 12
? 4 15
? 4 1
? 4 2
? 1 8
? 1 9
! 1 3
? 1 8
? 1 9
? 1 5
? 1 3
? 1 4
? 5 12
? 5 8
! 5 2
? 1 8
? 1 9
? 1 12
? 1 10
? 9 1
? ...

result:

wrong answer Wrong answer n=17, actual=5-14, guessed=5-13 (test case 7)