Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

47696
791508
Accepted
100

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~2 範例測資 0 / 0
2 3~42 $M \leq 2N-4$ 0.1 / 0.1
3 3~60 $M \leq 2N-3$ 4.9 / 4.9
4 0~79 $M \leq 2N-1$ 5 / 5
5 0~114, 174 $M \leq \max(2N-1, 2.5N-6)$ 39 / 39
6 0~174 無額外限制 51 / 51

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 4 5 6 0001.4 6220 3660 Accepted 100
1 1 4 5 6 0002.4 6220 3672 Accepted 100
2 1 4 5 6 0002.4 6220 3620 Accepted 100
3 2 3 4 5 6 0196.2 73616 70696 Accepted 100
4 2 3 4 5 6 0365.3 792628 789820 Accepted 100
5 2 3 4 5 6 0364.4 792492 789708 Accepted 100
6 2 3 4 5 6 0141.1 75900 72996 Accepted 100
7 2 3 4 5 6 0117.8 70964 68184 Accepted 100
8 2 3 4 5 6 0157.1 87696 84628 Accepted 100
9 2 3 4 5 6 0130.7 66772 63732 Accepted 100
10 2 3 4 5 6 0368.6 793296 790140 Accepted 100
11 2 3 4 5 6 0503.4 793176 789904 Accepted 100
12 2 3 4 5 6 0497.2 150760 147964 Accepted 100
13 2 3 4 5 6 0363.3 517116 513952 Accepted 100
14 2 3 4 5 6 0316.7 789984 786968 Accepted 100
15 2 3 4 5 6 0354.7 792492 789584 Accepted 100
16 2 3 4 5 6 0150.9 59716 56740 Accepted 100
17 2 3 4 5 6 0066.4 17240 14108 Accepted 100
18 2 3 4 5 6 0126.4 60040 57172 Accepted 100
19 2 3 4 5 6 0061.4 18176 15060 Accepted 100
20 2 3 4 5 6 0362.9 793708 790292 Accepted 100
21 2 3 4 5 6 0372.6 793284 790176 Accepted 100
22 2 3 4 5 6 0512.4 793172 790068 Accepted 100
23 2 3 4 5 6 0516.6 793336 789976 Accepted 100
24 2 3 4 5 6 0373.1 793332 790120 Accepted 100
25 2 3 4 5 6 0379.5 793160 789928 Accepted 100
26 2 3 4 5 6 0363.5 793708 790248 Accepted 100
27 2 3 4 5 6 0035.6 8540 5500 Accepted 100
28 2 3 4 5 6 0375.3 793316 790436 Accepted 100
29 2 3 4 5 6 0371.1 793704 790252 Accepted 100
30 2 3 4 5 6 0372.3 793700 790292 Accepted 100
31 2 3 4 5 6 0503.0 793048 790088 Accepted 100
32 2 3 4 5 6 0505.3 793704 790292 Accepted 100
33 2 3 4 5 6 0361.8 793708 790336 Accepted 100
34 2 3 4 5 6 0367.0 793708 790332 Accepted 100
35 2 3 4 5 6 0359.5 793704 790236 Accepted 100
36 2 3 4 5 6 0002.4 8312 5360 Accepted 100
37 2 3 4 5 6 0005.0 8676 5836 Accepted 100
38 2 3 4 5 6 0007.3 9048 6028 Accepted 100
39 2 3 4 5 6 0009.1 8628 5764 Accepted 100
40 2 3 4 5 6 0008.6 8708 5772 Accepted 100
41 2 3 4 5 6 0008.7 9036 5980 Accepted 100
42 2 3 4 5 6 0008.6 8040 4972 Accepted 100
43 3 4 5 6 0055.1 8300 5400 Accepted 100
44 3 4 5 6 0073.4 23460 20584 Accepted 100
45 3 4 5 6 0506.6 85664 82844 Accepted 100
46 3 4 5 6 0510.3 87336 84476 Accepted 100
47 3 4 5 6 0369.1 85580 82584 Accepted 100
48 3 4 5 6 0368.8 86364 83288 Accepted 100
49 3 4 5 6 0381.3 793704 790220 Accepted 100
50 3 4 5 6 0371.0 793704 790288 Accepted 100
51 3 4 5 6 0373.9 793700 790256 Accepted 100
52 3 4 5 6 0375.2 793708 790216 Accepted 100
53 3 4 5 6 0374.8 793708 790216 Accepted 100
54 3 4 5 6 0359.4 792640 789616 Accepted 100
55 3 4 5 6 0104.4 30852 27868 Accepted 100
56 3 4 5 6 0099.4 30616 27460 Accepted 100
57 3 4 5 6 0050.8 9172 6312 Accepted 100
58 3 4 5 6 0056.5 8352 5488 Accepted 100
59 3 4 5 6 0045.0 6504 3920 Accepted 100
60 3 4 5 6 0047.8 6572 3884 Accepted 100
61 4 5 6 0057.6 8080 5220 Accepted 100
62 4 5 6 0088.7 23164 20308 Accepted 100
63 4 5 6 0361.8 85864 82764 Accepted 100
64 4 5 6 0362.0 85820 82888 Accepted 100
65 4 5 6 0358.9 86388 83380 Accepted 100
66 4 5 6 0507.3 793704 790284 Accepted 100
67 4 5 6 0351.6 793704 790240 Accepted 100
68 4 5 6 0508.8 793704 790260 Accepted 100
69 4 5 6 0365.6 793708 790236 Accepted 100
70 4 5 6 0354.2 793708 790248 Accepted 100
71 4 5 6 0361.7 793700 790332 Accepted 100
72 4 5 6 0061.2 6220 3568 Accepted 100
73 4 5 6 0349.8 792640 789788 Accepted 100
74 4 5 6 0074.5 30852 27768 Accepted 100
75 4 5 6 0058.7 30616 27556 Accepted 100
76 4 5 6 0062.6 9172 6320 Accepted 100
77 4 5 6 0057.3 8304 5376 Accepted 100
78 4 5 6 0052.7 6744 3988 Accepted 100
79 4 5 6 0065.4 6804 4168 Accepted 100
80 5 6 0058.1 6676 4148 Accepted 100
81 5 6 0067.8 8084 5204 Accepted 100
82 5 6 0069.2 23368 20432 Accepted 100
83 5 6 0362.3 86404 83420 Accepted 100
84 5 6 0362.4 86064 83188 Accepted 100
85 5 6 0365.1 86544 83620 Accepted 100
86 5 6 0362.0 86052 83020 Accepted 100
87 5 6 0507.2 793660 790252 Accepted 100
88 5 6 0382.5 793712 790352 Accepted 100
89 5 6 0529.2 793704 790340 Accepted 100
90 5 6 0368.8 793784 790336 Accepted 100
91 5 6 0381.3 793712 790332 Accepted 100
92 5 6 0374.7 793828 790348 Accepted 100
93 5 6 0377.6 793664 790340 Accepted 100
94 5 6 0393.4 793704 790448 Accepted 100
95 5 6 0381.1 793712 790332 Accepted 100
96 5 6 0513.5 793800 790404 Accepted 100
97 5 6 0068.2 6756 4196 Accepted 100
98 5 6 0037.2 8152 5208 Accepted 100
99 5 6 0063.8 9976 7108 Accepted 100
100 5 6 0381.6 793716 790400 Accepted 100
101 5 6 0386.2 793712 790300 Accepted 100
102 5 6 0532.7 793788 790280 Accepted 100
103 5 6 0076.0 10028 7120 Accepted 100
104 5 6 0051.6 10068 7204 Accepted 100
105 5 6 0379.9 793720 790312 Accepted 100
106 5 6 0376.5 793716 790324 Accepted 100
107 5 6 0373.8 793720 790356 Accepted 100
108 5 6 0342.3 792640 789776 Accepted 100
109 5 6 0107.3 22772 19972 Accepted 100
110 5 6 0065.4 30604 27468 Accepted 100
111 5 6 0058.3 11404 8392 Accepted 100
112 5 6 0084.1 11264 8500 Accepted 100
113 5 6 0063.7 9224 6424 Accepted 100
114 5 6 0046.0 6700 4120 Accepted 100
115 6 0062.2 8112 5528 Accepted 100
116 6 0082.2 23124 20136 Accepted 100
117 6 0545.5 794392 790932 Accepted 100
118 6 0409.1 794340 791012 Accepted 100
119 6 0530.6 794340 790976 Accepted 100
120 6 0386.1 794080 790636 Accepted 100
121 6 0411.2 794356 790948 Accepted 100
122 6 0399.7 794356 791000 Accepted 100
123 6 0381.1 793716 790240 Accepted 100
124 6 0397.2 794360 790980 Accepted 100
125 6 0388.2 794344 791100 Accepted 100
126 6 0394.4 794360 790992 Accepted 100
127 6 0364.4 793708 790316 Accepted 100
128 6 0001.6 7084 4040 Accepted 100
129 6 0064.1 8304 5672 Accepted 100
130 6 0077.5 9908 7124 Accepted 100
131 6 0120.8 9808 7180 Accepted 100
132 6 0392.9 793708 790320 Accepted 100
133 6 0394.6 793720 790300 Accepted 100
134 6 0793.2 794224 790960 Accepted 100
135 6 0521.0 793392 790044 Accepted 100
136 6 0092.6 9700 6812 Accepted 100
137 6 0071.9 11716 8904 Accepted 100
138 6 0380.2 793712 790404 Accepted 100
139 6 0371.0 793716 790292 Accepted 100
140 6 0796.9 794224 790880 Accepted 100
141 6 0366.5 793976 790884 Accepted 100
142 6 0085.9 8296 5240 Accepted 100
143 6 0054.8 10024 7440 Accepted 100
144 6 0102.3 11552 8776 Accepted 100
145 6 0371.1 793552 790160 Accepted 100
146 6 0366.7 793552 790144 Accepted 100
147 6 1077.5 794184 790768 Accepted 100
148 6 0062.7 8328 5680 Accepted 100
149 6 0101.0 11688 8752 Accepted 100
150 6 0076.2 11788 8920 Accepted 100
151 6 0057.4 10136 6976 Accepted 100
152 6 0387.8 86328 83248 Accepted 100
153 6 0390.6 86004 83096 Accepted 100
154 6 0533.0 86264 83240 Accepted 100
155 6 0414.7 794268 791408 Accepted 100
156 6 0405.1 794268 791496 Accepted 100
157 6 0397.7 794248 791280 Accepted 100
158 6 0394.4 794260 791192 Accepted 100
159 6 0409.8 794484 791508 Accepted 100
160 6 0405.0 794268 791488 Accepted 100
161 6 0408.1 794416 791192 Accepted 100
162 6 0534.7 794488 791468 Accepted 100
163 6 0348.4 792640 789772 Accepted 100
164 6 0082.6 30544 27552 Accepted 100
165 6 0093.5 30628 27472 Accepted 100
166 6 0045.0 9888 6900 Accepted 100
167 6 0066.4 9592 6796 Accepted 100
168 6 0077.3 9296 6400 Accepted 100
169 6 0058.8 6708 4260 Accepted 100
170 6 0387.2 794196 790688 Accepted 100
171 6 0399.8 794700 791200 Accepted 100
172 6 0372.7 793712 790352 Accepted 100
173 6 0361.1 793712 790304 Accepted 100
174 5 6 0367.5 793712 790356 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
3.33 KB
Back to Top