結果

問題 No.657 テトラナッチ数列 Easy
ユーザー %20%20
提出日時 2018-03-02 22:34:07
言語 Perl
(5.38.2)
結果
AC  
実行時間 267 ms / 2,000 ms
コード長 96 bytes
コンパイル時間 418 ms
コンパイル使用メモリ 5,216 KB
実行使用メモリ 38,824 KB
最終ジャッジ日時 2023-09-03 23:20:20
合計ジャッジ時間 5,759 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 256 ms
37,168 KB
testcase_01 AC 255 ms
36,956 KB
testcase_02 AC 254 ms
36,952 KB
testcase_03 AC 254 ms
36,972 KB
testcase_04 AC 253 ms
37,080 KB
testcase_05 AC 262 ms
38,580 KB
testcase_06 AC 253 ms
37,076 KB
testcase_07 AC 253 ms
36,976 KB
testcase_08 AC 253 ms
37,036 KB
testcase_09 AC 260 ms
38,740 KB
testcase_10 AC 263 ms
38,824 KB
testcase_11 AC 263 ms
38,748 KB
testcase_12 AC 262 ms
38,740 KB
testcase_13 AC 267 ms
38,740 KB
testcase_14 AC 263 ms
38,656 KB
testcase_15 AC 265 ms
38,740 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>;
@_=(_,0,0,0,1,1,2,4);
$_[$_]=(2*$_[$_-1]-$_[$_-5])%17for 8..1e6;
for(<>){
	print$_[$_],$/
}
0