Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

18252
63436
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 0022.1 40228 20008 Accepted 100
1 1 5 0021.6 40228 20068 Accepted 100
2 2 4 5 0022.2 40228 20028 Accepted 100
3 2 4 5 0021.0 40228 20076 Accepted 100
4 2 4 5 0026.0 40492 20632 Accepted 100
5 2 4 5 0024.5 40228 20216 Accepted 100
6 2 4 5 0024.2 40360 20528 Accepted 100
7 2 4 5 0024.6 40228 20080 Accepted 100
8 2 4 5 0025.8 40492 20680 Accepted 100
9 2 4 5 0024.8 40360 20264 Accepted 100
10 2 4 5 0025.1 40360 20188 Accepted 100
11 2 4 5 0025.4 40492 20612 Accepted 100
12 2 4 5 0023.9 40360 20424 Accepted 100
13 2 4 5 0025.9 40492 20620 Accepted 100
14 2 4 5 0024.7 40492 20672 Accepted 100
15 2 4 5 0023.6 40228 20140 Accepted 100
16 2 4 5 0024.5 40500 20692 Accepted 100
17 2 4 5 0025.8 40492 20636 Accepted 100
18 2 4 5 0025.7 40496 20668 Accepted 100
19 2 4 5 0025.4 40492 20724 Accepted 100
20 2 4 5 0026.2 40492 20556 Accepted 100
21 2 4 5 0025.6 40492 20716 Accepted 100
22 2 4 5 0021.1 40228 20148 Accepted 100
23 2 4 5 0025.0 40360 20420 Accepted 100
24 2 4 5 0025.4 40360 20408 Accepted 100
25 2 4 5 0025.8 40228 20192 Accepted 100
26 3 5 0351.3 55408 49892 Accepted 100
27 3 5 0340.6 59104 55776 Accepted 100
28 3 5 0284.5 58972 55028 Accepted 100
29 3 5 0274.7 55276 48720 Accepted 100
30 3 5 0289.6 58972 55024 Accepted 100
31 3 5 0296.7 66504 62296 Accepted 100
32 3 5 0288.2 64936 60724 Accepted 100
33 3 5 0153.9 40360 23608 Accepted 100
34 3 5 0335.2 55408 49868 Accepted 100
35 3 5 0343.0 55540 50120 Accepted 100
36 3 5 0350.0 55408 49956 Accepted 100
37 3 5 0261.7 60952 56996 Accepted 100
38 3 5 0270.6 60820 57064 Accepted 100
39 3 5 0107.0 41152 23520 Accepted 100
40 3 5 0217.5 44584 31060 Accepted 100
41 3 5 0168.7 41020 24996 Accepted 100
42 3 5 0389.8 59368 56760 Accepted 100
43 3 5 0244.2 60736 56500 Accepted 100
44 3 5 0322.2 58972 55124 Accepted 100
45 3 5 0282.3 60820 57064 Accepted 100
46 3 5 0129.9 40360 22940 Accepted 100
47 3 5 0246.6 55936 49116 Accepted 100
48 3 5 0298.1 56040 49856 Accepted 100
49 3 5 0181.8 41680 26088 Accepted 100
50 3 5 0323.1 56020 49964 Accepted 100
51 4 5 0154.7 52768 43232 Accepted 100
52 4 5 0112.9 44320 28524 Accepted 100
53 4 5 0104.8 44452 28476 Accepted 100
54 4 5 0070.5 40360 21380 Accepted 100
55 4 5 0074.3 40492 21656 Accepted 100
56 4 5 0119.4 44980 29528 Accepted 100
57 4 5 0154.1 52636 43036 Accepted 100
58 4 5 0123.9 47224 32828 Accepted 100
59 4 5 0161.1 51448 41032 Accepted 100
60 4 5 0073.2 40360 21528 Accepted 100
61 4 5 0070.1 40360 21376 Accepted 100
62 4 5 0146.0 51184 39680 Accepted 100
63 4 5 0163.4 52768 43184 Accepted 100
64 4 5 0079.0 40624 21960 Accepted 100
65 4 5 0085.8 42208 24040 Accepted 100
66 4 5 0185.7 55336 45880 Accepted 100
67 4 5 0073.0 40360 21524 Accepted 100
68 4 5 0143.6 51388 39636 Accepted 100
69 4 5 0068.7 40228 21260 Accepted 100
70 4 5 0190.9 57248 47824 Accepted 100
71 4 5 0078.8 41548 23536 Accepted 100
72 4 5 0080.5 41416 23408 Accepted 100
73 4 5 0148.7 53692 44088 Accepted 100
74 4 5 0071.4 40360 21420 Accepted 100
75 4 5 0060.3 40360 21180 Accepted 100
76 4 5 0121.0 51184 39312 Accepted 100
77 4 5 0092.2 43000 25848 Accepted 100
78 5 0412.0 59104 56456 Accepted 100
79 5 0337.7 58972 55400 Accepted 100
80 5 0184.3 40756 24588 Accepted 100
81 5 0174.3 40360 23660 Accepted 100
82 5 0255.3 58708 54100 Accepted 100
83 5 0293.6 47884 36976 Accepted 100
84 5 0265.6 50128 40336 Accepted 100
85 5 0169.2 40756 24100 Accepted 100
86 5 0187.1 40888 24924 Accepted 100
87 5 0166.2 40360 23720 Accepted 100
88 5 0167.0 40360 23672 Accepted 100
89 5 0324.1 56996 51596 Accepted 100
90 5 0400.3 55276 49920 Accepted 100
91 5 0171.7 40624 24152 Accepted 100
92 5 0172.3 40360 23652 Accepted 100
93 5 0298.1 65276 61000 Accepted 100
94 5 0313.4 67688 63436 Accepted 100
95 5 0292.3 50860 40260 Accepted 100
96 5 0263.7 45600 32296 Accepted 100
97 5 0168.7 40360 23776 Accepted 100
98 5 0380.0 61612 59068 Accepted 100
99 5 0347.0 61116 58208 Accepted 100
100 5 0204.1 41984 26176 Accepted 100
101 5 0425.1 59104 56648 Accepted 100
102 5 0427.8 59104 56508 Accepted 100
103 5 0195.3 40756 24388 Accepted 100
104 5 0244.4 47488 35836 Accepted 100
105 5 0197.2 41548 25864 Accepted 100
106 5 0268.5 54952 47192 Accepted 100
107 5 0151.0 40756 23628 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.86 KB
Back to Top