Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

23286
65584
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 0018.8 31272 15420 Accepted 100
1 1 5 0018.2 31272 15320 Accepted 100
2 2 4 5 0018.2 31272 15328 Accepted 100
3 2 4 5 0018.1 31272 15328 Accepted 100
4 2 4 5 0022.7 31668 16080 Accepted 100
5 2 4 5 0022.5 31700 15832 Accepted 100
6 2 4 5 0022.7 31812 16056 Accepted 100
7 2 4 5 0021.3 31676 15748 Accepted 100
8 2 4 5 0022.7 31800 16092 Accepted 100
9 2 4 5 0020.9 31668 15860 Accepted 100
10 2 4 5 0022.5 31668 15992 Accepted 100
11 2 4 5 0020.6 31676 15872 Accepted 100
12 2 4 5 0019.7 31404 15608 Accepted 100
13 2 4 5 0022.5 31668 16080 Accepted 100
14 2 4 5 0020.0 31404 15744 Accepted 100
15 2 4 5 0020.8 31668 15704 Accepted 100
16 2 4 5 0020.2 31708 16088 Accepted 100
17 2 4 5 0022.2 31668 15876 Accepted 100
18 2 4 5 0021.1 31676 16036 Accepted 100
19 2 4 5 0021.2 31688 16024 Accepted 100
20 2 4 5 0022.9 31816 16076 Accepted 100
21 2 4 5 0021.8 31668 16000 Accepted 100
22 2 4 5 0019.1 31272 15576 Accepted 100
23 2 4 5 0022.3 31820 15996 Accepted 100
24 2 4 5 0021.3 31684 15960 Accepted 100
25 2 4 5 0020.4 31684 15820 Accepted 100
26 3 5 0538.0 66772 55972 Accepted 100
27 3 5 0423.9 53392 48924 Accepted 100
28 3 5 0285.7 45180 40596 Accepted 100
29 3 5 0334.7 50644 43516 Accepted 100
30 3 5 0289.3 45104 40616 Accepted 100
31 3 5 0315.0 69688 65584 Accepted 100
32 3 5 0308.1 59872 55760 Accepted 100
33 3 5 0274.9 64040 43288 Accepted 100
34 3 5 0512.8 68528 56828 Accepted 100
35 3 5 0533.9 67560 56228 Accepted 100
36 3 5 0547.7 66400 55688 Accepted 100
37 3 5 0256.2 45476 41268 Accepted 100
38 3 5 0268.3 47700 43116 Accepted 100
39 3 5 0181.2 53620 35084 Accepted 100
40 3 5 0417.2 74596 54304 Accepted 100
41 3 5 0315.5 70400 49376 Accepted 100
42 3 5 0546.5 64288 56456 Accepted 100
43 3 5 0215.3 43860 39704 Accepted 100
44 3 5 0354.4 48844 44360 Accepted 100
45 3 5 0291.6 47632 43244 Accepted 100
46 3 5 0224.7 57728 39912 Accepted 100
47 3 5 0274.4 48656 41548 Accepted 100
48 3 5 0320.5 53664 44788 Accepted 100
49 3 5 0351.4 72496 50944 Accepted 100
50 3 5 0372.1 58284 48072 Accepted 100
51 4 5 0126.1 36876 29700 Accepted 100
52 4 5 0155.0 43112 29200 Accepted 100
53 4 5 0141.7 42448 28884 Accepted 100
54 4 5 0116.8 43500 26468 Accepted 100
55 4 5 0125.0 43580 26360 Accepted 100
56 4 5 0161.1 42496 29072 Accepted 100
57 4 5 0119.6 36948 29268 Accepted 100
58 4 5 0111.1 39540 27420 Accepted 100
59 4 5 0142.0 37968 29532 Accepted 100
60 4 5 0098.2 42252 25412 Accepted 100
61 4 5 0100.3 41612 24892 Accepted 100
62 4 5 0126.5 39152 29628 Accepted 100
63 4 5 0131.7 36820 29284 Accepted 100
64 4 5 0069.7 39944 23484 Accepted 100
65 4 5 0069.1 40676 24780 Accepted 100
66 4 5 0181.5 49728 42228 Accepted 100
67 4 5 0086.3 38876 22516 Accepted 100
68 4 5 0115.7 38596 29008 Accepted 100
69 4 5 0104.7 40044 23464 Accepted 100
70 4 5 0184.2 51560 44124 Accepted 100
71 4 5 0080.4 40748 24912 Accepted 100
72 4 5 0139.3 45408 29300 Accepted 100
73 4 5 0122.2 37344 29856 Accepted 100
74 4 5 0112.0 42248 25596 Accepted 100
75 4 5 0099.6 40144 23740 Accepted 100
76 4 5 0105.9 36728 27144 Accepted 100
77 4 5 0075.5 38148 23832 Accepted 100
78 5 0597.4 65588 57168 Accepted 100
79 5 0391.6 50560 45756 Accepted 100
80 5 0412.1 68844 47272 Accepted 100
81 5 0312.1 64100 44000 Accepted 100
82 5 0229.6 40680 36216 Accepted 100
83 5 0530.7 70948 54296 Accepted 100
84 5 0432.8 59412 47720 Accepted 100
85 5 0312.5 61440 42316 Accepted 100
86 5 0346.0 71500 48840 Accepted 100
87 5 0275.0 64900 43560 Accepted 100
88 5 0195.5 56736 36948 Accepted 100
89 5 0370.0 61392 50600 Accepted 100
90 5 0617.8 67724 56388 Accepted 100
91 5 0249.2 69504 45180 Accepted 100
92 5 0311.4 65692 43032 Accepted 100
93 5 0304.4 63640 59448 Accepted 100
94 5 0319.7 68148 63824 Accepted 100
95 5 0290.8 56740 43480 Accepted 100
96 5 0330.8 62040 42568 Accepted 100
97 5 0257.7 62208 41440 Accepted 100
98 5 0485.0 64124 56776 Accepted 100
99 5 0372.2 60596 51776 Accepted 100
100 5 0202.2 65172 42040 Accepted 100
101 5 0608.1 64576 56476 Accepted 100
102 5 0596.4 65772 57284 Accepted 100
103 5 0371.0 72600 49792 Accepted 100
104 5 0447.4 68436 51212 Accepted 100
105 5 0197.9 64760 42008 Accepted 100
106 5 0272.1 51836 40984 Accepted 100
107 5 0147.1 50144 32812 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
4.41 KB
Back to Top