Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

25344
71224
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.6 31272 15328 Accepted 100
1 1 5 0018.1 31272 15368 Accepted 100
2 2 4 5 0018.2 31272 15372 Accepted 100
3 2 4 5 0018.2 31272 15312 Accepted 100
4 2 4 5 0023.0 31828 15964 Accepted 100
5 2 4 5 0023.3 31984 15844 Accepted 100
6 2 4 5 0023.0 31800 16092 Accepted 100
7 2 4 5 0022.1 31832 15736 Accepted 100
8 2 4 5 0023.2 31800 16220 Accepted 100
9 2 4 5 0022.2 31828 16016 Accepted 100
10 2 4 5 0022.6 31816 16028 Accepted 100
11 2 4 5 0021.2 31816 16056 Accepted 100
12 2 4 5 0019.2 31404 15744 Accepted 100
13 2 4 5 0022.6 31816 16136 Accepted 100
14 2 4 5 0019.6 31404 15804 Accepted 100
15 2 4 5 0021.2 31804 15788 Accepted 100
16 2 4 5 0020.2 31772 16044 Accepted 100
17 2 4 5 0022.6 31808 16136 Accepted 100
18 2 4 5 0020.8 31708 16032 Accepted 100
19 2 4 5 0021.8 31808 16116 Accepted 100
20 2 4 5 0023.1 31800 16164 Accepted 100
21 2 4 5 0022.0 31808 16060 Accepted 100
22 2 4 5 0018.4 31272 15540 Accepted 100
23 2 4 5 0022.7 31800 16116 Accepted 100
24 2 4 5 0021.2 31672 16020 Accepted 100
25 2 4 5 0022.7 31820 15876 Accepted 100
26 3 5 0558.3 70896 59700 Accepted 100
27 3 5 0444.8 57496 51752 Accepted 100
28 3 5 0293.1 47472 42200 Accepted 100
29 3 5 0346.8 54176 46132 Accepted 100
30 3 5 0296.4 47692 42316 Accepted 100
31 3 5 0333.4 76452 71224 Accepted 100
32 3 5 0313.2 65124 59976 Accepted 100
33 3 5 0321.1 76000 51632 Accepted 100
34 3 5 0527.0 72744 59816 Accepted 100
35 3 5 0548.6 71820 60204 Accepted 100
36 3 5 0570.2 71872 60244 Accepted 100
37 3 5 0230.7 48072 42716 Accepted 100
38 3 5 0262.0 50920 45100 Accepted 100
39 3 5 0209.9 57852 37844 Accepted 100
40 3 5 0475.2 85084 61520 Accepted 100
41 3 5 0370.5 78220 54132 Accepted 100
42 3 5 0614.6 71612 61028 Accepted 100
43 3 5 0220.2 46064 40892 Accepted 100
44 3 5 0365.5 52000 46464 Accepted 100
45 3 5 0274.7 50532 45256 Accepted 100
46 3 5 0258.2 60404 42240 Accepted 100
47 3 5 0273.4 51708 43932 Accepted 100
48 3 5 0314.8 55684 46616 Accepted 100
49 3 5 0400.0 80660 56144 Accepted 100
50 3 5 0382.7 62692 51388 Accepted 100
51 4 5 0127.7 37904 30352 Accepted 100
52 4 5 0173.8 44288 30712 Accepted 100
53 4 5 0151.5 43584 29920 Accepted 100
54 4 5 0142.7 44844 27828 Accepted 100
55 4 5 0146.6 45324 27724 Accepted 100
56 4 5 0171.5 43720 30180 Accepted 100
57 4 5 0121.3 37944 30060 Accepted 100
58 4 5 0125.7 41588 29300 Accepted 100
59 4 5 0140.6 39248 30696 Accepted 100
60 4 5 0135.3 45436 27720 Accepted 100
61 4 5 0111.2 43032 25756 Accepted 100
62 4 5 0131.5 41176 31000 Accepted 100
63 4 5 0131.4 37816 30148 Accepted 100
64 4 5 0070.4 39972 23720 Accepted 100
65 4 5 0068.9 40828 24804 Accepted 100
66 4 5 0174.4 52808 45208 Accepted 100
67 4 5 0086.4 38912 22428 Accepted 100
68 4 5 0116.7 40488 30544 Accepted 100
69 4 5 0125.3 42448 24884 Accepted 100
70 4 5 0194.9 54924 47328 Accepted 100
71 4 5 0095.7 42992 26472 Accepted 100
72 4 5 0169.4 48356 31348 Accepted 100
73 4 5 0108.7 38484 30692 Accepted 100
74 4 5 0130.7 43796 26656 Accepted 100
75 4 5 0119.9 43004 25232 Accepted 100
76 4 5 0093.6 37736 27792 Accepted 100
77 4 5 0093.0 40228 25980 Accepted 100
78 5 0632.7 70536 60636 Accepted 100
79 5 0402.3 53532 47824 Accepted 100
80 5 0470.9 81036 54664 Accepted 100
81 5 0383.7 74400 50464 Accepted 100
82 5 0211.0 42832 37552 Accepted 100
83 5 0584.7 74392 58132 Accepted 100
84 5 0515.3 63796 50628 Accepted 100
85 5 0367.2 63764 45240 Accepted 100
86 5 0389.3 79316 54796 Accepted 100
87 5 0318.9 75724 50336 Accepted 100
88 5 0334.6 74016 49588 Accepted 100
89 5 0387.2 67008 55224 Accepted 100
90 5 0654.1 73400 61048 Accepted 100
91 5 0414.0 83824 55024 Accepted 100
92 5 0375.0 72172 47936 Accepted 100
93 5 0308.9 69480 64380 Accepted 100
94 5 0333.7 74672 69436 Accepted 100
95 5 0291.0 57764 44128 Accepted 100
96 5 0340.4 63124 43480 Accepted 100
97 5 0297.6 72540 48052 Accepted 100
98 5 0530.8 73948 63092 Accepted 100
99 5 0389.6 68584 57292 Accepted 100
100 5 0228.3 67344 43192 Accepted 100
101 5 0631.9 70260 60480 Accepted 100
102 5 0628.6 71420 61144 Accepted 100
103 5 0435.0 79480 54404 Accepted 100
104 5 0461.2 72348 54284 Accepted 100
105 5 0284.2 72692 48880 Accepted 100
106 5 0336.8 60996 47704 Accepted 100
107 5 0189.6 55056 37292 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
4.48 KB
Back to Top