Back to Submissions List View Old Results

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

5335
21012
Accepted
100

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 無額外限制。 11 / 11

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.6 6212 3732 Accepted 100
1 1 0002.6 6212 3648 Accepted 100
2 2 0002.6 6212 3668 Accepted 100
3 2 0002.6 6212 3704 Accepted 100
4 2 0002.5 6212 3528 Accepted 100
5 2 0002.4 6212 3732 Accepted 100
6 2 0002.4 6212 3648 Accepted 100
7 2 0002.6 6212 3788 Accepted 100
8 2 0002.5 6212 3668 Accepted 100
9 2 0002.5 6212 3720 Accepted 100
10 2 0002.5 6212 3680 Accepted 100
11 2 0002.6 6212 3648 Accepted 100
12 2 0002.5 6212 3704 Accepted 100
13 2 0002.5 6212 3664 Accepted 100
14 2 0002.5 6212 3684 Accepted 100
15 2 0002.5 6212 3648 Accepted 100
16 2 0002.4 6212 3688 Accepted 100
17 2 0002.5 6212 3652 Accepted 100
18 2 0002.6 6212 3788 Accepted 100
19 2 0002.5 6212 3644 Accepted 100
20 2 0002.4 6212 3636 Accepted 100
21 3 0034.0 14720 12152 Accepted 100
22 3 0034.5 14720 12184 Accepted 100
23 3 0034.6 14720 12020 Accepted 100
24 3 0035.8 14724 12120 Accepted 100
25 3 0035.0 14720 11992 Accepted 100
26 3 0035.8 14724 12128 Accepted 100
27 3 0035.1 14720 12072 Accepted 100
28 3 0034.9 14724 12136 Accepted 100
29 3 0036.4 14724 12176 Accepted 100
30 3 0035.8 14720 12008 Accepted 100
31 3 0036.8 14724 12072 Accepted 100
32 3 0037.9 14852 12212 Accepted 100
33 3 0035.2 14720 12072 Accepted 100
34 3 0035.2 14720 11912 Accepted 100
35 3 0035.0 14724 11944 Accepted 100
36 3 0034.9 14724 11888 Accepted 100
37 3 0035.4 14724 12016 Accepted 100
38 3 0035.7 14724 12124 Accepted 100
39 3 0035.5 14720 12108 Accepted 100
40 3 0034.4 14720 11988 Accepted 100
41 3 0036.0 14724 12060 Accepted 100
42 3 0035.7 14724 12096 Accepted 100
43 3 0003.9 6608 4064 Accepted 100
44 3 0003.8 6608 4112 Accepted 100
45 3 0003.1 6344 3824 Accepted 100
46 3 0003.2 6344 3864 Accepted 100
47 3 0003.7 6476 4064 Accepted 100
48 3 0003.7 6608 4200 Accepted 100
49 3 0004.0 6608 4216 Accepted 100
50 3 0004.9 6740 4192 Accepted 100
51 3 0004.6 6740 4204 Accepted 100
52 3 0004.8 6740 4176 Accepted 100
53 3 0014.0 10568 7700 Accepted 100
54 3 0016.5 11104 8300 Accepted 100
55 3 0019.1 11892 9252 Accepted 100
56 3 0020.6 12156 9368 Accepted 100
57 3 0022.6 12428 9768 Accepted 100
58 3 0002.8 6344 3744 Accepted 100
59 3 0023.9 12832 10240 Accepted 100
60 3 0025.2 13104 10208 Accepted 100
61 3 0006.0 7400 4708 Accepted 100
62 3 0025.5 13104 10412 Accepted 100
63 3 0006.4 7532 4664 Accepted 100
64 3 0007.2 7664 4936 Accepted 100
65 3 0008.3 7928 5280 Accepted 100
66 3 0020.7 12156 9592 Accepted 100
67 3 0025.3 13100 10468 Accepted 100
68 3 0025.9 13236 10580 Accepted 100
69 3 0029.3 13780 11176 Accepted 100
70 3 0029.5 13920 11340 Accepted 100
71 3 0030.0 13912 11220 Accepted 100
72 3 0033.6 14584 11972 Accepted 100
73 3 0002.6 6212 3668 Accepted 100
74 3 0002.5 6212 3732 Accepted 100
75 3 0002.7 6212 3788 Accepted 100
76 3 0002.4 6212 3488 Accepted 100
77 3 0002.6 6212 3660 Accepted 100
78 3 0002.6 6212 3656 Accepted 100
79 3 0002.6 6212 3788 Accepted 100
80 3 0002.6 6212 3796 Accepted 100
81 3 0002.6 6212 3676 Accepted 100
82 3 0002.6 6212 3672 Accepted 100
83 3 0002.8 6212 3652 Accepted 100
84 3 0002.5 6212 3732 Accepted 100
85 3 0002.5 6212 3636 Accepted 100
86 3 0002.7 6212 3664 Accepted 100
87 3 0002.6 6212 3704 Accepted 100
88 3 0002.6 6212 3652 Accepted 100
89 3 0002.5 6212 3676 Accepted 100
90 3 0002.6 6212 3648 Accepted 100
91 3 0002.6 6212 3632 Accepted 100
92 3 0002.5 6212 3648 Accepted 100
93 3 0002.6 6212 3676 Accepted 100
94 3 0002.6 6212 3788 Accepted 100
95 3 0002.4 6212 3656 Accepted 100
96 3 0002.6 6212 3632 Accepted 100
97 3 0002.6 6212 3656 Accepted 100
98 3 0002.6 6212 3672 Accepted 100
99 3 0002.7 6212 3676 Accepted 100
100 4 0062.9 23040 20308 Accepted 100
101 4 0064.3 23180 20472 Accepted 100
102 4 0069.9 23576 20996 Accepted 100
103 4 0068.3 23584 20944 Accepted 100
104 4 0068.8 23468 20828 Accepted 100
105 4 0070.2 23444 20708 Accepted 100
106 4 0064.3 23040 20440 Accepted 100
107 4 0067.6 23168 20344 Accepted 100
108 4 0066.6 23436 20788 Accepted 100
109 4 0067.9 23456 20880 Accepted 100
110 4 0066.9 23592 20904 Accepted 100
111 4 0066.3 23436 20776 Accepted 100
112 4 0068.5 23712 21000 Accepted 100
113 4 0063.5 22900 20348 Accepted 100
114 4 0063.1 23032 20276 Accepted 100
115 4 0059.9 22480 19640 Accepted 100
116 4 0061.2 22756 20132 Accepted 100
117 4 0064.1 23028 20112 Accepted 100
118 4 0061.0 22484 19900 Accepted 100
119 4 0065.7 23032 20348 Accepted 100
120 4 0066.7 23440 20848 Accepted 100
121 4 0067.4 23448 20768 Accepted 100
122 4 0068.7 23436 20696 Accepted 100
123 4 0064.8 22904 20100 Accepted 100
124 4 0066.4 23164 20576 Accepted 100
125 4 0066.5 23036 20472 Accepted 100
126 4 0067.6 23304 20684 Accepted 100
127 4 0066.9 23304 20672 Accepted 100
128 4 0068.2 23572 20732 Accepted 100
129 4 0068.8 23576 20704 Accepted 100
130 4 0065.1 23184 20460 Accepted 100
131 4 0065.9 23176 20392 Accepted 100
132 4 0067.0 23428 20712 Accepted 100
133 4 0068.6 23448 20864 Accepted 100
134 4 0065.0 23024 20432 Accepted 100
135 4 0067.2 23316 20564 Accepted 100
136 4 0069.2 23304 20644 Accepted 100
137 4 0059.8 22352 19736 Accepted 100
138 4 0040.4 19248 16636 Accepted 100
139 4 0003.8 6476 3996 Accepted 100
140 4 0043.9 20060 17476 Accepted 100
141 4 0067.1 23036 20236 Accepted 100
142 4 0014.1 10172 7456 Accepted 100
143 4 0046.6 20472 17800 Accepted 100
144 4 0042.0 19224 16440 Accepted 100
145 4 0041.4 19256 16592 Accepted 100
146 4 0059.8 22224 19388 Accepted 100
147 4 0067.1 23444 20884 Accepted 100
148 4 0018.3 10964 8240 Accepted 100
149 4 0049.3 20880 18204 Accepted 100
150 4 0027.5 16292 13564 Accepted 100
151 4 0002.9 6344 3792 Accepted 100
152 4 0002.9 6344 3800 Accepted 100
153 4 0003.1 6344 3832 Accepted 100
154 4 0003.4 6476 3896 Accepted 100
155 4 0003.3 6476 4052 Accepted 100
156 4 0003.3 6476 3948 Accepted 100
157 4 0003.0 6344 3848 Accepted 100
158 4 0003.2 6344 3872 Accepted 100
159 4 0003.3 6476 3920 Accepted 100
160 4 0003.3 6476 3948 Accepted 100
161 4 0003.4 6476 3816 Accepted 100
162 4 0003.5 6476 4084 Accepted 100
163 4 0003.1 6344 3832 Accepted 100
164 4 0003.3 6476 3916 Accepted 100
165 4 0003.4 6476 3996 Accepted 100
166 4 0003.2 6476 3916 Accepted 100
167 4 0003.4 6476 3976 Accepted 100
168 4 0003.5 6476 3992 Accepted 100
169 4 0003.2 6476 3892 Accepted 100
170 4 0003.3 6476 3792 Accepted 100
171 4 0003.3 6476 3928 Accepted 100
172 4 0003.4 6476 3984 Accepted 100
173 4 0003.4 6476 3976 Accepted 100
174 4 0003.6 6476 3992 Accepted 100
175 4 0003.3 6476 3904 Accepted 100
176 4 0003.3 6476 3944 Accepted 100
177 4 0003.4 6476 3936 Accepted 100
178 4 0003.6 6476 3976 Accepted 100
179 4 0003.7 6476 4024 Accepted 100
180 4 0003.7 6476 3992 Accepted 100
181 4 0003.4 6476 4000 Accepted 100
182 4 0003.3 6476 3964 Accepted 100
183 4 0003.5 6476 3956 Accepted 100
184 4 0003.6 6476 4020 Accepted 100
185 4 0003.7 6476 4056 Accepted 100
186 4 0003.9 6476 4068 Accepted 100
187 5 0068.2 23588 20640 Accepted 100
188 5 0067.2 23576 20844 Accepted 100
189 5 0067.3 23432 20772 Accepted 100
190 5 0055.1 23200 20440 Accepted 100
191 5 0058.2 23320 20728 Accepted 100
192 5 0062.4 23576 21012 Accepted 100
193 5 0065.5 23440 20916 Accepted 100
194 5 0064.3 23588 20900 Accepted 100
195 5 0067.1 23576 20964 Accepted 100
196 5 0002.5 6212 3540 Accepted 100
197 5 0002.9 6212 3644 Accepted 100
198 5 0002.7 6212 3788 Accepted 100
199 5 0002.7 6212 3652 Accepted 100
200 5 0002.7 6212 3672 Accepted 100
201 5 0002.6 6212 3636 Accepted 100
202 5 0002.6 6212 3688 Accepted 100
203 5 0002.6 6212 3692 Accepted 100
204 5 0002.5 6212 3664 Accepted 100
205 5 0002.6 6212 3652 Accepted 100
206 5 0002.6 6212 3688 Accepted 100
207 5 0002.7 6212 3636 Accepted 100
208 5 0002.6 6212 3664 Accepted 100
209 5 0002.5 6212 3652 Accepted 100
210 5 0002.5 6212 3672 Accepted 100
211 5 0020.0 11360 8704 Accepted 100
212 5 0015.0 10172 7600 Accepted 100
213 5 0015.3 10436 7776 Accepted 100
214 5 0012.3 9780 7040 Accepted 100
215 5 0037.6 18860 16236 Accepted 100
216 5 0006.7 7532 4884 Accepted 100
217 5 0004.8 7004 4332 Accepted 100
218 5 0003.8 6476 4036 Accepted 100
219 5 0014.9 10304 7604 Accepted 100
220 5 0060.0 22776 19840 Accepted 100
221 5 0006.3 7400 4704 Accepted 100
222 5 0036.4 18700 16132 Accepted 100
Submitter:
Compiler:
c++14
Code Length:
2.13 KB
Back to Top