結果

問題 No.30 たこやき工場
ユーザー tailstails
提出日時 2018-03-05 19:28:40
言語 Perl
(5.38.2)
結果
AC  
実行時間 901 ms / 5,000 ms
コード長 156 bytes
コンパイル時間 176 ms
コンパイル使用メモリ 5,272 KB
実行使用メモリ 6,012 KB
最終ジャッジ日時 2023-08-23 05:19:30
合計ジャッジ時間 3,207 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
4,804 KB
testcase_01 AC 6 ms
4,756 KB
testcase_02 AC 14 ms
4,888 KB
testcase_03 AC 18 ms
4,672 KB
testcase_04 AC 17 ms
4,720 KB
testcase_05 AC 16 ms
4,904 KB
testcase_06 AC 33 ms
5,044 KB
testcase_07 AC 26 ms
4,944 KB
testcase_08 AC 135 ms
4,868 KB
testcase_09 AC 182 ms
5,864 KB
testcase_10 AC 901 ms
6,012 KB
testcase_11 AC 127 ms
5,112 KB
testcase_12 AC 27 ms
4,924 KB
testcase_13 AC 71 ms
5,160 KB
testcase_14 AC 174 ms
5,440 KB
testcase_15 AC 190 ms
5,564 KB
testcase_16 AC 258 ms
5,760 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

# まだまだ縮む気がする
$a[$n=<>]=1;<>;push@{/.* /*$'},$_ for<>;for$i((1..$n)x1500){/ /,$a[$_]+=$'*$a[$i]for@$i;$a[$i]*=!@$i}$,=$/;print@a[1..$n-1]
0