QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#884673#9734. Identify ChordHuluoboWA 2ms3584kbC++141.8kb2025-02-06 10:01:402025-02-06 10:01:41

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

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

output:

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

result:

ok ok (2 test cases)

Test #2:

score: -100
Wrong Answer
time: 2ms
memory: 3584kb

input:

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

output:

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

result:

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