Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

21133
56216
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 0064.9 47320 27092 Accepted 100
1 1 5 0051.6 47320 27020 Accepted 100
2 2 4 5 0044.3 47320 27020 Accepted 100
3 2 4 5 0067.1 47320 27016 Accepted 100
4 2 4 5 0065.3 47452 27488 Accepted 100
5 2 4 5 0051.9 47460 27268 Accepted 100
6 2 4 5 0051.1 47452 27540 Accepted 100
7 2 4 5 0050.1 47456 27272 Accepted 100
8 2 4 5 0053.7 47452 27600 Accepted 100
9 2 4 5 0053.9 47616 27340 Accepted 100
10 2 4 5 0053.1 47452 27304 Accepted 100
11 2 4 5 0053.5 47604 27480 Accepted 100
12 2 4 5 0053.0 47452 27244 Accepted 100
13 2 4 5 0055.7 47452 27624 Accepted 100
14 2 4 5 0053.8 47452 27380 Accepted 100
15 2 4 5 0050.1 47452 27264 Accepted 100
16 2 4 5 0050.0 47452 27520 Accepted 100
17 2 4 5 0054.1 47452 27480 Accepted 100
18 2 4 5 0054.3 47584 27568 Accepted 100
19 2 4 5 0054.5 47628 27460 Accepted 100
20 2 4 5 0055.8 47452 27480 Accepted 100
21 2 4 5 0050.1 47588 27516 Accepted 100
22 2 4 5 0046.1 47320 27096 Accepted 100
23 2 4 5 0055.4 47452 27452 Accepted 100
24 2 4 5 0055.1 47600 27444 Accepted 100
25 2 4 5 0046.6 47612 27424 Accepted 100
26 3 5 0403.5 60324 49568 Accepted 100
27 3 5 0364.9 58152 50316 Accepted 100
28 3 5 0281.8 56380 48764 Accepted 100
29 3 5 0293.9 56560 46152 Accepted 100
30 3 5 0289.6 56336 48648 Accepted 100
31 3 5 0292.3 61136 53588 Accepted 100
32 3 5 0274.8 58864 51528 Accepted 100
33 3 5 0197.9 56536 35316 Accepted 100
34 3 5 0381.5 61588 50092 Accepted 100
35 3 5 0402.4 60328 49836 Accepted 100
36 3 5 0408.0 60536 49516 Accepted 100
37 3 5 0243.0 57876 49808 Accepted 100
38 3 5 0254.6 58804 50472 Accepted 100
39 3 5 0144.6 53668 32584 Accepted 100
40 3 5 0281.8 59928 41156 Accepted 100
41 3 5 0221.1 58684 37912 Accepted 100
42 3 5 0422.0 61380 53212 Accepted 100
43 3 5 0218.4 58444 50496 Accepted 100
44 3 5 0312.1 57156 49320 Accepted 100
45 3 5 0278.1 57780 50056 Accepted 100
46 3 5 0160.6 55196 33820 Accepted 100
47 3 5 0246.4 57016 46492 Accepted 100
48 3 5 0282.6 60808 49848 Accepted 100
49 3 5 0236.7 59552 37836 Accepted 100
50 3 5 0317.0 62040 50464 Accepted 100
51 4 5 0170.6 52448 40744 Accepted 100
52 4 5 0148.9 51716 33512 Accepted 100
53 4 5 0132.2 51292 33580 Accepted 100
54 4 5 0100.0 51656 30512 Accepted 100
55 4 5 0107.7 51164 30200 Accepted 100
56 4 5 0148.8 51560 34052 Accepted 100
57 4 5 0159.6 52580 40448 Accepted 100
58 4 5 0138.7 53204 36212 Accepted 100
59 4 5 0173.0 52428 39484 Accepted 100
60 4 5 0109.8 51984 30804 Accepted 100
61 4 5 0101.7 50932 29784 Accepted 100
62 4 5 0151.3 53288 39216 Accepted 100
63 4 5 0188.9 52448 40316 Accepted 100
64 4 5 0107.8 53316 31732 Accepted 100
65 4 5 0100.5 53852 33220 Accepted 100
66 4 5 0193.6 54928 42972 Accepted 100
67 4 5 0103.6 50876 29776 Accepted 100
68 4 5 0204.2 53168 39220 Accepted 100
69 4 5 0098.6 50268 29532 Accepted 100
70 4 5 0253.4 55348 43600 Accepted 100
71 4 5 0100.5 52076 31672 Accepted 100
72 4 5 0123.9 51264 31032 Accepted 100
73 4 5 0154.9 52976 40988 Accepted 100
74 4 5 0127.0 51064 29992 Accepted 100
75 4 5 0094.3 50296 29396 Accepted 100
76 4 5 0130.1 51876 37956 Accepted 100
77 4 5 0113.5 51756 32400 Accepted 100
78 5 0436.8 60092 51980 Accepted 100
79 5 0350.3 57740 49644 Accepted 100
80 5 0237.3 60104 37720 Accepted 100
81 5 0230.5 56460 35684 Accepted 100
82 5 0236.2 55068 47128 Accepted 100
83 5 0374.4 59232 42588 Accepted 100
84 5 0315.4 57096 42996 Accepted 100
85 5 0226.5 58208 35800 Accepted 100
86 5 0226.5 57308 36428 Accepted 100
87 5 0201.6 58924 36252 Accepted 100
88 5 0220.7 62440 40292 Accepted 100
89 5 0317.5 65732 52912 Accepted 100
90 5 0451.1 60668 49616 Accepted 100
91 5 0237.0 69992 43580 Accepted 100
92 5 0222.6 57504 35780 Accepted 100
93 5 0284.7 59740 52364 Accepted 100
94 5 0284.7 60772 53376 Accepted 100
95 5 0256.6 64372 48920 Accepted 100
96 5 0304.4 62044 41412 Accepted 100
97 5 0198.6 57556 35600 Accepted 100
98 5 0396.5 64484 55708 Accepted 100
99 5 0332.8 66808 56216 Accepted 100
100 5 0252.0 70460 44928 Accepted 100
101 5 0459.5 60256 52416 Accepted 100
102 5 0451.3 60180 52364 Accepted 100
103 5 0254.6 58620 36768 Accepted 100
104 5 0297.4 59304 42196 Accepted 100
105 5 0261.0 69808 44076 Accepted 100
106 5 0278.5 60456 47188 Accepted 100
107 5 0194.6 59476 37252 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
3.42 KB
Back to Top