結果

問題 No.144 エラトステネスのざる
ユーザー なおなお
提出日時 2015-02-06 15:57:16
言語 Perl
(5.38.2)
結果
TLE  
実行時間 -
コード長 86 bytes
コンパイル時間 246 ms
コンパイル使用メモリ 5,212 KB
実行使用メモリ 132,484 KB
最終ジャッジ日時 2023-09-05 14:26:52
合計ジャッジ時間 6,943 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
9,052 KB
testcase_01 AC 2 ms
4,600 KB
testcase_02 AC 2 ms
4,772 KB
testcase_03 AC 2 ms
4,668 KB
testcase_04 AC 2 ms
4,596 KB
testcase_05 AC 2 ms
4,624 KB
testcase_06 AC 4 ms
4,592 KB
testcase_07 AC 3 ms
4,844 KB
testcase_08 AC 3 ms
4,940 KB
testcase_09 AC 4 ms
5,040 KB
testcase_10 AC 4 ms
4,888 KB
testcase_11 AC 3 ms
4,724 KB
testcase_12 AC 3 ms
4,920 KB
testcase_13 TLE -
testcase_14 TLE -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>=~/ /;@c=(1,1)x$`,$p=1-$';for$i(2..$`){$r+=$c[$i];$c[$i*$_]*=$p for 2..$`/$i}print$r
0