Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

58811
809408
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 0010.1 795416 9572 Accepted 100
1 1 4 5 6 0010.1 795416 9564 Accepted 100
2 1 4 5 6 0010.2 795416 9644 Accepted 100
3 2 3 4 5 6 0131.9 796064 52212 Accepted 100
4 2 3 4 5 6 0529.6 805008 800380 Accepted 100
5 2 3 4 5 6 0534.6 804208 799468 Accepted 100
6 2 3 4 5 6 0159.8 796724 60632 Accepted 100
7 2 3 4 5 6 0170.5 796648 49524 Accepted 100
8 2 3 4 5 6 0160.4 796616 48140 Accepted 100
9 2 3 4 5 6 0129.2 796452 47708 Accepted 100
10 2 3 4 5 6 0594.9 808876 803528 Accepted 100
11 2 3 4 5 6 0597.1 808908 803656 Accepted 100
12 2 3 4 5 6 0189.6 799996 157084 Accepted 100
13 2 3 4 5 6 0449.0 804216 525084 Accepted 100
14 2 3 4 5 6 0466.2 796268 791840 Accepted 100
15 2 3 4 5 6 0374.8 804208 799552 Accepted 100
16 2 3 4 5 6 0141.9 797148 45344 Accepted 100
17 2 3 4 5 6 0102.4 796204 16932 Accepted 100
18 2 3 4 5 6 0146.7 797532 48960 Accepted 100
19 2 3 4 5 6 0109.6 796196 15600 Accepted 100
20 2 3 4 5 6 0602.0 809148 803460 Accepted 100
21 2 3 4 5 6 0619.4 809244 803780 Accepted 100
22 2 3 4 5 6 0607.0 809456 804132 Accepted 100
23 2 3 4 5 6 0606.6 809308 804140 Accepted 100
24 2 3 4 5 6 0432.7 809304 804096 Accepted 100
25 2 3 4 5 6 0604.2 809464 804204 Accepted 100
26 2 3 4 5 6 0594.7 809148 803516 Accepted 100
27 2 3 4 5 6 0049.5 795548 10868 Accepted 100
28 2 3 4 5 6 0445.0 808824 804236 Accepted 100
29 2 3 4 5 6 0610.3 809148 803160 Accepted 100
30 2 3 4 5 6 0615.3 809148 803476 Accepted 100
31 2 3 4 5 6 0623.7 809080 804176 Accepted 100
32 2 3 4 5 6 0606.6 809148 803144 Accepted 100
33 2 3 4 5 6 0467.4 809148 803064 Accepted 100
34 2 3 4 5 6 0604.2 809148 803448 Accepted 100
35 2 3 4 5 6 0448.0 809148 803372 Accepted 100
36 2 3 4 5 6 0004.7 795416 11648 Accepted 100
37 2 3 4 5 6 0007.1 795416 12012 Accepted 100
38 2 3 4 5 6 0005.2 795548 12324 Accepted 100
39 2 3 4 5 6 0004.5 795416 11356 Accepted 100
40 2 3 4 5 6 0007.7 795416 11304 Accepted 100
41 2 3 4 5 6 0004.7 795548 12000 Accepted 100
42 2 3 4 5 6 0013.3 795416 11368 Accepted 100
43 3 4 5 6 0092.7 795548 10860 Accepted 100
44 3 4 5 6 0076.9 797696 19888 Accepted 100
45 3 4 5 6 0228.5 798452 91144 Accepted 100
46 3 4 5 6 0233.9 798704 92596 Accepted 100
47 3 4 5 6 0227.8 798432 90924 Accepted 100
48 3 4 5 6 0225.4 798456 91744 Accepted 100
49 3 4 5 6 0438.1 809148 803116 Accepted 100
50 3 4 5 6 0618.2 809148 803092 Accepted 100
51 3 4 5 6 0423.0 809148 803060 Accepted 100
52 3 4 5 6 0598.3 809148 803400 Accepted 100
53 3 4 5 6 0606.2 809148 803260 Accepted 100
54 3 4 5 6 0539.0 805112 800644 Accepted 100
55 3 4 5 6 0066.3 795680 18080 Accepted 100
56 3 4 5 6 0088.4 795684 18468 Accepted 100
57 3 4 5 6 0046.9 795416 10668 Accepted 100
58 3 4 5 6 0042.6 795416 10748 Accepted 100
59 3 4 5 6 0072.9 795416 9616 Accepted 100
60 3 4 5 6 0074.1 795416 9692 Accepted 100
61 4 5 6 0091.3 795548 10752 Accepted 100
62 4 5 6 0121.1 797824 20076 Accepted 100
63 4 5 6 0166.0 798444 91064 Accepted 100
64 4 5 6 0173.9 798424 91204 Accepted 100
65 4 5 6 0168.6 798424 91684 Accepted 100
66 4 5 6 0601.7 809148 803040 Accepted 100
67 4 5 6 0600.4 809148 803320 Accepted 100
68 4 5 6 0591.3 809148 803208 Accepted 100
69 4 5 6 0592.8 809148 803456 Accepted 100
70 4 5 6 0596.1 809148 803348 Accepted 100
71 4 5 6 0413.6 809148 803240 Accepted 100
72 4 5 6 0047.6 795416 9436 Accepted 100
73 4 5 6 0371.4 805112 800420 Accepted 100
74 4 5 6 0074.1 795680 18088 Accepted 100
75 4 5 6 0065.3 795684 18352 Accepted 100
76 4 5 6 0057.7 795416 10672 Accepted 100
77 4 5 6 0048.0 795416 10680 Accepted 100
78 4 5 6 0074.8 795416 9692 Accepted 100
79 4 5 6 0081.1 795416 9748 Accepted 100
80 5 6 0080.5 795416 9736 Accepted 100
81 5 6 0095.3 795548 10604 Accepted 100
82 5 6 0077.1 797912 20316 Accepted 100
83 5 6 0153.3 798440 91736 Accepted 100
84 5 6 0178.8 798340 91360 Accepted 100
85 5 6 0220.2 798436 91980 Accepted 100
86 5 6 0168.3 798460 91572 Accepted 100
87 5 6 0625.9 809332 803672 Accepted 100
88 5 6 0658.4 810848 805516 Accepted 100
89 5 6 0659.6 810844 805444 Accepted 100
90 5 6 0649.9 810348 805096 Accepted 100
91 5 6 0451.3 810848 805420 Accepted 100
92 5 6 0451.2 810848 805644 Accepted 100
93 5 6 0611.0 809308 803792 Accepted 100
94 5 6 0449.7 810844 805652 Accepted 100
95 5 6 0463.9 810848 805444 Accepted 100
96 5 6 0458.6 810548 805388 Accepted 100
97 5 6 0081.1 795416 9760 Accepted 100
98 5 6 0092.6 795548 10732 Accepted 100
99 5 6 0071.4 795808 11752 Accepted 100
100 5 6 0659.3 811180 805820 Accepted 100
101 5 6 0660.4 811180 805952 Accepted 100
102 5 6 0658.0 811180 806020 Accepted 100
103 5 6 0117.8 795808 11792 Accepted 100
104 5 6 0074.7 796072 12072 Accepted 100
105 5 6 0648.5 811180 805908 Accepted 100
106 5 6 0647.5 811180 805852 Accepted 100
107 5 6 0451.5 811180 805816 Accepted 100
108 5 6 0372.5 805112 800592 Accepted 100
109 5 6 0072.7 795688 18164 Accepted 100
110 5 6 0067.7 795680 18384 Accepted 100
111 5 6 0058.4 795548 11580 Accepted 100
112 5 6 0090.0 795548 11504 Accepted 100
113 5 6 0092.1 795416 10728 Accepted 100
114 5 6 0063.2 795416 9732 Accepted 100
115 6 0081.5 795548 10668 Accepted 100
116 6 0128.0 798000 20108 Accepted 100
117 6 0687.7 812476 807676 Accepted 100
118 6 0483.3 812644 807952 Accepted 100
119 6 0689.4 812648 808080 Accepted 100
120 6 0488.8 812000 807136 Accepted 100
121 6 0676.2 812644 807976 Accepted 100
122 6 0493.4 812644 807968 Accepted 100
123 6 0615.5 809772 804216 Accepted 100
124 6 0688.5 812644 807900 Accepted 100
125 6 0492.4 812640 808076 Accepted 100
126 6 0480.3 812628 807724 Accepted 100
127 6 0459.5 810376 805044 Accepted 100
128 6 0005.2 795416 10364 Accepted 100
129 6 0103.4 795548 10736 Accepted 100
130 6 0109.4 795808 11808 Accepted 100
131 6 0109.5 796072 12008 Accepted 100
132 6 0643.3 811180 805872 Accepted 100
133 6 0651.8 811184 805844 Accepted 100
134 6 0655.8 811180 806012 Accepted 100
135 6 0655.6 810436 805804 Accepted 100
136 6 0111.0 795812 11708 Accepted 100
137 6 0076.4 796068 12096 Accepted 100
138 6 0460.7 811180 805872 Accepted 100
139 6 0653.2 811180 805912 Accepted 100
140 6 0464.1 811188 806012 Accepted 100
141 6 0429.2 811500 806888 Accepted 100
142 6 0078.5 795416 10548 Accepted 100
143 6 0095.0 795416 11400 Accepted 100
144 6 0067.0 795416 11584 Accepted 100
145 6 0604.4 812264 807056 Accepted 100
146 6 0626.2 812264 807216 Accepted 100
147 6 0637.0 812264 807264 Accepted 100
148 6 0071.7 795548 10432 Accepted 100
149 6 0091.3 795804 11804 Accepted 100
150 6 0123.9 795676 11548 Accepted 100
151 6 0079.2 795676 11536 Accepted 100
152 6 0259.6 799876 92900 Accepted 100
153 6 0212.1 799728 92540 Accepted 100
154 6 0204.4 799512 92376 Accepted 100
155 6 0715.4 812180 808484 Accepted 100
156 6 0495.4 812180 808320 Accepted 100
157 6 0503.6 812176 808268 Accepted 100
158 6 0494.8 812184 808472 Accepted 100
159 6 0686.7 812708 808548 Accepted 100
160 6 0694.3 812180 808484 Accepted 100
161 6 0697.4 812696 808424 Accepted 100
162 6 0693.4 812708 808424 Accepted 100
163 6 0384.5 805112 800628 Accepted 100
164 6 0080.7 795808 18220 Accepted 100
165 6 0071.8 795788 18480 Accepted 100
166 6 0085.8 795548 11500 Accepted 100
167 6 0061.9 795548 11572 Accepted 100
168 6 0055.3 795416 10660 Accepted 100
169 6 0074.0 795416 9728 Accepted 100
170 6 0671.2 814076 809160 Accepted 100
171 6 1406.9 814080 809408 Accepted 100
172 6 0446.3 811180 805912 Accepted 100
173 6 0448.3 811180 805908 Accepted 100
174 5 6 0629.9 811176 805816 Accepted 100
Submitter:
Compiler:
c++20
Code Length:
6.77 KB
Back to Top