QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#885618#9734. Identify ChordHuluoboWA 0ms3840kbC++141.3kb2025-02-06 16:39:212025-02-06 16:39:21

詳細信息

Test #1:

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

input:

2
6
2
2
2
2
1
1
1
1
4
1
1
1
1
1
1
1

output:

? 1 4
? 1 4
? 1 4
? 6 4
? 3 4
? 2 4
? 2 4
! 2 4
? 1 3
? 1 3
? 1 3
? 4 3
? 2 3
? 1 3
! 1 3

result:

ok ok (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 0ms
memory: 3840kb

input:

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

output:

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

result:

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