Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

27242
95260
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資 0 / 0
2 2~25 $n \leq 2500, m \leq 5000$ 17 / 17
3 26~50 $c_i = 1$ 20 / 20
4 2~25, 51~77 $n \leq 100000, m \leq 100000$ 42 / 42
5 0~107 無其他限制 21 / 21

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 5 0073.1 78572 41040 Accepted 100
1 1 5 0073.9 78572 41152 Accepted 100
2 2 4 5 0071.8 78572 41008 Accepted 100
3 2 4 5 0072.5 78572 41220 Accepted 100
4 2 4 5 0076.4 78992 41820 Accepted 100
5 2 4 5 0076.7 78872 41436 Accepted 100
6 2 4 5 0081.4 78856 41844 Accepted 100
7 2 4 5 0079.3 78892 41332 Accepted 100
8 2 4 5 0081.1 78988 41968 Accepted 100
9 2 4 5 0082.0 79012 41516 Accepted 100
10 2 4 5 0078.4 79016 41640 Accepted 100
11 2 4 5 0091.1 79184 41896 Accepted 100
12 2 4 5 0075.4 78704 41596 Accepted 100
13 2 4 5 0081.4 78988 41884 Accepted 100
14 2 4 5 0076.4 78824 41752 Accepted 100
15 2 4 5 0076.2 78864 41272 Accepted 100
16 2 4 5 0079.0 78704 41824 Accepted 100
17 2 4 5 0079.5 79004 41996 Accepted 100
18 2 4 5 0079.0 79228 41936 Accepted 100
19 2 4 5 0080.1 79216 41932 Accepted 100
20 2 4 5 0079.8 79000 41888 Accepted 100
21 2 4 5 0078.8 78992 41988 Accepted 100
22 2 4 5 0075.0 78572 41260 Accepted 100
23 2 4 5 0078.6 78996 41900 Accepted 100
24 2 4 5 0079.1 79152 41764 Accepted 100
25 2 4 5 0076.7 79028 41512 Accepted 100
26 3 5 0521.2 102012 83492 Accepted 100
27 3 5 0454.6 96924 84612 Accepted 100
28 3 5 0360.9 93632 81372 Accepted 100
29 3 5 0373.2 94424 77104 Accepted 100
30 3 5 0368.1 93524 81428 Accepted 100
31 3 5 0382.7 97896 86216 Accepted 100
32 3 5 0372.2 95628 83684 Accepted 100
33 3 5 0295.5 96924 57896 Accepted 100
34 3 5 0510.9 104392 84660 Accepted 100
35 3 5 0522.0 101848 83824 Accepted 100
36 3 5 0524.5 102224 83232 Accepted 100
37 3 5 0313.6 95132 82632 Accepted 100
38 3 5 0343.8 97268 84176 Accepted 100
39 3 5 0184.8 91052 52960 Accepted 100
40 3 5 0369.0 102972 68636 Accepted 100
41 3 5 0272.0 100984 62696 Accepted 100
42 3 5 0535.2 103088 89944 Accepted 100
43 3 5 0419.7 96504 83788 Accepted 100
44 3 5 0410.4 95756 83440 Accepted 100
45 3 5 0350.7 95320 83168 Accepted 100
46 3 5 0203.5 94256 55640 Accepted 100
47 3 5 0322.8 94828 76692 Accepted 100
48 3 5 0358.8 102556 84292 Accepted 100
49 3 5 0299.0 102700 62596 Accepted 100
50 3 5 0426.4 105008 85236 Accepted 100
51 4 5 0254.1 86980 66468 Accepted 100
52 4 5 0191.7 86508 54008 Accepted 100
53 4 5 0181.7 85724 53372 Accepted 100
54 4 5 0136.7 87164 48896 Accepted 100
55 4 5 0144.1 86000 47404 Accepted 100
56 4 5 0196.9 86244 54540 Accepted 100
57 4 5 0214.1 86840 66140 Accepted 100
58 4 5 0179.3 88748 58480 Accepted 100
59 4 5 0232.6 86956 64776 Accepted 100
60 4 5 0139.8 87816 48688 Accepted 100
61 4 5 0135.0 85924 47472 Accepted 100
62 4 5 0195.5 88252 63348 Accepted 100
63 4 5 0225.9 86980 66576 Accepted 100
64 4 5 0143.7 90416 50828 Accepted 100
65 4 5 0135.9 91156 53152 Accepted 100
66 4 5 0255.1 89852 69268 Accepted 100
67 4 5 0137.3 85640 46772 Accepted 100
68 4 5 0187.8 87864 63004 Accepted 100
69 4 5 0132.4 84400 46180 Accepted 100
70 4 5 0262.1 90272 69904 Accepted 100
71 4 5 0134.0 87716 50544 Accepted 100
72 4 5 0146.5 86152 49324 Accepted 100
73 4 5 0199.3 86976 66408 Accepted 100
74 4 5 0139.3 85908 47524 Accepted 100
75 4 5 0122.6 84420 46464 Accepted 100
76 4 5 0174.9 85172 60968 Accepted 100
77 4 5 0148.3 86824 51564 Accepted 100
78 5 0559.6 100892 88184 Accepted 100
79 5 0450.4 96244 83420 Accepted 100
80 5 0283.1 103892 62332 Accepted 100
81 5 0280.9 96776 58416 Accepted 100
82 5 0321.8 91160 78776 Accepted 100
83 5 0472.8 100908 71252 Accepted 100
84 5 0400.2 96344 71444 Accepted 100
85 5 0277.1 100180 58536 Accepted 100
86 5 0279.5 98444 60224 Accepted 100
87 5 0246.2 101628 59872 Accepted 100
88 5 0267.6 108716 67640 Accepted 100
89 5 0399.9 111784 89496 Accepted 100
90 5 0557.7 102440 83868 Accepted 100
91 5 0296.2 123804 74276 Accepted 100
92 5 0268.3 98468 58112 Accepted 100
93 5 0362.3 96492 84880 Accepted 100
94 5 0363.2 97536 85724 Accepted 100
95 5 0325.2 110308 82524 Accepted 100
96 5 0401.9 106896 69060 Accepted 100
97 5 0244.5 99112 60308 Accepted 100
98 5 0467.9 108260 94224 Accepted 100
99 5 0406.6 113040 95260 Accepted 100
100 5 0307.9 124456 76580 Accepted 100
101 5 0572.4 100960 88324 Accepted 100
102 5 0553.1 100768 88340 Accepted 100
103 5 0300.5 101072 61076 Accepted 100
104 5 0380.0 100648 69588 Accepted 100
105 5 0336.1 123208 75204 Accepted 100
106 5 0334.7 101540 78484 Accepted 100
107 5 0249.2 102712 61644 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.43 KB
Back to Top