Back to Submissions List View Old Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5768
20904
Time Limit Exceeded
89

Subtask Results

Subtask no. Testdata Range Constraints Score
1 0~1 範例測資。 0 / 0
2 2~20 $nm \le 16$ 7 / 7
3 21~99 $n = 2$ 或 $m = 2$ 35 / 35
4 100~186 $n \ge 12$ 且 $m \ge 12$ 47 / 47
5 187~222 無額外限制。 0 / 11

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.6 6212 3632 Accepted 100
1 1 0002.4 6212 3576 Accepted 100
2 2 0002.4 6212 3524 Accepted 100
3 2 0002.4 6212 3564 Accepted 100
4 2 0002.5 6212 3568 Accepted 100
5 2 0002.5 6212 3644 Accepted 100
6 2 0002.5 6212 3576 Accepted 100
7 2 0002.4 6212 3568 Accepted 100
8 2 0002.5 6212 3632 Accepted 100
9 2 0002.4 6212 3640 Accepted 100
10 2 0002.4 6212 3596 Accepted 100
11 2 0002.7 6212 3644 Accepted 100
12 2 0002.4 6212 3644 Accepted 100
13 2 0002.5 6212 3592 Accepted 100
14 2 0002.5 6212 3528 Accepted 100
15 2 0002.4 6212 3564 Accepted 100
16 2 0002.5 6212 3524 Accepted 100
17 2 0002.5 6212 3640 Accepted 100
18 2 0002.4 6212 3600 Accepted 100
19 2 0002.4 6212 3572 Accepted 100
20 2 0002.5 6212 3524 Accepted 100
21 3 0034.3 14860 11984 Accepted 100
22 3 0035.5 14724 12108 Accepted 100
23 3 0034.1 14724 12064 Accepted 100
24 3 0034.7 14728 11984 Accepted 100
25 3 0034.5 14724 11816 Accepted 100
26 3 0036.0 14724 12084 Accepted 100
27 3 0035.3 14720 11872 Accepted 100
28 3 0035.8 14728 11816 Accepted 100
29 3 0035.5 14724 12120 Accepted 100
30 3 0034.9 14724 12080 Accepted 100
31 3 0036.0 14724 11836 Accepted 100
32 3 0035.5 14728 11992 Accepted 100
33 3 0035.4 14724 11892 Accepted 100
34 3 0034.9 14720 12016 Accepted 100
35 3 0035.1 14720 11948 Accepted 100
36 3 0034.7 14720 11956 Accepted 100
37 3 0033.9 14724 12008 Accepted 100
38 3 0034.8 14720 12092 Accepted 100
39 3 0036.5 14728 12112 Accepted 100
40 3 0034.8 14724 11940 Accepted 100
41 3 0035.2 14720 12076 Accepted 100
42 3 0034.3 14856 12096 Accepted 100
43 3 0003.8 6608 3984 Accepted 100
44 3 0003.9 6608 4004 Accepted 100
45 3 0003.1 6344 3788 Accepted 100
46 3 0003.1 6344 3892 Accepted 100
47 3 0003.5 6476 3804 Accepted 100
48 3 0003.6 6608 4036 Accepted 100
49 3 0003.8 6608 3864 Accepted 100
50 3 0004.9 6740 4348 Accepted 100
51 3 0004.6 6740 4248 Accepted 100
52 3 0004.8 6740 4232 Accepted 100
53 3 0013.8 10568 7592 Accepted 100
54 3 0015.6 11100 8432 Accepted 100
55 3 0019.1 11892 9052 Accepted 100
56 3 0020.6 12156 9268 Accepted 100
57 3 0022.5 12428 9572 Accepted 100
58 3 0003.0 6344 3712 Accepted 100
59 3 0023.9 12832 10068 Accepted 100
60 3 0025.3 13100 9976 Accepted 100
61 3 0005.8 7400 4612 Accepted 100
62 3 0024.6 13104 10400 Accepted 100
63 3 0006.2 7532 4744 Accepted 100
64 3 0006.8 7664 4884 Accepted 100
65 3 0008.0 7928 5048 Accepted 100
66 3 0019.9 12156 9196 Accepted 100
67 3 0024.8 13108 10348 Accepted 100
68 3 0025.1 13236 10528 Accepted 100
69 3 0028.4 13776 11112 Accepted 100
70 3 0029.2 13908 11028 Accepted 100
71 3 0029.3 13916 11124 Accepted 100
72 3 0033.1 14584 11912 Accepted 100
73 3 0002.4 6212 3700 Accepted 100
74 3 0002.6 6212 3640 Accepted 100
75 3 0002.5 6212 3576 Accepted 100
76 3 0002.5 6212 3704 Accepted 100
77 3 0002.5 6212 3700 Accepted 100
78 3 0002.4 6212 3592 Accepted 100
79 3 0002.4 6212 3580 Accepted 100
80 3 0002.4 6212 3636 Accepted 100
81 3 0002.4 6212 3572 Accepted 100
82 3 0002.4 6212 3648 Accepted 100
83 3 0002.5 6212 3644 Accepted 100
84 3 0002.4 6212 3576 Accepted 100
85 3 0002.4 6212 3524 Accepted 100
86 3 0002.4 6212 3600 Accepted 100
87 3 0002.3 6212 3556 Accepted 100
88 3 0002.5 6212 3528 Accepted 100
89 3 0002.4 6212 3576 Accepted 100
90 3 0002.4 6212 3568 Accepted 100
91 3 0002.4 6212 3644 Accepted 100
92 3 0002.3 6212 3528 Accepted 100
93 3 0002.5 6212 3532 Accepted 100
94 3 0002.4 6212 3592 Accepted 100
95 3 0002.4 6212 3580 Accepted 100
96 3 0002.5 6212 3700 Accepted 100
97 3 0002.5 6212 3568 Accepted 100
98 3 0002.4 6212 3568 Accepted 100
99 3 0002.3 6212 3580 Accepted 100
100 4 0062.3 23048 20104 Accepted 100
101 4 0064.5 23176 20396 Accepted 100
102 4 0064.8 23584 20876 Accepted 100
103 4 0064.8 23580 20876 Accepted 100
104 4 0065.3 23456 20788 Accepted 100
105 4 0065.3 23572 20724 Accepted 100
106 4 0061.7 23180 20464 Accepted 100
107 4 0062.1 23312 20624 Accepted 100
108 4 0062.2 23324 20696 Accepted 100
109 4 0063.9 23456 20704 Accepted 100
110 4 0067.4 23440 20760 Accepted 100
111 4 0065.6 23448 20680 Accepted 100
112 4 0065.6 23584 20744 Accepted 100
113 4 0059.7 22892 20140 Accepted 100
114 4 0061.3 23032 20196 Accepted 100
115 4 0059.3 22504 19644 Accepted 100
116 4 0060.0 22644 19936 Accepted 100
117 4 0063.5 23028 20112 Accepted 100
118 4 0057.3 22504 19884 Accepted 100
119 4 0062.2 23052 20276 Accepted 100
120 4 0066.9 23436 20700 Accepted 100
121 4 0067.7 23444 20764 Accepted 100
122 4 0066.2 23568 20904 Accepted 100
123 4 0065.6 23036 20200 Accepted 100
124 4 0063.9 23172 20316 Accepted 100
125 4 0063.3 23164 20316 Accepted 100
126 4 0065.7 23312 20556 Accepted 100
127 4 0067.7 23440 20768 Accepted 100
128 4 0068.4 23584 20772 Accepted 100
129 4 0067.0 23572 20892 Accepted 100
130 4 0064.7 23168 20464 Accepted 100
131 4 0064.2 23168 20496 Accepted 100
132 4 0066.4 23436 20544 Accepted 100
133 4 0065.9 23428 20688 Accepted 100
134 4 0064.2 23028 20380 Accepted 100
135 4 0067.0 23308 20620 Accepted 100
136 4 0064.0 23292 20668 Accepted 100
137 4 0055.8 22220 19340 Accepted 100
138 4 0040.0 19248 16448 Accepted 100
139 4 0003.7 6476 4008 Accepted 100
140 4 0043.1 20072 17248 Accepted 100
141 4 0064.8 23172 20460 Accepted 100
142 4 0013.8 10040 7156 Accepted 100
143 4 0047.7 20472 17716 Accepted 100
144 4 0041.1 19368 16452 Accepted 100
145 4 0041.1 19248 16452 Accepted 100
146 4 0059.7 22236 19332 Accepted 100
147 4 0063.9 23448 20800 Accepted 100
148 4 0017.8 10964 8004 Accepted 100
149 4 0046.9 20728 17896 Accepted 100
150 4 0026.9 16296 13408 Accepted 100
151 4 0002.8 6344 3704 Accepted 100
152 4 0003.0 6344 3652 Accepted 100
153 4 0003.0 6344 3768 Accepted 100
154 4 0003.1 6476 3832 Accepted 100
155 4 0003.1 6476 3820 Accepted 100
156 4 0003.2 6476 3908 Accepted 100
157 4 0002.9 6344 3700 Accepted 100
158 4 0003.0 6344 3612 Accepted 100
159 4 0003.2 6476 3888 Accepted 100
160 4 0003.2 6476 3648 Accepted 100
161 4 0003.2 6476 3848 Accepted 100
162 4 0003.4 6476 3944 Accepted 100
163 4 0003.0 6344 3812 Accepted 100
164 4 0003.1 6476 3840 Accepted 100
165 4 0003.2 6476 3812 Accepted 100
166 4 0003.2 6476 3856 Accepted 100
167 4 0003.4 6476 3884 Accepted 100
168 4 0003.4 6476 3884 Accepted 100
169 4 0003.0 6476 3812 Accepted 100
170 4 0003.1 6476 3848 Accepted 100
171 4 0003.3 6476 3840 Accepted 100
172 4 0003.3 6476 3872 Accepted 100
173 4 0003.4 6476 3884 Accepted 100
174 4 0003.4 6476 3980 Accepted 100
175 4 0003.2 6476 3812 Accepted 100
176 4 0003.3 6476 3848 Accepted 100
177 4 0003.3 6476 3948 Accepted 100
178 4 0004.6 6476 3888 Accepted 100
179 4 0003.6 6476 3956 Accepted 100
180 4 0003.6 6476 3964 Accepted 100
181 4 0003.2 6476 3872 Accepted 100
182 4 0003.4 6476 3896 Accepted 100
183 4 0003.4 6476 3748 Accepted 100
184 4 0003.6 6476 3968 Accepted 100
185 4 0003.6 6476 3916 Accepted 100
186 4 0003.8 6608 3976 Accepted 100
187 5 0064.0 23564 20880 Accepted 100
188 5 0082.0 23452 20624 Accepted 100
189 5 0065.9 23440 20744 Accepted 100
190 5 0055.7 23192 20540 Accepted 100
191 5 0058.4 23328 20452 Accepted 100
192 5 0060.6 23444 20764 Accepted 100
193 5 0059.0 23440 20676 Accepted 100
194 5 0061.5 23452 20656 Accepted 100
195 5 0063.8 23576 20776 Accepted 100
196 5 0002.4 6212 3596 Accepted 100
197 5 0002.5 6212 3580 Accepted 100
198 5 0002.5 6212 3556 Accepted 100
199 5 0002.4 6212 3640 Accepted 100
200 5 0002.5 6212 3640 Accepted 100
201 5 0002.5 6212 3628 Accepted 100
202 5 0002.4 6212 3576 Accepted 100
203 5 0002.5 6212 3584 Accepted 100
204 5 0002.4 6212 3572 Accepted 100
205 5 0002.5 6212 3532 Accepted 100
206 5 0002.4 6212 3564 Accepted 100
207 5 0002.5 6212 3600 Accepted 100
208 5 0002.4 6212 3564 Accepted 100
209 5 0002.5 6212 3596 Accepted 100
210 5 0002.5 6212 3436 Accepted 100
211 5 0019.9 11228 8536 Accepted 100
212 5 0014.2 10304 7584 Accepted 100
213 5 0014.7 10436 7600 Accepted 100
214 5 0011.8 9776 7048 Accepted 100
215 5 0035.5 18560 15564 Accepted 100
216 5 0568.5 7532 4596 Time Limit Exceeded 0
217 5 0004.7 7004 4412 Accepted 100
218 5 0003.6 6476 3988 Accepted 100
219 5 0014.6 10436 7568 Accepted 100
220 5 0054.9 22768 19932 Accepted 100
221 5 0006.2 7400 4664 Accepted 100
222 5 0036.0 18860 16076 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.11 KB
Back to Top