Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

18350
63372
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.7 40228 19960 Accepted 100
1 1 5 0021.8 40228 20008 Accepted 100
2 2 4 5 0022.1 40228 19996 Accepted 100
3 2 4 5 0021.6 40228 20112 Accepted 100
4 2 4 5 0026.5 40492 20676 Accepted 100
5 2 4 5 0024.6 40228 20108 Accepted 100
6 2 4 5 0025.9 40360 20524 Accepted 100
7 2 4 5 0024.3 40228 20044 Accepted 100
8 2 4 5 0026.6 40492 20688 Accepted 100
9 2 4 5 0025.0 40360 20292 Accepted 100
10 2 4 5 0024.6 40360 20340 Accepted 100
11 2 4 5 0025.9 40492 20560 Accepted 100
12 2 4 5 0023.9 40360 20424 Accepted 100
13 2 4 5 0026.1 40492 20620 Accepted 100
14 2 4 5 0024.3 40492 20664 Accepted 100
15 2 4 5 0023.7 40228 20148 Accepted 100
16 2 4 5 0023.9 40500 20624 Accepted 100
17 2 4 5 0025.5 40492 20680 Accepted 100
18 2 4 5 0026.3 40496 20672 Accepted 100
19 2 4 5 0025.1 40492 20680 Accepted 100
20 2 4 5 0026.3 40492 20668 Accepted 100
21 2 4 5 0025.5 40492 20724 Accepted 100
22 2 4 5 0022.4 40228 20208 Accepted 100
23 2 4 5 0025.2 40360 20528 Accepted 100
24 2 4 5 0025.1 40360 20368 Accepted 100
25 2 4 5 0023.4 40228 20264 Accepted 100
26 3 5 0357.3 55408 50052 Accepted 100
27 3 5 0343.0 59104 55824 Accepted 100
28 3 5 0288.7 58972 54948 Accepted 100
29 3 5 0276.8 55276 48824 Accepted 100
30 3 5 0300.9 58972 55012 Accepted 100
31 3 5 0310.5 66504 62216 Accepted 100
32 3 5 0298.5 64928 60636 Accepted 100
33 3 5 0150.9 40360 23828 Accepted 100
34 3 5 0336.5 55408 49784 Accepted 100
35 3 5 0340.2 55408 50056 Accepted 100
36 3 5 0343.2 55408 49932 Accepted 100
37 3 5 0263.1 60952 57016 Accepted 100
38 3 5 0271.3 60820 56984 Accepted 100
39 3 5 0106.4 41152 23516 Accepted 100
40 3 5 0215.8 44584 31068 Accepted 100
41 3 5 0167.5 41020 24968 Accepted 100
42 3 5 0389.7 59236 56712 Accepted 100
43 3 5 0243.2 60736 56488 Accepted 100
44 3 5 0322.2 58972 55204 Accepted 100
45 3 5 0282.6 60820 57056 Accepted 100
46 3 5 0127.5 40360 23040 Accepted 100
47 3 5 0246.4 55936 49256 Accepted 100
48 3 5 0301.1 56040 49928 Accepted 100
49 3 5 0184.1 41680 26152 Accepted 100
50 3 5 0325.1 56004 50008 Accepted 100
51 4 5 0160.4 52768 43116 Accepted 100
52 4 5 0113.1 44320 28516 Accepted 100
53 4 5 0105.6 44452 28600 Accepted 100
54 4 5 0070.3 40360 21352 Accepted 100
55 4 5 0074.2 40492 21644 Accepted 100
56 4 5 0121.6 44980 29508 Accepted 100
57 4 5 0159.3 52636 43116 Accepted 100
58 4 5 0123.3 47224 32892 Accepted 100
59 4 5 0164.0 51448 40948 Accepted 100
60 4 5 0071.6 40360 21532 Accepted 100
61 4 5 0070.1 40360 21428 Accepted 100
62 4 5 0146.8 51184 39620 Accepted 100
63 4 5 0167.9 52768 43100 Accepted 100
64 4 5 0080.8 40624 22008 Accepted 100
65 4 5 0086.6 42208 24048 Accepted 100
66 4 5 0189.5 55340 45892 Accepted 100
67 4 5 0072.8 40360 21600 Accepted 100
68 4 5 0144.8 51388 39704 Accepted 100
69 4 5 0068.4 40228 21252 Accepted 100
70 4 5 0204.9 57244 47804 Accepted 100
71 4 5 0077.7 41548 23572 Accepted 100
72 4 5 0080.5 41416 23408 Accepted 100
73 4 5 0151.4 53560 43960 Accepted 100
74 4 5 0072.2 40360 21488 Accepted 100
75 4 5 0060.5 40360 21244 Accepted 100
76 4 5 0123.5 51184 39360 Accepted 100
77 4 5 0090.4 42868 25732 Accepted 100
78 5 0432.1 58972 56496 Accepted 100
79 5 0356.9 58972 55380 Accepted 100
80 5 0184.5 40756 24624 Accepted 100
81 5 0175.0 40360 23780 Accepted 100
82 5 0264.3 58708 54092 Accepted 100
83 5 0297.9 47884 36896 Accepted 100
84 5 0274.7 50128 40384 Accepted 100
85 5 0168.9 40756 23988 Accepted 100
86 5 0187.5 40888 24840 Accepted 100
87 5 0163.6 40360 23716 Accepted 100
88 5 0165.9 40360 23820 Accepted 100
89 5 0315.4 56996 51604 Accepted 100
90 5 0407.8 55276 49884 Accepted 100
91 5 0171.2 40624 24304 Accepted 100
92 5 0168.6 40360 23644 Accepted 100
93 5 0297.1 65276 61072 Accepted 100
94 5 0312.2 67688 63372 Accepted 100
95 5 0281.3 50860 40168 Accepted 100
96 5 0260.6 45604 32284 Accepted 100
97 5 0169.4 40360 23736 Accepted 100
98 5 0371.5 61348 58760 Accepted 100
99 5 0338.1 61116 58292 Accepted 100
100 5 0203.2 41984 26172 Accepted 100
101 5 0420.6 59104 56548 Accepted 100
102 5 0416.0 58972 56392 Accepted 100
103 5 0194.5 40756 24420 Accepted 100
104 5 0247.1 47488 35812 Accepted 100
105 5 0195.6 41552 25928 Accepted 100
106 5 0272.1 54952 47176 Accepted 100
107 5 0153.5 40756 23728 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.84 KB
Back to Top