Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

13336
30772
Time Limit Exceeded
53

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$ 0 / 47
5 187~222 無額外限制。 11 / 11

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.8 7208 3544 Accepted 100
1 1 0002.7 7208 3580 Accepted 100
2 2 0002.8 7208 3576 Accepted 100
3 2 0002.7 7208 3540 Accepted 100
4 2 0002.8 7208 3460 Accepted 100
5 2 0002.9 7208 3520 Accepted 100
6 2 0002.7 7208 3524 Accepted 100
7 2 0002.8 7208 3544 Accepted 100
8 2 0002.8 7208 3540 Accepted 100
9 2 0002.8 7208 3372 Accepted 100
10 2 0002.7 7208 3576 Accepted 100
11 2 0002.7 7208 3512 Accepted 100
12 2 0002.8 7208 3548 Accepted 100
13 2 0002.9 7208 3580 Accepted 100
14 2 0002.9 7208 3528 Accepted 100
15 2 0002.9 7208 3584 Accepted 100
16 2 0002.8 7208 3548 Accepted 100
17 2 0002.9 7208 3640 Accepted 100
18 2 0002.7 7208 3536 Accepted 100
19 2 0002.7 7208 3468 Accepted 100
20 2 0002.8 7208 3556 Accepted 100
21 3 0060.3 23124 20276 Accepted 100
22 3 0055.1 23128 19372 Accepted 100
23 3 0053.6 22988 19076 Accepted 100
24 3 0054.5 22988 19108 Accepted 100
25 3 0054.7 22992 19104 Accepted 100
26 3 0053.3 22996 19112 Accepted 100
27 3 0053.6 22996 19200 Accepted 100
28 3 0053.4 22996 19232 Accepted 100
29 3 0053.9 23120 19256 Accepted 100
30 3 0055.1 23128 19252 Accepted 100
31 3 0054.9 23124 19276 Accepted 100
32 3 0054.5 23124 19304 Accepted 100
33 3 0058.7 22992 19992 Accepted 100
34 3 0059.5 22988 20040 Accepted 100
35 3 0061.4 22996 20076 Accepted 100
36 3 0060.0 22996 20132 Accepted 100
37 3 0059.8 22992 20120 Accepted 100
38 3 0059.6 22992 20164 Accepted 100
39 3 0059.7 23124 20024 Accepted 100
40 3 0059.9 23124 20196 Accepted 100
41 3 0059.9 23124 20248 Accepted 100
42 3 0060.3 23128 20280 Accepted 100
43 3 0004.6 7604 4232 Accepted 100
44 3 0004.8 7736 4268 Accepted 100
45 3 0004.4 7340 3780 Accepted 100
46 3 0003.5 7472 3764 Accepted 100
47 3 0003.8 7604 3960 Accepted 100
48 3 0004.1 7604 3856 Accepted 100
49 3 0004.2 7736 4016 Accepted 100
50 3 0006.2 8264 4696 Accepted 100
51 3 0006.6 8132 4636 Accepted 100
52 3 0006.8 8132 4904 Accepted 100
53 3 0019.8 11480 7912 Accepted 100
54 3 0019.9 12816 8824 Accepted 100
55 3 0026.2 14960 11228 Accepted 100
56 3 0028.7 15760 11872 Accepted 100
57 3 0031.8 16696 12960 Accepted 100
58 3 0003.1 7208 3588 Accepted 100
59 3 0035.1 17768 14000 Accepted 100
60 3 0036.5 18308 14372 Accepted 100
61 3 0008.2 8528 5196 Accepted 100
62 3 0037.0 18436 14632 Accepted 100
63 3 0008.2 8660 5416 Accepted 100
64 3 0009.6 9188 5784 Accepted 100
65 3 0012.0 9852 6760 Accepted 100
66 3 0033.2 15896 12700 Accepted 100
67 3 0041.6 18440 15336 Accepted 100
68 3 0042.6 18704 15596 Accepted 100
69 3 0049.2 20316 17524 Accepted 100
70 3 0053.5 20712 17900 Accepted 100
71 3 0051.3 20852 18080 Accepted 100
72 3 0057.4 22588 19600 Accepted 100
73 3 0003.0 7208 3592 Accepted 100
74 3 0002.9 7208 3596 Accepted 100
75 3 0002.6 7208 3588 Accepted 100
76 3 0002.5 7208 3596 Accepted 100
77 3 0002.7 7208 3656 Accepted 100
78 3 0002.7 7208 3556 Accepted 100
79 3 0002.7 7208 3384 Accepted 100
80 3 0002.5 7208 3460 Accepted 100
81 3 0002.5 7208 3544 Accepted 100
82 3 0002.5 7208 3552 Accepted 100
83 3 0002.7 7208 3464 Accepted 100
84 3 0002.8 7208 3532 Accepted 100
85 3 0002.6 7208 3540 Accepted 100
86 3 0002.6 7208 3584 Accepted 100
87 3 0002.5 7208 3536 Accepted 100
88 3 0002.5 7208 3380 Accepted 100
89 3 0002.6 7208 3640 Accepted 100
90 3 0002.7 7208 3460 Accepted 100
91 3 0002.6 7208 3496 Accepted 100
92 3 0003.0 7208 3640 Accepted 100
93 3 0002.7 7208 3472 Accepted 100
94 3 0002.8 7208 3588 Accepted 100
95 3 0002.6 7208 3584 Accepted 100
96 3 0002.7 7208 3592 Accepted 100
97 3 0002.7 7208 3548 Accepted 100
98 3 0002.7 7208 3556 Accepted 100
99 3 0002.6 7208 3552 Accepted 100
100 4 0162.4 35408 28600 Accepted 100
101 4 0164.0 35984 29124 Accepted 100
102 4 0178.1 37312 30632 Accepted 100
103 4 0176.0 37172 30492 Accepted 100
104 4 0172.2 37024 29996 Accepted 100
105 4 0172.4 36868 30060 Accepted 100
106 4 0160.8 35696 28856 Accepted 100
107 4 0164.7 36276 29488 Accepted 100
108 4 0165.7 36564 29732 Accepted 100
109 4 0169.1 36860 30028 Accepted 100
110 4 0183.1 37320 30604 Accepted 100
111 4 0179.1 36856 29848 Accepted 100
112 4 0178.6 37312 30656 Accepted 100
113 4 0163.2 35408 28576 Accepted 100
114 4 0164.4 35568 28788 Accepted 100
115 4 0165.0 34680 28152 Accepted 100
116 4 0157.7 34684 28164 Accepted 100
117 4 0168.4 36144 29248 Accepted 100
118 4 0158.5 34560 27964 Accepted 100
119 4 0169.7 36156 29316 Accepted 100
120 4 0173.6 36880 30064 Accepted 100
121 4 0208.4 37316 30648 Accepted 100
122 4 0181.7 37588 30712 Accepted 100
123 4 0172.7 36008 29172 Accepted 100
124 4 0178.2 36428 29708 Accepted 100
125 4 0175.0 36164 29368 Accepted 100
126 4 0183.5 37020 30172 Accepted 100
127 4 0187.4 37024 30248 Accepted 100
128 4 0189.8 37480 30732 Accepted 100
129 4 0190.8 37456 30752 Accepted 100
130 4 0185.0 36744 29940 Accepted 100
131 4 0184.2 36748 29960 Accepted 100
132 4 0189.6 37168 30476 Accepted 100
133 4 0192.6 37484 30652 Accepted 100
134 4 0182.5 36168 29536 Accepted 100
135 4 0183.9 36888 30196 Accepted 100
136 4 0182.0 36876 30076 Accepted 100
137 4 0163.2 33840 27624 Accepted 100
138 4 0108.2 25252 19588 Accepted 100
139 4 0005.7 7736 4088 Accepted 100
140 4 0117.6 27440 21408 Accepted 100
141 4 0167.5 35996 29240 Accepted 100
142 4 0037.2 13168 9436 Accepted 100
143 4 0128.4 29212 22476 Accepted 100
144 4 0108.8 25868 20036 Accepted 100
145 4 0110.4 25864 20016 Accepted 100
146 4 0164.4 33984 27656 Accepted 100
147 4 0190.5 37336 30772 Accepted 100
148 4 0053.3 15444 12088 Accepted 100
149 4 0132.2 30064 23192 Accepted 100
150 4 0060.8 17144 13124 Accepted 100
151 4 0003.8 7340 3752 Accepted 100
152 4 0019.3 7340 3604 Accepted 100
153 4 0003.7 7340 3672 Accepted 100
154 4 0003.8 7340 3788 Accepted 100
155 4 0004.1 7472 3812 Accepted 100
156 4 0004.5 7472 3840 Accepted 100
157 4 0003.6 7340 3828 Accepted 100
158 4 0118.7 7340 3764 Accepted 100
159 4 0004.0 7340 3832 Accepted 100
160 4 0004.1 7472 3856 Accepted 100
161 4 0004.3 7472 3724 Accepted 100
162 4 0004.5 7472 3920 Accepted 100
163 4 0004.0 7340 3744 Accepted 100
164 4 0004.5 7340 3848 Accepted 100
165 4 0004.1 7472 3904 Accepted 100
166 4 0005.2 7472 3884 Accepted 100
167 4 0004.8 7472 3856 Accepted 100
168 4 0005.2 7604 4008 Accepted 100
169 4 0004.1 7340 3804 Accepted 100
170 4 0004.2 7472 3796 Accepted 100
171 4 0004.6 7472 3732 Accepted 100
172 4 0595.3 7472 3752 Time Limit Exceeded 0
173 4 0005.1 7604 3972 Accepted 100
174 4 0005.4 7604 4032 Accepted 100
175 4 0004.2 7472 3824 Accepted 100
176 4 0004.6 7472 3896 Accepted 100
177 4 0004.9 7472 3776 Accepted 100
178 4 0005.2 7604 3912 Accepted 100
179 4 0006.0 7604 4024 Accepted 100
180 4 0006.5 7604 4132 Accepted 100
181 4 0004.8 7472 3912 Accepted 100
182 4 0004.8 7472 3916 Accepted 100
183 4 0004.9 7604 4020 Accepted 100
184 4 0005.3 7604 4044 Accepted 100
185 4 0005.7 7604 4076 Accepted 100
186 4 0029.0 7736 4080 Accepted 100
187 5 0165.9 36836 29712 Accepted 100
188 5 0378.1 36840 29752 Accepted 100
189 5 0154.1 36560 29708 Accepted 100
190 5 0124.7 30648 24108 Accepted 100
191 5 0101.7 33372 26440 Accepted 100
192 5 0137.2 34720 27520 Accepted 100
193 5 0149.9 35476 28200 Accepted 100
194 5 0154.1 35936 28832 Accepted 100
195 5 0158.0 36392 29316 Accepted 100
196 5 0003.0 7208 3560 Accepted 100
197 5 0002.9 7208 3584 Accepted 100
198 5 0002.8 7208 3544 Accepted 100
199 5 0002.6 7208 3512 Accepted 100
200 5 0002.5 7208 3532 Accepted 100
201 5 0002.5 7208 3636 Accepted 100
202 5 0002.7 7208 3344 Accepted 100
203 5 0002.6 7208 3584 Accepted 100
204 5 0002.8 7208 3548 Accepted 100
205 5 0042.2 7208 3548 Accepted 100
206 5 0002.6 7208 3528 Accepted 100
207 5 0002.7 7208 3600 Accepted 100
208 5 0002.6 7208 3556 Accepted 100
209 5 0010.9 7208 3560 Accepted 100
210 5 0002.9 7208 3564 Accepted 100
211 5 0197.0 16392 12572 Accepted 100
212 5 0036.7 13436 9784 Accepted 100
213 5 0036.7 13708 9904 Accepted 100
214 5 0019.6 11700 7916 Accepted 100
215 5 0073.1 22876 17284 Accepted 100
216 5 0011.5 9320 5744 Accepted 100
217 5 0008.2 8132 4708 Accepted 100
218 5 0005.1 7604 4096 Accepted 100
219 5 0036.4 13576 9832 Accepted 100
220 5 0163.8 34064 27196 Accepted 100
221 5 0017.9 9056 5556 Accepted 100
222 5 0104.3 23464 17384 Accepted 100
Submitter:
Compiler:
c++17
Code Length:
1.72 KB
Back to Top