Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

21886
45844
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 0008.3 24388 7164 Accepted 100
1 1 5 0008.4 24388 7548 Accepted 100
2 2 4 5 0008.4 24388 7552 Accepted 100
3 2 4 5 0008.2 24388 7032 Accepted 100
4 2 4 5 0013.3 24816 8044 Accepted 100
5 2 4 5 0012.1 24520 7636 Accepted 100
6 2 4 5 0012.3 24688 7736 Accepted 100
7 2 4 5 0011.5 24520 7640 Accepted 100
8 2 4 5 0013.3 24816 8008 Accepted 100
9 2 4 5 0011.9 24520 7624 Accepted 100
10 2 4 5 0011.9 24520 7532 Accepted 100
11 2 4 5 0012.1 24656 7604 Accepted 100
12 2 4 5 0012.3 24520 7760 Accepted 100
13 2 4 5 0013.6 24816 8140 Accepted 100
14 2 4 5 0010.9 24668 8076 Accepted 100
15 2 4 5 0010.4 24520 7680 Accepted 100
16 2 4 5 0010.9 24672 8128 Accepted 100
17 2 4 5 0012.4 24816 8024 Accepted 100
18 2 4 5 0012.8 24844 8112 Accepted 100
19 2 4 5 0012.4 24840 8104 Accepted 100
20 2 4 5 0013.2 24812 7964 Accepted 100
21 2 4 5 0012.2 24840 7988 Accepted 100
22 2 4 5 0008.8 24388 7464 Accepted 100
23 2 4 5 0012.5 24688 7760 Accepted 100
24 2 4 5 0012.5 24688 7684 Accepted 100
25 2 4 5 0011.8 24520 7664 Accepted 100
26 3 5 0490.2 41668 33144 Accepted 100
27 3 5 0464.7 46072 37628 Accepted 100
28 3 5 0352.4 46056 37040 Accepted 100
29 3 5 0347.9 38588 31880 Accepted 100
30 3 5 0366.1 46060 37008 Accepted 100
31 3 5 0402.5 52756 45844 Accepted 100
32 3 5 0372.3 49732 42976 Accepted 100
33 3 5 0179.9 33684 13676 Accepted 100
34 3 5 0460.3 41668 32912 Accepted 100
35 3 5 0475.5 41720 33020 Accepted 100
36 3 5 0493.6 41672 33120 Accepted 100
37 3 5 0302.7 47176 38164 Accepted 100
38 3 5 0327.3 46980 38064 Accepted 100
39 3 5 0120.8 29060 10472 Accepted 100
40 3 5 0267.8 35140 17768 Accepted 100
41 3 5 0207.6 33684 13564 Accepted 100
42 3 5 0515.8 49404 40916 Accepted 100
43 3 5 0271.4 46524 38244 Accepted 100
44 3 5 0428.2 46024 37136 Accepted 100
45 3 5 0344.5 47144 38340 Accepted 100
46 3 5 0139.2 29068 10532 Accepted 100
47 3 5 0293.2 38972 31884 Accepted 100
48 3 5 0383.1 42072 33260 Accepted 100
49 3 5 0221.9 33684 13560 Accepted 100
50 3 5 0411.7 41996 33312 Accepted 100
51 4 5 0147.5 36064 26788 Accepted 100
52 4 5 0119.6 30488 15516 Accepted 100
53 4 5 0110.1 30360 15348 Accepted 100
54 4 5 0073.1 26748 8964 Accepted 100
55 4 5 0079.0 26748 9056 Accepted 100
56 4 5 0128.9 30520 16092 Accepted 100
57 4 5 0154.2 36072 26804 Accepted 100
58 4 5 0126.6 31380 18048 Accepted 100
59 4 5 0168.4 35712 25120 Accepted 100
60 4 5 0077.1 26748 8968 Accepted 100
61 4 5 0064.7 26748 9072 Accepted 100
62 4 5 0145.7 35992 23636 Accepted 100
63 4 5 0154.4 36072 26896 Accepted 100
64 4 5 0087.6 26748 9196 Accepted 100
65 4 5 0087.9 27368 11300 Accepted 100
66 4 5 0206.3 39732 31060 Accepted 100
67 4 5 0065.7 26748 9072 Accepted 100
68 4 5 0131.3 35944 23836 Accepted 100
69 4 5 0069.9 26748 8904 Accepted 100
70 4 5 0230.4 40296 31612 Accepted 100
71 4 5 0077.9 27252 10500 Accepted 100
72 4 5 0087.4 27160 10512 Accepted 100
73 4 5 0136.0 36588 27344 Accepted 100
74 4 5 0077.1 26748 9040 Accepted 100
75 4 5 0059.5 26744 8964 Accepted 100
76 4 5 0114.1 35984 23260 Accepted 100
77 4 5 0095.1 28476 12592 Accepted 100
78 5 0563.6 49148 41056 Accepted 100
79 5 0448.3 46064 37208 Accepted 100
80 5 0218.4 33684 13648 Accepted 100
81 5 0217.0 33684 13492 Accepted 100
82 5 0278.7 45952 36228 Accepted 100
83 5 0376.6 36104 21928 Accepted 100
84 5 0335.1 36876 26052 Accepted 100
85 5 0200.4 29072 11288 Accepted 100
86 5 0212.4 33684 13560 Accepted 100
87 5 0177.4 33684 13648 Accepted 100
88 5 0213.3 33684 13580 Accepted 100
89 5 0415.7 42544 33852 Accepted 100
90 5 0515.2 41656 33152 Accepted 100
91 5 0217.7 33684 13660 Accepted 100
92 5 0210.4 33684 13684 Accepted 100
93 5 0389.2 50892 43884 Accepted 100
94 5 0412.9 52280 45552 Accepted 100
95 5 0365.0 40672 26568 Accepted 100
96 5 0267.7 36176 19184 Accepted 100
97 5 0172.5 33684 13676 Accepted 100
98 5 0505.0 50772 42564 Accepted 100
99 5 0442.5 50192 42136 Accepted 100
100 5 0257.4 33684 13584 Accepted 100
101 5 0563.1 49348 40988 Accepted 100
102 5 0606.3 49316 40972 Accepted 100
103 5 0241.1 33684 13480 Accepted 100
104 5 0316.5 36180 21328 Accepted 100
105 5 0253.1 33684 13584 Accepted 100
106 5 0295.3 41752 30920 Accepted 100
107 5 0183.9 29068 10860 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
2.94 KB
Back to Top