結果

問題 No.1186 長方形の敷き詰め
ユーザー tailstails
提出日時 2020-08-22 16:58:08
言語 Perl
(5.38.0)
結果
AC  
実行時間 246 ms / 2,000 ms
コード長 86 bytes
コンパイル時間 65 ms
コンパイル使用メモリ 5,328 KB
実行使用メモリ 37,664 KB
最終ジャッジ日時 2023-08-05 13:52:54
合計ジャッジ時間 2,945 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,132 KB
testcase_01 AC 6 ms
5,228 KB
testcase_02 AC 151 ms
37,664 KB
testcase_03 AC 6 ms
5,296 KB
testcase_04 AC 6 ms
5,064 KB
testcase_05 AC 6 ms
5,192 KB
testcase_06 AC 6 ms
5,196 KB
testcase_07 AC 6 ms
5,124 KB
testcase_08 AC 7 ms
5,168 KB
testcase_09 AC 246 ms
37,564 KB
testcase_10 AC 16 ms
6,612 KB
testcase_11 AC 7 ms
5,240 KB
testcase_12 AC 7 ms
5,388 KB
testcase_13 AC 6 ms
5,112 KB
testcase_14 AC 7 ms
5,384 KB
testcase_15 AC 6 ms
5,196 KB
testcase_16 AC 6 ms
5,252 KB
testcase_17 AC 51 ms
15,052 KB
testcase_18 AC 100 ms
25,820 KB
testcase_19 AC 118 ms
29,496 KB
testcase_20 AC 133 ms
33,072 KB
testcase_21 AC 94 ms
24,612 KB
testcase_22 AC 245 ms
37,584 KB
testcase_23 AC 139 ms
23,480 KB
testcase_24 AC 166 ms
33,032 KB
testcase_25 AC 91 ms
22,280 KB
testcase_26 AC 94 ms
24,832 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

($n,$m)=glob<>;$d[$_]=($_<$n||$d[$_-$n]+$d[$_-1])%998244353for 0..$m;print$n<2||$d[$m]
0