Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

41000
116956
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 0031.5 83568 27072 Accepted 100
1 1 5 0030.8 83568 27004 Accepted 100
2 2 4 5 0031.1 83568 27064 Accepted 100
3 2 4 5 0031.0 83568 26912 Accepted 100
4 2 4 5 0039.2 84532 28264 Accepted 100
5 2 4 5 0038.1 84932 27988 Accepted 100
6 2 4 5 0037.2 84604 28020 Accepted 100
7 2 4 5 0037.2 84748 27672 Accepted 100
8 2 4 5 0038.1 84612 28340 Accepted 100
9 2 4 5 0037.1 84760 27932 Accepted 100
10 2 4 5 0037.9 84576 27900 Accepted 100
11 2 4 5 0036.7 84520 27908 Accepted 100
12 2 4 5 0033.5 83728 27640 Accepted 100
13 2 4 5 0037.9 84504 28188 Accepted 100
14 2 4 5 0033.8 83924 27848 Accepted 100
15 2 4 5 0036.2 84656 27688 Accepted 100
16 2 4 5 0034.5 84060 28160 Accepted 100
17 2 4 5 0037.3 84520 28280 Accepted 100
18 2 4 5 0036.5 84448 27952 Accepted 100
19 2 4 5 0036.2 84644 28076 Accepted 100
20 2 4 5 0038.2 84612 28288 Accepted 100
21 2 4 5 0037.5 84376 28072 Accepted 100
22 2 4 5 0031.4 83568 27280 Accepted 100
23 2 4 5 0036.8 84624 28024 Accepted 100
24 2 4 5 0036.6 84488 27888 Accepted 100
25 2 4 5 0037.7 84688 27824 Accepted 100
26 3 5 0915.1 159640 113340 Accepted 100
27 3 5 0651.2 130464 95752 Accepted 100
28 3 5 0396.0 111100 76984 Accepted 100
29 3 5 0543.6 124868 85084 Accepted 100
30 3 5 0406.2 110584 76588 Accepted 100
31 3 5 0334.6 125532 91348 Accepted 100
32 3 5 0331.1 120808 86620 Accepted 100
33 3 5 0362.8 155788 79780 Accepted 100
34 3 5 0880.8 160980 113348 Accepted 100
35 3 5 0900.3 155880 109200 Accepted 100
36 3 5 0954.7 161932 114604 Accepted 100
37 3 5 0358.4 113616 78848 Accepted 100
38 3 5 0406.3 117544 82364 Accepted 100
39 3 5 0325.9 124348 63032 Accepted 100
40 3 5 0818.2 168040 105976 Accepted 100
41 3 5 0560.7 160116 91144 Accepted 100
42 3 5 0895.5 157900 114752 Accepted 100
43 3 5 0267.9 105512 72068 Accepted 100
44 3 5 0495.7 118644 84088 Accepted 100
45 3 5 0425.0 116044 81448 Accepted 100
46 3 5 0316.1 132756 69796 Accepted 100
47 3 5 0467.1 121532 80972 Accepted 100
48 3 5 0604.3 127560 86500 Accepted 100
49 3 5 0675.5 183608 106632 Accepted 100
50 3 5 0659.7 131932 89164 Accepted 100
51 4 5 0170.0 94764 54800 Accepted 100
52 4 5 0295.4 108104 55296 Accepted 100
53 4 5 0268.8 111192 56012 Accepted 100
54 4 5 0215.5 110480 50276 Accepted 100
55 4 5 0229.4 111468 50068 Accepted 100
56 4 5 0296.9 106792 54016 Accepted 100
57 4 5 0165.7 94724 54548 Accepted 100
58 4 5 0254.5 101748 52188 Accepted 100
59 4 5 0203.4 97056 54832 Accepted 100
60 4 5 0217.6 111720 50248 Accepted 100
61 4 5 0159.7 108836 47912 Accepted 100
62 4 5 0214.0 99992 54584 Accepted 100
63 4 5 0172.3 94728 54568 Accepted 100
64 4 5 0157.5 100668 42500 Accepted 100
65 4 5 0170.1 101696 44792 Accepted 100
66 4 5 0202.5 102952 62988 Accepted 100
67 4 5 0140.6 98656 39516 Accepted 100
68 4 5 0196.7 98584 53476 Accepted 100
69 4 5 0184.6 105576 44604 Accepted 100
70 4 5 0222.8 108680 68836 Accepted 100
71 4 5 0195.9 105832 46572 Accepted 100
72 4 5 0268.7 117408 57292 Accepted 100
73 4 5 0156.1 94860 54684 Accepted 100
74 4 5 0206.2 108396 47688 Accepted 100
75 4 5 0190.6 107692 45860 Accepted 100
76 4 5 0136.4 94064 48996 Accepted 100
77 4 5 0176.5 100484 45964 Accepted 100
78 5 1014.0 158392 115368 Accepted 100
79 5 0592.0 122404 87372 Accepted 100
80 5 0746.5 179696 102920 Accepted 100
81 5 0599.8 169520 94208 Accepted 100
82 5 0277.7 103412 68380 Accepted 100
83 5 1116.1 167320 110052 Accepted 100
84 5 0831.9 145936 95592 Accepted 100
85 5 0579.3 148156 84648 Accepted 100
86 5 0712.8 188824 111416 Accepted 100
87 5 0399.6 167344 90268 Accepted 100
88 5 0549.3 168768 94256 Accepted 100
89 5 0756.2 148624 102484 Accepted 100
90 5 1088.3 162608 113116 Accepted 100
91 5 0696.5 188256 105068 Accepted 100
92 5 0583.2 165080 90084 Accepted 100
93 5 0329.5 121840 87836 Accepted 100
94 5 0351.5 129076 94896 Accepted 100
95 5 0846.4 132724 82148 Accepted 100
96 5 0657.0 141008 75980 Accepted 100
97 5 0417.6 166532 90112 Accepted 100
98 5 0996.0 161456 116956 Accepted 100
99 5 0744.3 141792 101280 Accepted 100
100 5 0498.5 154932 82396 Accepted 100
101 5 1058.4 154668 112212 Accepted 100
102 5 1039.0 157616 114344 Accepted 100
103 5 0697.5 179748 103736 Accepted 100
104 5 0885.2 162800 105592 Accepted 100
105 5 0545.0 165640 91388 Accepted 100
106 5 0671.4 137572 86244 Accepted 100
107 5 0368.4 130820 68660 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
5.78 KB
Back to Top