Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

20941
56260
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 0045.1 47320 27020 Accepted 100
1 1 5 0046.2 47320 27048 Accepted 100
2 2 4 5 0050.1 47320 27052 Accepted 100
3 2 4 5 0047.6 47320 27028 Accepted 100
4 2 4 5 0052.5 47452 27528 Accepted 100
5 2 4 5 0050.1 47460 27288 Accepted 100
6 2 4 5 0049.4 47452 27388 Accepted 100
7 2 4 5 0049.8 47456 27284 Accepted 100
8 2 4 5 0057.9 47452 27464 Accepted 100
9 2 4 5 0053.7 47616 27308 Accepted 100
10 2 4 5 0053.2 47452 27316 Accepted 100
11 2 4 5 0050.0 47604 27616 Accepted 100
12 2 4 5 0047.4 47452 27316 Accepted 100
13 2 4 5 0052.2 47452 27552 Accepted 100
14 2 4 5 0050.1 47452 27520 Accepted 100
15 2 4 5 0052.6 47452 27220 Accepted 100
16 2 4 5 0052.2 47452 27456 Accepted 100
17 2 4 5 0054.5 47452 27500 Accepted 100
18 2 4 5 0055.1 47584 27424 Accepted 100
19 2 4 5 0054.7 47628 27500 Accepted 100
20 2 4 5 0065.2 47452 27448 Accepted 100
21 2 4 5 0055.5 47588 27508 Accepted 100
22 2 4 5 0059.2 47320 27096 Accepted 100
23 2 4 5 0051.0 47452 27468 Accepted 100
24 2 4 5 0056.0 47600 27444 Accepted 100
25 2 4 5 0050.7 47612 27284 Accepted 100
26 3 5 0423.2 60324 49548 Accepted 100
27 3 5 0374.6 58152 50372 Accepted 100
28 3 5 0282.1 56380 48732 Accepted 100
29 3 5 0295.6 56560 46116 Accepted 100
30 3 5 0285.7 56336 48620 Accepted 100
31 3 5 0286.7 61136 53596 Accepted 100
32 3 5 0287.0 58868 51544 Accepted 100
33 3 5 0194.8 56536 35412 Accepted 100
34 3 5 0383.2 61588 50020 Accepted 100
35 3 5 0401.4 60328 49832 Accepted 100
36 3 5 0406.6 60536 49540 Accepted 100
37 3 5 0247.3 57876 49812 Accepted 100
38 3 5 0259.3 58804 50584 Accepted 100
39 3 5 0142.5 53668 32740 Accepted 100
40 3 5 0275.5 59928 41160 Accepted 100
41 3 5 0221.9 58684 37888 Accepted 100
42 3 5 0417.8 61380 53124 Accepted 100
43 3 5 0218.2 58444 50544 Accepted 100
44 3 5 0314.1 57156 49316 Accepted 100
45 3 5 0273.2 57780 49956 Accepted 100
46 3 5 0163.9 55196 33908 Accepted 100
47 3 5 0248.6 57016 46508 Accepted 100
48 3 5 0285.6 60808 50048 Accepted 100
49 3 5 0241.9 59552 37884 Accepted 100
50 3 5 0317.6 62040 50460 Accepted 100
51 4 5 0159.8 52448 40632 Accepted 100
52 4 5 0148.1 51716 33664 Accepted 100
53 4 5 0131.3 51292 33524 Accepted 100
54 4 5 0108.8 51656 30492 Accepted 100
55 4 5 0113.2 51164 30104 Accepted 100
56 4 5 0150.6 51560 33924 Accepted 100
57 4 5 0160.0 52580 40448 Accepted 100
58 4 5 0133.0 53204 36256 Accepted 100
59 4 5 0172.5 52428 39496 Accepted 100
60 4 5 0105.4 51984 30752 Accepted 100
61 4 5 0102.9 50932 29880 Accepted 100
62 4 5 0148.4 53288 39272 Accepted 100
63 4 5 0175.0 52448 40484 Accepted 100
64 4 5 0105.0 53316 31828 Accepted 100
65 4 5 0099.5 53852 33172 Accepted 100
66 4 5 0193.0 54920 43096 Accepted 100
67 4 5 0102.3 50876 29680 Accepted 100
68 4 5 0145.2 53168 39320 Accepted 100
69 4 5 0102.3 50268 29528 Accepted 100
70 4 5 0205.3 55344 43632 Accepted 100
71 4 5 0101.5 52076 31752 Accepted 100
72 4 5 0111.1 51264 31200 Accepted 100
73 4 5 0151.7 52976 40832 Accepted 100
74 4 5 0106.8 51064 30052 Accepted 100
75 4 5 0089.1 50296 29476 Accepted 100
76 4 5 0128.7 51876 37952 Accepted 100
77 4 5 0112.6 51756 32484 Accepted 100
78 5 0440.1 60092 52012 Accepted 100
79 5 0349.0 57740 49612 Accepted 100
80 5 0231.5 60104 37652 Accepted 100
81 5 0230.3 56460 35736 Accepted 100
82 5 0240.0 55068 47292 Accepted 100
83 5 0355.4 59232 42536 Accepted 100
84 5 0301.2 57096 43132 Accepted 100
85 5 0226.3 58208 35880 Accepted 100
86 5 0227.2 57308 36564 Accepted 100
87 5 0198.4 58924 36268 Accepted 100
88 5 0220.6 62440 40408 Accepted 100
89 5 0309.3 65732 52808 Accepted 100
90 5 0447.8 60668 49680 Accepted 100
91 5 0235.3 69992 43556 Accepted 100
92 5 0226.6 57504 35660 Accepted 100
93 5 0292.5 59732 52260 Accepted 100
94 5 0303.3 60772 53352 Accepted 100
95 5 0295.3 64372 48980 Accepted 100
96 5 0312.5 62048 41408 Accepted 100
97 5 0201.0 57556 35744 Accepted 100
98 5 0398.0 64484 55812 Accepted 100
99 5 0335.6 66808 56260 Accepted 100
100 5 0244.1 70460 44924 Accepted 100
101 5 0442.9 60256 52280 Accepted 100
102 5 0438.2 60180 52412 Accepted 100
103 5 0258.5 58620 36912 Accepted 100
104 5 0290.2 59304 42140 Accepted 100
105 5 0251.2 69808 44040 Accepted 100
106 5 0267.7 60456 47148 Accepted 100
107 5 0197.2 59476 37336 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.42 KB
Back to Top