QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#519158#6305. Chinese CheckerZhangYiDeWA 5ms3612kbC++201.7kb2024-08-14 16:50:372024-08-14 16:50:37

詳細信息

Test #1:

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

input:

5
1
1 1
2
1 1
2 1
2
9 4
9 6
10
1 1
2 1
2 2
3 1
3 2
3 3
4 1
4 2
4 3
4 4
10
1 1
2 1
2 2
5 7
3 2
3 3
4 1
4 2
4 3
4 4

output:

0
1
2
6
13

result:

ok 5 number(s): "0 1 2 6 13"

Test #2:

score: -100
Wrong Answer
time: 5ms
memory: 3600kb

input:

100
81
1 1
16 1
11 4
13 8
12 3
12 12
11 1
4 2
9 5
8 10
5 5
9 7
3 2
14 1
7 11
13 7
10 2
8 3
9 8
10 6
12 10
6 7
11 2
7 3
13 12
8 6
17 1
10 5
5 12
13 9
13 1
9 4
5 10
11 8
13 4
5 4
9 1
7 8
5 6
13 13
5 1
9 3
8 8
8 5
13 2
13 5
11 3
9 2
6 4
3 3
8 2
13 11
8 7
5 7
6 10
11 9
10 3
11 10
6 3
7 1
4 4
15 2
7 2
3 ...

output:

235
437
221
573
428
294
171
61
356
111
1
147
115
65
25
158
435
335
23
248
93
198
310
29
113
270
336
540
196
98
315
300
38
7
124
217
475
302
72
185
287
75
23
169
95
194
45
170
351
141
213
308
0
125
123
55
35
18
66
215
182
39
501
175
227
17
65
0
260
121
115
436
13
381
94
141
89
470
82
29
523
395
7
220...

result:

wrong answer 1st numbers differ - expected: '190', found: '235'