Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

12977
51848
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 0018.4 39624 15728 Accepted 100
1 1 5 0017.5 39624 15660 Accepted 100
2 2 4 5 0017.7 39624 15800 Accepted 100
3 2 4 5 0017.6 39624 15740 Accepted 100
4 2 4 5 0021.3 39888 16580 Accepted 100
5 2 4 5 0019.8 39624 15932 Accepted 100
6 2 4 5 0020.1 39756 16348 Accepted 100
7 2 4 5 0018.5 39624 15840 Accepted 100
8 2 4 5 0020.8 39888 16400 Accepted 100
9 2 4 5 0019.1 39756 16008 Accepted 100
10 2 4 5 0020.8 39756 15960 Accepted 100
11 2 4 5 0019.9 39888 16292 Accepted 100
12 2 4 5 0019.0 39756 16128 Accepted 100
13 2 4 5 0020.4 39888 16388 Accepted 100
14 2 4 5 0019.5 39888 16332 Accepted 100
15 2 4 5 0019.0 39624 15904 Accepted 100
16 2 4 5 0019.5 39888 16556 Accepted 100
17 2 4 5 0020.7 39888 16376 Accepted 100
18 2 4 5 0020.9 39888 16352 Accepted 100
19 2 4 5 0020.5 39888 16408 Accepted 100
20 2 4 5 0020.7 39888 16552 Accepted 100
21 2 4 5 0019.9 39888 16416 Accepted 100
22 2 4 5 0018.3 39624 15784 Accepted 100
23 2 4 5 0019.9 39756 16204 Accepted 100
24 2 4 5 0020.2 39756 16292 Accepted 100
25 2 4 5 0019.0 39756 16156 Accepted 100
26 3 5 0250.8 50976 44328 Accepted 100
27 3 5 0259.0 53748 49728 Accepted 100
28 3 5 0216.9 53748 49008 Accepted 100
29 3 5 0210.2 50844 43232 Accepted 100
30 3 5 0219.9 53748 49044 Accepted 100
31 3 5 0241.9 56392 51452 Accepted 100
32 3 5 0229.7 55820 50820 Accepted 100
33 3 5 0095.7 39756 19452 Accepted 100
34 3 5 0241.6 50976 44112 Accepted 100
35 3 5 0246.9 50976 44352 Accepted 100
36 3 5 0246.0 50976 44332 Accepted 100
37 3 5 0193.7 55068 50460 Accepted 100
38 3 5 0200.3 54936 50536 Accepted 100
39 3 5 0068.3 40416 19360 Accepted 100
40 3 5 0141.1 42924 26548 Accepted 100
41 3 5 0105.4 40284 20628 Accepted 100
42 3 5 0287.7 53880 50676 Accepted 100
43 3 5 0177.3 54888 50108 Accepted 100
44 3 5 0240.1 53748 49168 Accepted 100
45 3 5 0206.3 54936 50560 Accepted 100
46 3 5 0080.9 39756 18964 Accepted 100
47 3 5 0183.8 51372 43316 Accepted 100
48 3 5 0220.8 51392 44096 Accepted 100
49 3 5 0113.3 40812 21848 Accepted 100
50 3 5 0231.0 51440 44688 Accepted 100
51 4 5 0121.2 48996 37740 Accepted 100
52 4 5 0080.5 42792 23868 Accepted 100
53 4 5 0074.4 42792 23996 Accepted 100
54 4 5 0045.0 39756 17236 Accepted 100
55 4 5 0046.9 39888 17524 Accepted 100
56 4 5 0084.6 43188 24960 Accepted 100
57 4 5 0114.3 48996 37584 Accepted 100
58 4 5 0087.7 44772 27832 Accepted 100
59 4 5 0123.0 48072 35764 Accepted 100
60 4 5 0045.2 39756 17268 Accepted 100
61 4 5 0046.5 39756 17060 Accepted 100
62 4 5 0106.2 47808 34048 Accepted 100
63 4 5 0115.9 48996 37840 Accepted 100
64 4 5 0053.8 40020 17784 Accepted 100
65 4 5 0059.5 41128 20168 Accepted 100
66 4 5 0134.4 49896 38936 Accepted 100
67 4 5 0044.4 39756 17384 Accepted 100
68 4 5 0099.3 48024 34104 Accepted 100
69 4 5 0043.7 39624 17028 Accepted 100
70 4 5 0145.5 50580 39452 Accepted 100
71 4 5 0053.5 40680 19208 Accepted 100
72 4 5 0051.4 40548 19032 Accepted 100
73 4 5 0110.5 49524 38172 Accepted 100
74 4 5 0043.7 39756 17264 Accepted 100
75 4 5 0039.7 39756 16908 Accepted 100
76 4 5 0084.3 47808 33920 Accepted 100
77 4 5 0063.5 41604 21464 Accepted 100
78 5 0311.8 53748 50356 Accepted 100
79 5 0255.0 53748 49360 Accepted 100
80 5 0113.0 40020 20292 Accepted 100
81 5 0100.5 39756 19500 Accepted 100
82 5 0183.5 53484 48104 Accepted 100
83 5 0203.4 45300 31916 Accepted 100
84 5 0190.4 47016 35292 Accepted 100
85 5 0098.8 40020 19868 Accepted 100
86 5 0114.8 40152 20572 Accepted 100
87 5 0102.7 39756 19408 Accepted 100
88 5 0098.9 39756 19624 Accepted 100
89 5 0239.1 52032 45468 Accepted 100
90 5 0293.2 50844 44436 Accepted 100
91 5 0106.3 39888 20032 Accepted 100
92 5 0096.7 39756 19612 Accepted 100
93 5 0236.1 55948 51044 Accepted 100
94 5 0246.0 56816 51848 Accepted 100
95 5 0201.5 47516 35048 Accepted 100
96 5 0169.7 43212 26972 Accepted 100
97 5 0104.0 39756 19492 Accepted 100
98 5 0260.2 54936 51728 Accepted 100
99 5 0254.8 55240 51760 Accepted 100
100 5 0135.4 40956 21976 Accepted 100
101 5 0314.6 53748 50576 Accepted 100
102 5 0316.0 53616 50280 Accepted 100
103 5 0114.4 40020 20152 Accepted 100
104 5 0162.8 45036 30716 Accepted 100
105 5 0131.4 40680 21464 Accepted 100
106 5 0187.7 50476 41816 Accepted 100
107 5 0098.3 40020 19624 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.95 KB
Back to Top