Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

21695
89260
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 0027.7 44916 24768 Accepted 100
1 1 5 0027.9 44916 24760 Accepted 100
2 2 4 5 0026.6 44916 24764 Accepted 100
3 2 4 5 0027.7 44916 24760 Accepted 100
4 2 4 5 0033.0 45576 25788 Accepted 100
5 2 4 5 0030.4 45048 24896 Accepted 100
6 2 4 5 0032.0 45312 25400 Accepted 100
7 2 4 5 0029.8 44916 24784 Accepted 100
8 2 4 5 0033.0 45576 25648 Accepted 100
9 2 4 5 0029.9 45048 25088 Accepted 100
10 2 4 5 0030.9 45180 25076 Accepted 100
11 2 4 5 0032.7 45444 25548 Accepted 100
12 2 4 5 0030.7 45312 25436 Accepted 100
13 2 4 5 0032.9 45576 25788 Accepted 100
14 2 4 5 0031.3 45576 25704 Accepted 100
15 2 4 5 0029.0 44916 24804 Accepted 100
16 2 4 5 0031.3 45584 25752 Accepted 100
17 2 4 5 0032.8 45576 25676 Accepted 100
18 2 4 5 0032.7 45576 25724 Accepted 100
19 2 4 5 0032.0 45576 25724 Accepted 100
20 2 4 5 0033.3 45576 25628 Accepted 100
21 2 4 5 0032.7 45576 25716 Accepted 100
22 2 4 5 0028.5 45048 24820 Accepted 100
23 2 4 5 0031.6 45312 25412 Accepted 100
24 2 4 5 0031.3 45312 25272 Accepted 100
25 2 4 5 0029.9 45048 25040 Accepted 100
26 3 5 0416.8 76860 71532 Accepted 100
27 3 5 0429.2 84780 81592 Accepted 100
28 3 5 0355.9 84780 80700 Accepted 100
29 3 5 0339.9 76860 70240 Accepted 100
30 3 5 0359.6 84780 80852 Accepted 100
31 3 5 0378.8 92312 87928 Accepted 100
32 3 5 0378.7 90736 86496 Accepted 100
33 3 5 0157.0 45048 28476 Accepted 100
34 3 5 0412.8 76860 71340 Accepted 100
35 3 5 0410.9 76992 71624 Accepted 100
36 3 5 0419.3 76860 71484 Accepted 100
37 3 5 0329.1 87552 83556 Accepted 100
38 3 5 0349.6 87288 83500 Accepted 100
39 3 5 0119.4 46896 29316 Accepted 100
40 3 5 0242.8 54024 40316 Accepted 100
41 3 5 0188.2 46632 30496 Accepted 100
42 3 5 0468.1 85044 82480 Accepted 100
43 3 5 0307.9 87432 83096 Accepted 100
44 3 5 0401.2 84780 81052 Accepted 100
45 3 5 0355.8 87288 83400 Accepted 100
46 3 5 0132.9 45180 27752 Accepted 100
47 3 5 0319.3 77528 70844 Accepted 100
48 3 5 0367.5 78140 71932 Accepted 100
49 3 5 0197.9 47952 32504 Accepted 100
50 3 5 0391.7 77856 72448 Accepted 100
51 4 5 0196.7 71448 61924 Accepted 100
52 4 5 0138.7 53628 37744 Accepted 100
53 4 5 0128.9 53760 37824 Accepted 100
54 4 5 0078.4 45048 26156 Accepted 100
55 4 5 0083.1 45444 26524 Accepted 100
56 4 5 0146.1 54948 39504 Accepted 100
57 4 5 0197.3 71316 61616 Accepted 100
58 4 5 0146.9 59172 44800 Accepted 100
59 4 5 0204.9 68808 58376 Accepted 100
60 4 5 0078.7 45312 26292 Accepted 100
61 4 5 0079.3 45048 26164 Accepted 100
62 4 5 0181.7 67356 55712 Accepted 100
63 4 5 0197.4 71448 61888 Accepted 100
64 4 5 0075.4 45864 27272 Accepted 100
65 4 5 0090.0 48920 31088 Accepted 100
66 4 5 0231.0 74152 64776 Accepted 100
67 4 5 0077.6 45180 26348 Accepted 100
68 4 5 0176.6 67860 56008 Accepted 100
69 4 5 0075.3 45048 26080 Accepted 100
70 4 5 0253.4 76064 66580 Accepted 100
71 4 5 0087.8 47700 29736 Accepted 100
72 4 5 0092.3 47556 29476 Accepted 100
73 4 5 0194.1 72240 62492 Accepted 100
74 4 5 0078.6 45180 26332 Accepted 100
75 4 5 0069.2 45180 26092 Accepted 100
76 4 5 0160.3 67224 55276 Accepted 100
77 4 5 0100.1 50460 33296 Accepted 100
78 5 0506.7 84780 82200 Accepted 100
79 5 0426.8 84780 81272 Accepted 100
80 5 0198.2 46104 29928 Accepted 100
81 5 0199.0 45180 28584 Accepted 100
82 5 0307.7 83988 79468 Accepted 100
83 5 0335.3 61020 50204 Accepted 100
84 5 0320.4 65904 56040 Accepted 100
85 5 0181.1 46104 29376 Accepted 100
86 5 0201.5 46500 30408 Accepted 100
87 5 0168.9 45180 28528 Accepted 100
88 5 0170.2 45180 28556 Accepted 100
89 5 0379.8 79244 73888 Accepted 100
90 5 0491.4 76860 71512 Accepted 100
91 5 0180.8 45708 29408 Accepted 100
92 5 0183.3 45048 28468 Accepted 100
93 5 0390.7 91084 86752 Accepted 100
94 5 0399.1 93492 89260 Accepted 100
95 5 0296.0 66360 55784 Accepted 100
96 5 0292.4 55172 41872 Accepted 100
97 5 0176.0 45180 28444 Accepted 100
98 5 0465.3 87816 85236 Accepted 100
99 5 0432.0 87792 84992 Accepted 100
100 5 0190.9 48368 32748 Accepted 100
101 5 0514.1 84912 82360 Accepted 100
102 5 0495.6 84648 81972 Accepted 100
103 5 0205.6 45972 29740 Accepted 100
104 5 0282.3 59832 48076 Accepted 100
105 5 0186.9 47688 32016 Accepted 100
106 5 0324.1 74848 67360 Accepted 100
107 5 0141.4 46104 29032 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.81 KB
Back to Top