QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#95414#6305. Chinese CheckerwaifuSenpaiWA 5ms7552kbC++174.6kb2023-04-09 16:58:402023-04-09 16:58:42

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 3ms
memory: 7464kb

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: 7552kb

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:

217
319
153
376
225
134
166
50
225
84
1
84
106
33
13
145
297
273
15
210
54
171
206
21
105
245
165
331
91
97
104
272
31
6
124
180
325
322
56
177
179
50
17
62
81
210
39
150
219
118
193
319
0
125
38
23
23
11
40
180
158
33
320
194
286
9
50
0
249
108
135
220
6
273
87
113
41
204
31
22
255
265
5
184
102
1
...

result:

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