Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

18853
50416
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 0023.7 36968 21160 Accepted 100
1 1 5 0023.7 36968 21224 Accepted 100
2 2 4 5 0023.9 36968 21148 Accepted 100
3 2 4 5 0024.7 36968 21172 Accepted 100
4 2 4 5 0027.5 37100 21568 Accepted 100
5 2 4 5 0026.5 37108 21456 Accepted 100
6 2 4 5 0027.2 37100 21536 Accepted 100
7 2 4 5 0025.7 37104 21360 Accepted 100
8 2 4 5 0027.5 37100 21604 Accepted 100
9 2 4 5 0026.4 37264 21516 Accepted 100
10 2 4 5 0026.0 37100 21448 Accepted 100
11 2 4 5 0026.5 37252 21696 Accepted 100
12 2 4 5 0024.5 37100 21416 Accepted 100
13 2 4 5 0027.1 37100 21688 Accepted 100
14 2 4 5 0025.6 37100 21532 Accepted 100
15 2 4 5 0025.8 37100 21396 Accepted 100
16 2 4 5 0026.2 37100 21656 Accepted 100
17 2 4 5 0028.1 37100 21604 Accepted 100
18 2 4 5 0026.7 37232 21768 Accepted 100
19 2 4 5 0032.4 37276 21740 Accepted 100
20 2 4 5 0026.7 37100 21592 Accepted 100
21 2 4 5 0034.4 37236 21712 Accepted 100
22 2 4 5 0024.5 36968 21324 Accepted 100
23 2 4 5 0027.5 37100 21600 Accepted 100
24 2 4 5 0027.0 37248 21576 Accepted 100
25 2 4 5 0026.6 37260 21356 Accepted 100
26 3 5 0422.0 49972 43600 Accepted 100
27 3 5 0377.1 47800 44332 Accepted 100
28 3 5 0268.6 46028 42768 Accepted 100
29 3 5 0281.9 46208 40468 Accepted 100
30 3 5 0278.7 45984 42496 Accepted 100
31 3 5 0280.4 50784 47680 Accepted 100
32 3 5 0256.4 48512 45608 Accepted 100
33 3 5 0172.1 46184 29452 Accepted 100
34 3 5 0365.4 51236 44228 Accepted 100
35 3 5 0385.7 49976 43868 Accepted 100
36 3 5 0395.3 50184 43532 Accepted 100
37 3 5 0231.7 47524 43972 Accepted 100
38 3 5 0246.9 48452 44772 Accepted 100
39 3 5 0122.0 43316 26860 Accepted 100
40 3 5 0258.8 49576 35348 Accepted 100
41 3 5 0202.9 48332 32056 Accepted 100
42 3 5 0419.6 51028 47208 Accepted 100
43 3 5 0204.4 48092 44500 Accepted 100
44 3 5 0307.3 46804 43440 Accepted 100
45 3 5 0267.1 47428 44200 Accepted 100
46 3 5 0141.1 44844 28052 Accepted 100
47 3 5 0233.3 46664 40648 Accepted 100
48 3 5 0275.5 50456 44164 Accepted 100
49 3 5 0218.3 49200 31988 Accepted 100
50 3 5 0305.4 51688 44556 Accepted 100
51 4 5 0146.8 42096 34736 Accepted 100
52 4 5 0123.2 41364 27776 Accepted 100
53 4 5 0111.8 40940 27592 Accepted 100
54 4 5 0081.1 41304 24544 Accepted 100
55 4 5 0088.0 40812 24324 Accepted 100
56 4 5 0128.7 41208 28200 Accepted 100
57 4 5 0143.9 42228 34500 Accepted 100
58 4 5 0121.1 42852 30312 Accepted 100
59 4 5 0168.4 42076 33640 Accepted 100
60 4 5 0083.6 41632 24916 Accepted 100
61 4 5 0082.6 40580 23880 Accepted 100
62 4 5 0131.2 42936 33444 Accepted 100
63 4 5 0155.8 42096 34864 Accepted 100
64 4 5 0084.4 42964 25984 Accepted 100
65 4 5 0076.6 43500 27348 Accepted 100
66 4 5 0173.8 44568 37096 Accepted 100
67 4 5 0081.1 40524 23848 Accepted 100
68 4 5 0120.9 42816 33444 Accepted 100
69 4 5 0077.0 39916 23532 Accepted 100
70 4 5 0177.9 44996 37768 Accepted 100
71 4 5 0076.5 41724 25948 Accepted 100
72 4 5 0091.1 40912 25232 Accepted 100
73 4 5 0127.7 42624 35084 Accepted 100
74 4 5 0085.0 40712 24192 Accepted 100
75 4 5 0068.5 39944 23636 Accepted 100
76 4 5 0110.8 41524 32064 Accepted 100
77 4 5 0092.6 41404 26644 Accepted 100
78 5 0430.1 49740 46292 Accepted 100
79 5 0343.4 47388 43844 Accepted 100
80 5 0208.8 49752 31700 Accepted 100
81 5 0210.3 46108 29740 Accepted 100
82 5 0225.4 44716 41256 Accepted 100
83 5 0335.1 48880 36824 Accepted 100
84 5 0291.3 46744 37224 Accepted 100
85 5 0204.0 47856 29880 Accepted 100
86 5 0206.5 46956 30732 Accepted 100
87 5 0175.1 48572 30432 Accepted 100
88 5 0196.8 52088 34576 Accepted 100
89 5 0297.1 55380 47348 Accepted 100
90 5 0422.3 50316 43868 Accepted 100
91 5 0216.1 59640 37688 Accepted 100
92 5 0203.1 47152 29800 Accepted 100
93 5 0257.9 49388 46456 Accepted 100
94 5 0272.4 50428 47512 Accepted 100
95 5 0239.4 54020 43100 Accepted 100
96 5 0276.4 51696 35416 Accepted 100
97 5 0224.1 47204 29892 Accepted 100
98 5 0387.3 54132 49984 Accepted 100
99 5 0327.2 56456 50416 Accepted 100
100 5 0224.3 60108 38904 Accepted 100
101 5 0447.9 49904 46480 Accepted 100
102 5 0448.4 49828 46516 Accepted 100
103 5 0230.0 48268 30908 Accepted 100
104 5 0274.8 48952 36272 Accepted 100
105 5 0229.2 59456 38176 Accepted 100
106 5 0257.1 50104 41332 Accepted 100
107 5 0171.2 49124 31324 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.46 KB
Back to Top