Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

21055
56312
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 0047.1 47320 26980 Accepted 100
1 1 5 0048.3 47320 26944 Accepted 100
2 2 4 5 0049.2 47320 27096 Accepted 100
3 2 4 5 0048.3 47320 27092 Accepted 100
4 2 4 5 0052.6 47452 27528 Accepted 100
5 2 4 5 0050.8 47460 27324 Accepted 100
6 2 4 5 0053.4 47452 27460 Accepted 100
7 2 4 5 0049.4 47456 27276 Accepted 100
8 2 4 5 0051.6 47452 27540 Accepted 100
9 2 4 5 0056.8 47616 27240 Accepted 100
10 2 4 5 0055.3 47452 27308 Accepted 100
11 2 4 5 0054.5 47604 27408 Accepted 100
12 2 4 5 0059.7 47452 27288 Accepted 100
13 2 4 5 0051.6 47452 27468 Accepted 100
14 2 4 5 0058.4 47452 27460 Accepted 100
15 2 4 5 0057.7 47452 27244 Accepted 100
16 2 4 5 0054.9 47452 27512 Accepted 100
17 2 4 5 0055.4 47452 27544 Accepted 100
18 2 4 5 0054.6 47584 27632 Accepted 100
19 2 4 5 0052.2 47628 27564 Accepted 100
20 2 4 5 0054.1 47452 27592 Accepted 100
21 2 4 5 0057.9 47588 27500 Accepted 100
22 2 4 5 0053.7 47320 27172 Accepted 100
23 2 4 5 0052.9 47452 27392 Accepted 100
24 2 4 5 0059.0 47600 27424 Accepted 100
25 2 4 5 0050.1 47612 27356 Accepted 100
26 3 5 0441.7 60324 49540 Accepted 100
27 3 5 0386.9 58152 50220 Accepted 100
28 3 5 0296.9 56380 48620 Accepted 100
29 3 5 0316.3 56560 46168 Accepted 100
30 3 5 0284.9 56336 48788 Accepted 100
31 3 5 0295.1 61132 53572 Accepted 100
32 3 5 0267.1 58864 51424 Accepted 100
33 3 5 0199.0 56536 35320 Accepted 100
34 3 5 0388.4 61588 50020 Accepted 100
35 3 5 0396.6 60328 49736 Accepted 100
36 3 5 0432.5 60536 49548 Accepted 100
37 3 5 0250.6 57876 49856 Accepted 100
38 3 5 0271.7 58804 50648 Accepted 100
39 3 5 0145.1 53668 32720 Accepted 100
40 3 5 0276.6 59928 41076 Accepted 100
41 3 5 0221.4 58684 37920 Accepted 100
42 3 5 0421.6 61380 53232 Accepted 100
43 3 5 0217.7 58444 50588 Accepted 100
44 3 5 0317.4 57156 49312 Accepted 100
45 3 5 0271.0 57780 50060 Accepted 100
46 3 5 0161.5 55196 33928 Accepted 100
47 3 5 0245.0 57016 46452 Accepted 100
48 3 5 0281.8 60808 50060 Accepted 100
49 3 5 0237.9 59552 37732 Accepted 100
50 3 5 0322.4 62040 50368 Accepted 100
51 4 5 0168.7 52448 40740 Accepted 100
52 4 5 0147.6 51716 33576 Accepted 100
53 4 5 0139.1 51292 33564 Accepted 100
54 4 5 0103.7 51656 30460 Accepted 100
55 4 5 0109.9 51164 30056 Accepted 100
56 4 5 0157.9 51560 34056 Accepted 100
57 4 5 0166.4 52580 40440 Accepted 100
58 4 5 0142.8 53204 36232 Accepted 100
59 4 5 0174.3 52428 39544 Accepted 100
60 4 5 0111.8 51984 30772 Accepted 100
61 4 5 0102.4 50932 29684 Accepted 100
62 4 5 0146.5 53288 39300 Accepted 100
63 4 5 0168.3 52448 40472 Accepted 100
64 4 5 0109.1 53316 31772 Accepted 100
65 4 5 0100.6 53852 33080 Accepted 100
66 4 5 0188.4 54924 43148 Accepted 100
67 4 5 0101.7 50876 29588 Accepted 100
68 4 5 0139.4 53168 39224 Accepted 100
69 4 5 0099.1 50268 29464 Accepted 100
70 4 5 0204.0 55344 43624 Accepted 100
71 4 5 0098.0 52076 31700 Accepted 100
72 4 5 0116.1 51264 31192 Accepted 100
73 4 5 0151.9 52976 40992 Accepted 100
74 4 5 0107.0 51064 30104 Accepted 100
75 4 5 0091.5 50296 29344 Accepted 100
76 4 5 0133.4 51876 37836 Accepted 100
77 4 5 0119.9 51756 32512 Accepted 100
78 5 0433.7 60092 52020 Accepted 100
79 5 0347.2 57740 49572 Accepted 100
80 5 0238.7 60104 37544 Accepted 100
81 5 0235.7 56460 35732 Accepted 100
82 5 0237.0 55068 47276 Accepted 100
83 5 0356.7 59232 42680 Accepted 100
84 5 0302.0 57096 43076 Accepted 100
85 5 0225.0 58208 35900 Accepted 100
86 5 0228.8 57308 36576 Accepted 100
87 5 0196.5 58924 36260 Accepted 100
88 5 0214.9 62440 40324 Accepted 100
89 5 0312.9 65732 52912 Accepted 100
90 5 0440.3 60668 49764 Accepted 100
91 5 0235.0 69992 43512 Accepted 100
92 5 0223.4 57504 35804 Accepted 100
93 5 0273.5 59736 52324 Accepted 100
94 5 0281.7 60776 53388 Accepted 100
95 5 0255.4 64372 48812 Accepted 100
96 5 0298.6 62048 41276 Accepted 100
97 5 0196.0 57556 35724 Accepted 100
98 5 0386.8 64484 55716 Accepted 100
99 5 0328.2 66808 56312 Accepted 100
100 5 0246.2 70460 44896 Accepted 100
101 5 0469.2 60256 52336 Accepted 100
102 5 0471.9 60180 52436 Accepted 100
103 5 0277.4 58620 36900 Accepted 100
104 5 0291.2 59304 42224 Accepted 100
105 5 0250.0 69808 44160 Accepted 100
106 5 0270.4 60456 47272 Accepted 100
107 5 0194.8 59476 37336 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.42 KB
Back to Top