Back to Submissions List

Problem

Total Time (ms)

Max Memory (RSS, KiB)

Verdict

Score

50280
565264
Runtime Error (killed by signal)
0

Subtask Results

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

Testdata Results

Testdata no. Subtasks Time (ms) Memory (VSS, KiB) Memory (RSS, KiB) Verdict Score
0 1 0002.7 6196 3608 Accepted 100
1 1 0005.8 7168 4672 Accepted 100
2 2 0002.8 6060 3448 Accepted 100
3 2 0002.7 6060 3628 Accepted 100
4 2 0003.0 6192 3736 Accepted 100
5 2 0003.1 6324 3796 Accepted 100
6 2 0005.8 7168 4808 Accepted 100
7 2 0018.6 11064 8420 Wrong Answer 0
8 2 0090.8 28352 25584 Wrong Answer 0
9 2 0002.7 6060 3692 Accepted 100
10 2 0002.9 6196 3664 Accepted 100
11 2 0005.6 7168 4812 Accepted 100
12 2 0056.1 16248 13496 Wrong Answer 0
13 2 0002.9 6192 3664 Accepted 100
14 2 0005.8 7168 4768 Accepted 100
15 2 0141.0 28352 25588 Accepted 100
16 2 0003.3 6324 3868 Accepted 100
17 2 0055.3 16248 13600 Wrong Answer 0
18 2 0006.4 7168 4676 Accepted 100
19 2 0018.8 11064 8500 Wrong Answer 0
20 2 0093.3 28352 25676 Wrong Answer 0
21 3 0642.9 515620 512276 Time Limit Exceeded 0
22 3 0656.4 516744 513420 Time Limit Exceeded 0
23 3 0003.0 6060 3572 Runtime Error (killed by signal) 0
24 3 0003.4 6060 3756 Runtime Error (killed by signal) 0
25 3 0003.0 6060 3344 Runtime Error (killed by signal) 0
26 3 0003.1 6196 3596 Runtime Error (killed by signal) 0
27 3 0003.8 6616 3848 Runtime Error (killed by signal) 0
28 3 0006.1 8020 5424 Runtime Error (killed by signal) 0
29 3 0013.7 14044 11296 Runtime Error (killed by signal) 0
30 3 0042.9 38056 35476 Runtime Error (killed by signal) 0
31 3 0168.3 134088 131600 Runtime Error (killed by signal) 0
32 3 0649.6 518848 516176 Time Limit Exceeded 0
33 3 0003.0 6060 3772 Runtime Error (killed by signal) 0
34 3 0003.1 6060 3684 Runtime Error (killed by signal) 0
35 3 0003.0 6060 3380 Runtime Error (killed by signal) 0
36 3 0003.0 6196 3548 Runtime Error (killed by signal) 0
37 3 0003.4 6616 3944 Runtime Error (killed by signal) 0
38 3 0005.5 8020 5392 Runtime Error (killed by signal) 0
39 3 0012.7 14044 11476 Runtime Error (killed by signal) 0
40 3 0043.4 38056 35468 Runtime Error (killed by signal) 0
41 3 0167.6 134088 131552 Runtime Error (killed by signal) 0
42 3 0654.2 518848 516168 Time Limit Exceeded 0
43 3 0002.9 6060 3496 Runtime Error (killed by signal) 0
44 3 0669.5 643192 546960 Time Limit Exceeded 0
45 3 0004.3 6852 4292 Runtime Error (killed by signal) 0
46 3 0002.9 6192 3548 Runtime Error (killed by signal) 0
47 3 0004.4 7248 4588 Runtime Error (killed by signal) 0
48 3 0003.0 6060 3624 Runtime Error (killed by signal) 0
49 3 0657.5 565768 543224 Time Limit Exceeded 0
50 3 0002.9 6060 3308 Runtime Error (killed by signal) 0
51 3 0003.1 6192 3420 Runtime Error (killed by signal) 0
52 3 0682.5 644248 546644 Time Limit Exceeded 0
53 3 0668.9 552840 527036 Time Limit Exceeded 0
54 3 0003.0 6060 3596 Runtime Error (killed by signal) 0
55 3 0668.9 531824 524216 Time Limit Exceeded 0
56 3 0660.8 543748 517548 Time Limit Exceeded 0
57 3 0003.0 6192 3580 Runtime Error (killed by signal) 0
58 3 0659.2 545168 540952 Time Limit Exceeded 0
59 3 0686.7 542056 538748 Time Limit Exceeded 0
60 3 0003.4 6472 3848 Runtime Error (killed by signal) 0
61 3 0662.4 546088 543168 Time Limit Exceeded 0
62 3 0034.7 31972 29144 Runtime Error (killed by signal) 0
63 3 0638.3 517052 513868 Time Limit Exceeded 0
64 3 0002.9 6060 3344 Runtime Error (killed by signal) 0
65 3 0654.8 928116 534180 Time Limit Exceeded 0
66 3 0670.1 924972 530036 Time Limit Exceeded 0
67 3 0004.8 7720 4932 Runtime Error (killed by signal) 0
68 3 0005.0 7752 5040 Runtime Error (killed by signal) 0
69 3 0011.6 13240 10580 Runtime Error (killed by signal) 0
70 3 0039.5 34948 32228 Runtime Error (killed by signal) 0
71 3 0645.8 614540 514344 Time Limit Exceeded 0
72 3 0003.0 6060 3680 Runtime Error (killed by signal) 0
73 3 0653.0 428332 422320 Time Limit Exceeded 0
74 3 0648.3 526372 478212 Time Limit Exceeded 0
75 3 0665.6 840556 495524 Time Limit Exceeded 0
76 3 0003.1 6060 3768 Runtime Error (killed by signal) 0
77 3 0003.1 6060 3772 Runtime Error (killed by signal) 0
78 3 0003.1 6060 3620 Runtime Error (killed by signal) 0
79 3 0654.8 428332 422504 Time Limit Exceeded 0
80 3 0644.6 529144 481152 Time Limit Exceeded 0
81 3 0663.4 839632 494544 Time Limit Exceeded 0
82 3 0002.9 6060 3764 Runtime Error (killed by signal) 0
83 3 0002.9 6060 3760 Runtime Error (killed by signal) 0
84 3 0003.1 6060 3720 Runtime Error (killed by signal) 0
85 3 0002.7 6060 3676 Accepted 100
86 3 0002.8 6060 3684 Accepted 100
87 3 0002.7 6192 3612 Accepted 100
88 3 0003.3 6324 3792 Accepted 100
89 3 0005.3 7168 4772 Accepted 100
90 3 0018.6 11064 8468 Wrong Answer 0
91 3 0088.2 28352 25672 Wrong Answer 0
92 3 0435.5 103416 99728 Accepted 100
93 3 0002.9 6060 3652 Accepted 100
94 3 0002.9 6192 3620 Accepted 100
95 3 0003.3 6324 3920 Accepted 100
96 3 0005.7 7168 4684 Accepted 100
97 3 0018.4 11064 8336 Wrong Answer 0
98 3 0090.7 28352 25668 Wrong Answer 0
99 3 0461.4 103416 99856 Accepted 100
100 4 0163.4 129996 127444 Runtime Error (killed by signal) 0
101 4 0003.8 6608 3816 Runtime Error (killed by signal) 0
102 4 0644.4 514352 510884 Time Limit Exceeded 0
103 4 0084.1 70056 67448 Runtime Error (killed by signal) 0
104 4 0003.5 6616 3900 Runtime Error (killed by signal) 0
105 4 0004.2 7036 4316 Runtime Error (killed by signal) 0
106 4 0688.7 940296 545280 Time Limit Exceeded 0
107 4 0680.1 546008 542584 Time Limit Exceeded 0
108 4 0003.0 6060 3732 Runtime Error (killed by signal) 0
109 4 0012.4 14044 11320 Runtime Error (killed by signal) 0
110 4 0085.5 70056 67312 Runtime Error (killed by signal) 0
111 4 0012.8 14044 11300 Runtime Error (killed by signal) 0
112 4 0651.7 519280 515904 Time Limit Exceeded 0
113 4 0003.5 6600 3888 Runtime Error (killed by signal) 0
114 4 0642.8 507320 502344 Time Limit Exceeded 0
115 4 0003.2 6192 3600 Runtime Error (killed by signal) 0
116 4 0044.4 36536 33980 Runtime Error (killed by signal) 0
117 4 0003.0 6060 3712 Runtime Error (killed by signal) 0
118 4 0002.8 6060 3488 Runtime Error (killed by signal) 0
119 4 0002.6 6060 3352 Runtime Error (killed by signal) 0
120 4 0002.8 6060 3340 Runtime Error (killed by signal) 0
121 4 0644.5 518004 515384 Time Limit Exceeded 0
122 4 0659.6 517448 514072 Time Limit Exceeded 0
123 4 0640.0 503604 500112 Time Limit Exceeded 0
124 4 0003.2 6332 3704 Runtime Error (killed by signal) 0
125 4 0690.4 936192 541188 Time Limit Exceeded 0
126 4 0003.0 6060 3756 Runtime Error (killed by signal) 0
127 4 0003.0 6060 3316 Runtime Error (killed by signal) 0
128 4 0655.5 518848 516252 Time Limit Exceeded 0
129 4 0676.0 534060 530508 Time Limit Exceeded 0
130 4 0682.7 547116 543604 Time Limit Exceeded 0
131 4 0681.5 539080 535748 Time Limit Exceeded 0
132 4 0004.2 7036 4448 Runtime Error (killed by signal) 0
133 4 0651.7 518848 516092 Time Limit Exceeded 0
134 4 0003.0 6060 3776 Runtime Error (killed by signal) 0
135 4 0003.0 6060 3704 Runtime Error (killed by signal) 0
136 4 0693.6 641496 541236 Time Limit Exceeded 0
137 4 0003.0 6060 3680 Runtime Error (killed by signal) 0
138 4 0010.8 12180 9464 Runtime Error (killed by signal) 0
139 4 0671.7 564580 543148 Time Limit Exceeded 0
140 4 0003.2 6060 3844 Runtime Error (killed by signal) 0
141 4 0003.1 6060 3696 Runtime Error (killed by signal) 0
142 4 0683.6 558596 554632 Time Limit Exceeded 0
143 4 0664.2 545768 519356 Time Limit Exceeded 0
144 4 0261.0 200736 198016 Runtime Error (killed by signal) 0
145 4 0510.6 395972 393344 Runtime Error (killed by signal) 0
146 4 0003.2 6060 3812 Runtime Error (killed by signal) 0
147 4 0084.4 70056 67276 Runtime Error (killed by signal) 0
148 4 0662.3 534260 531388 Time Limit Exceeded 0
149 4 0003.2 6060 3580 Runtime Error (killed by signal) 0
150 4 0657.3 910248 515732 Time Limit Exceeded 0
151 4 0203.0 158696 156020 Runtime Error (killed by signal) 0
152 4 0003.1 6060 3760 Runtime Error (killed by signal) 0
153 4 0003.8 6720 3996 Runtime Error (killed by signal) 0
154 4 0682.9 569728 551280 Time Limit Exceeded 0
155 4 0003.0 6060 3308 Runtime Error (killed by signal) 0
156 4 0018.9 19388 16892 Runtime Error (killed by signal) 0
157 4 0003.1 6060 3768 Runtime Error (killed by signal) 0
158 4 0004.5 7512 4684 Runtime Error (killed by signal) 0
159 4 0647.7 624052 531436 Time Limit Exceeded 0
160 4 0002.9 6060 3328 Runtime Error (killed by signal) 0
161 4 0266.3 224168 221644 Runtime Error (killed by signal) 0
162 4 0003.1 6060 3760 Runtime Error (killed by signal) 0
163 4 0003.6 6720 4148 Runtime Error (killed by signal) 0
164 4 0647.3 621676 529224 Time Limit Exceeded 0
165 4 0003.2 6060 3360 Runtime Error (killed by signal) 0
166 4 0694.0 572360 565264 Time Limit Exceeded 0
167 4 0002.9 6060 3488 Runtime Error (killed by signal) 0
168 4 0079.3 68348 65696 Runtime Error (killed by signal) 0
169 4 0689.0 581476 563212 Time Limit Exceeded 0
170 4 0002.9 6060 3528 Runtime Error (killed by signal) 0
171 4 0678.3 559424 552148 Time Limit Exceeded 0
172 4 0002.9 6060 3488 Runtime Error (killed by signal) 0
173 4 0321.9 256904 254324 Runtime Error (killed by signal) 0
174 4 0003.3 6060 3808 Runtime Error (killed by signal) 0
175 4 0003.0 6060 3280 Runtime Error (killed by signal) 0
176 4 0279.7 224168 221416 Runtime Error (killed by signal) 0
177 4 0002.9 6060 3304 Runtime Error (killed by signal) 0
178 4 0320.7 256904 254408 Runtime Error (killed by signal) 0
179 4 0003.0 6060 3524 Runtime Error (killed by signal) 0
180 4 0356.9 289772 287064 Runtime Error (killed by signal) 0
181 4 0018.9 19388 16684 Runtime Error (killed by signal) 0
182 4 0003.0 6060 3684 Runtime Error (killed by signal) 0
183 4 0080.8 68348 65700 Runtime Error (killed by signal) 0
184 4 0003.0 6060 3628 Runtime Error (killed by signal) 0
185 4 0353.0 289772 286956 Runtime Error (killed by signal) 0
186 4 0003.0 6060 3472 Runtime Error (killed by signal) 0
187 5 0674.6 534200 530740 Time Limit Exceeded 0
188 5 0008.1 10124 7340 Runtime Error (killed by signal) 0
189 5 0651.4 516456 513820 Time Limit Exceeded 0
190 5 0657.7 517864 515244 Time Limit Exceeded 0
191 5 0646.7 504076 500744 Time Limit Exceeded 0
192 5 0657.1 515476 512064 Time Limit Exceeded 0
193 5 0663.3 518848 516172 Time Limit Exceeded 0
194 5 0081.9 70056 67292 Runtime Error (killed by signal) 0
195 5 0655.5 515336 511884 Time Limit Exceeded 0
196 5 0002.8 6060 3312 Runtime Error (killed by signal) 0
197 5 0003.1 6060 3744 Runtime Error (killed by signal) 0
198 5 0583.9 103416 100024 Time Limit Exceeded 0
199 5 0674.4 541028 499480 Time Limit Exceeded 0
200 5 0650.0 826828 480268 Time Limit Exceeded 0
201 5 0003.0 6060 3596 Runtime Error (killed by signal) 0
202 5 0649.2 824716 478028 Time Limit Exceeded 0
203 5 0003.0 6060 3620 Runtime Error (killed by signal) 0
204 5 0622.6 428332 422284 Time Limit Exceeded 0
205 5 0466.5 1050556 291144 Memory Limit Exceeded 0
206 5 0003.1 6060 3668 Runtime Error (killed by signal) 0
207 5 0003.1 6060 3320 Runtime Error (killed by signal) 0
208 5 0003.0 6060 3480 Runtime Error (killed by signal) 0
209 5 0004.0 6852 4228 Runtime Error (killed by signal) 0
210 5 0002.9 6060 3460 Runtime Error (killed by signal) 0
211 5 0003.1 6060 3688 Runtime Error (killed by signal) 0
212 5 0654.9 641752 542400 Time Limit Exceeded 0
213 5 0669.5 554968 550964 Time Limit Exceeded 0
214 5 0003.5 6456 3856 Runtime Error (killed by signal) 0
215 5 0666.5 536300 533256 Time Limit Exceeded 0
216 5 0005.6 8436 5744 Runtime Error (killed by signal) 0
217 5 0672.7 942856 551420 Time Limit Exceeded 0
218 5 0004.4 7116 4508 Runtime Error (killed by signal) 0
219 5 0020.4 21132 18388 Runtime Error (killed by signal) 0
220 5 0003.0 6060 3580 Runtime Error (killed by signal) 0
221 5 0002.9 6060 3828 Runtime Error (killed by signal) 0
222 5 0668.8 932532 537876 Time Limit Exceeded 0
Submitter:
Li
Compiler:
c++17
Code Length:
2.17 KB
Back to Top