結果

問題 No.1186 長方形の敷き詰め
ユーザー tailstails
提出日時 2020-08-22 16:58:08
言語 Perl
(5.38.2)
結果
AC  
実行時間 223 ms / 2,000 ms
コード長 86 bytes
コンパイル時間 119 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 38,528 KB
最終ジャッジ日時 2024-04-23 11:04:07
合計ジャッジ時間 2,368 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 8 ms
6,812 KB
testcase_01 AC 7 ms
6,944 KB
testcase_02 AC 138 ms
38,528 KB
testcase_03 AC 6 ms
6,940 KB
testcase_04 AC 7 ms
6,944 KB
testcase_05 AC 7 ms
6,944 KB
testcase_06 AC 6 ms
6,944 KB
testcase_07 AC 6 ms
6,940 KB
testcase_08 AC 7 ms
6,944 KB
testcase_09 AC 223 ms
38,400 KB
testcase_10 AC 15 ms
7,424 KB
testcase_11 AC 6 ms
6,944 KB
testcase_12 AC 7 ms
6,940 KB
testcase_13 AC 7 ms
6,940 KB
testcase_14 AC 7 ms
6,940 KB
testcase_15 AC 7 ms
6,944 KB
testcase_16 AC 6 ms
6,944 KB
testcase_17 AC 47 ms
16,000 KB
testcase_18 AC 85 ms
26,496 KB
testcase_19 AC 101 ms
30,464 KB
testcase_20 AC 114 ms
33,920 KB
testcase_21 AC 81 ms
25,472 KB
testcase_22 AC 222 ms
38,528 KB
testcase_23 AC 128 ms
24,320 KB
testcase_24 AC 144 ms
33,920 KB
testcase_25 AC 78 ms
22,912 KB
testcase_26 AC 80 ms
25,600 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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