QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#488775#8819. CNOI KnowledgeBellaKiraWA 23ms3560kbC++141.9kb2024-07-24 15:15:342024-07-24 15:15:35

Details

Tip: Click on the bar to expand more detailed information

Test #1:

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

input:

12
3
6
10
15
21
27
10
20
15
34
14
6
9
43
52
19
9
5
2
62
19
8
5
72
25
9
19

output:

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

result:

ok Accepted. 27 queries used.

Test #2:

score: -100
Wrong Answer
time: 23ms
memory: 3504kb

input:

1000
3
5
2
7
3
2
11
5
7
16
8
5
21
7
3
2
27
11
5
7
34
11
5
8
41
15
8
11
48
15
7
11
57
19
4
3
2
66
17
4
3
2
75
20
5
3
2
84
15
5
3
2
96
23
9
13
11
108
23
11
5
8
124
31
15
7
5
3
140
36
16
8
5
156
45
15
7
3
2
172
48
15
7
5
3
188
58
21
8
5
2
208
59
21
8
5
3
229
69
21
8
5
2
251
69
20
8
5
3
273
79
24
12
5
2...

output:

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

result:

wrong answer Wrong Answer.