結果

問題 No.314 ケンケンパ
ユーザー %20%20
提出日時 2017-01-01 12:39:49
言語 Perl
(5.38.2)
結果
AC  
実行時間 246 ms / 1,000 ms
コード長 71 bytes
コンパイル時間 209 ms
コンパイル使用メモリ 5,312 KB
実行使用メモリ 37,084 KB
最終ジャッジ日時 2023-08-22 09:11:21
合計ジャッジ時間 2,429 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 241 ms
36,568 KB
testcase_01 AC 2 ms
4,504 KB
testcase_02 AC 3 ms
4,556 KB
testcase_03 AC 3 ms
4,536 KB
testcase_04 AC 3 ms
4,488 KB
testcase_05 AC 2 ms
4,508 KB
testcase_06 AC 3 ms
4,468 KB
testcase_07 AC 2 ms
4,556 KB
testcase_08 AC 3 ms
4,500 KB
testcase_09 AC 2 ms
4,628 KB
testcase_10 AC 3 ms
4,636 KB
testcase_11 AC 3 ms
4,580 KB
testcase_12 AC 2 ms
4,548 KB
testcase_13 AC 3 ms
4,504 KB
testcase_14 AC 4 ms
4,800 KB
testcase_15 AC 5 ms
4,924 KB
testcase_16 AC 9 ms
5,404 KB
testcase_17 AC 27 ms
7,656 KB
testcase_18 AC 119 ms
20,048 KB
testcase_19 AC 246 ms
37,084 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

@_=(1,1,2);$_[$_]=($_[$_-3]+$_[$_-2])%(1e9+7)for 3..($N=<>);print$_[$N]
0