# Score

21568
51612
Accepted
100

Subtask no. Testdata Range Constraints Score
1 0~21 $n, m \leq 1000$ 25 / 25
2 0~63 no additional limits 75 / 75

# Testdata Results

Testdata no. Subtasks Time (ms) Memory (KiB) Verdict Score
0 1 2 12 17532 Accepted 100
1 1 2 16 17564 Accepted 100
2 1 2 12 17564 Accepted 100
3 1 2 12 17420 Accepted 100
4 1 2 12 17580 Accepted 100
5 1 2 12 17420 Accepted 100
6 1 2 12 17428 Accepted 100
7 1 2 12 17332 Accepted 100
8 1 2 16 17336 Accepted 100
9 1 2 12 17564 Accepted 100
10 1 2 12 17396 Accepted 100
11 1 2 12 17676 Accepted 100
12 1 2 20 17460 Accepted 100
13 1 2 12 17672 Accepted 100
14 1 2 16 17500 Accepted 100
15 1 2 16 17488 Accepted 100
16 1 2 16 17672 Accepted 100
17 1 2 20 17496 Accepted 100
18 1 2 16 17504 Accepted 100
19 1 2 16 17428 Accepted 100
20 1 2 16 17656 Accepted 100
21 1 2 16 17516 Accepted 100
22 2 392 39700 Accepted 100
23 2 308 35652 Accepted 100
24 2 424 39972 Accepted 100
25 2 308 35836 Accepted 100
26 2 316 35632 Accepted 100
27 2 308 36312 Accepted 100
28 2 308 36992 Accepted 100
29 2 280 36508 Accepted 100
30 2 244 32652 Accepted 100
31 2 364 37220 Accepted 100
32 2 376 38832 Accepted 100
33 2 356 35624 Accepted 100
34 2 228 31364 Accepted 100
35 2 392 39116 Accepted 100
36 2 436 40580 Accepted 100
37 2 412 40048 Accepted 100
38 2 380 39004 Accepted 100
39 2 340 38988 Accepted 100
40 2 304 37060 Accepted 100
41 2 324 35964 Accepted 100
42 2 600 45976 Accepted 100
43 2 708 48416 Accepted 100
44 2 540 43108 Accepted 100
45 2 612 46896 Accepted 100
46 2 620 46836 Accepted 100
47 2 712 46968 Accepted 100
48 2 472 39316 Accepted 100
49 2 652 46476 Accepted 100
50 2 788 48684 Accepted 100
51 2 752 50112 Accepted 100
52 2 808 48584 Accepted 100
53 2 676 51280 Accepted 100
54 2 784 51504 Accepted 100
55 2 776 50776 Accepted 100
56 2 660 47452 Accepted 100
57 2 720 47172 Accepted 100
58 2 624 45752 Accepted 100
59 2 644 46628 Accepted 100
60 2 752 49132 Accepted 100
61 2 740 51612 Accepted 100
62 2 624 49212 Accepted 100
63 2 188 50400 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
4.44 KB