結果

問題 No.533 Mysterious Stairs
ユーザー %20%20
提出日時 2017-06-24 01:08:04
言語 Perl
(5.38.0)
結果
RE  
実行時間 -
コード長 146 bytes
コンパイル時間 256 ms
コンパイル使用メモリ 5,288 KB
実行使用メモリ 202,648 KB
最終ジャッジ日時 2023-07-27 11:11:43
合計ジャッジ時間 11,565 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 AC 2 ms
4,812 KB
testcase_04 AC 2 ms
4,604 KB
testcase_05 AC 2 ms
4,908 KB
testcase_06 AC 3 ms
4,828 KB
testcase_07 AC 3 ms
4,656 KB
testcase_08 AC 3 ms
4,848 KB
testcase_09 AC 3 ms
4,776 KB
testcase_10 AC 3 ms
4,884 KB
testcase_11 AC 4 ms
4,660 KB
testcase_12 AC 5 ms
4,876 KB
testcase_13 AC 5 ms
4,912 KB
testcase_14 AC 5 ms
5,028 KB
testcase_15 AC 7 ms
5,164 KB
testcase_16 AC 10 ms
5,328 KB
testcase_17 AC 16 ms
5,712 KB
testcase_18 AC 24 ms
6,180 KB
testcase_19 AC 29 ms
6,844 KB
testcase_20 AC 293 ms
26,632 KB
testcase_21 AC 326 ms
29,204 KB
testcase_22 AC 1,003 ms
80,592 KB
testcase_23 AC 2,582 ms
200,308 KB
testcase_24 AC 2,590 ms
202,648 KB
testcase_25 AC 296 ms
26,836 KB
testcase_26 AC 2,251 ms
174,992 KB
testcase_27 AC 669 ms
54,456 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

@_=([1,0,0],[0,1,0],[1,1,1]);
//,push@_,[map+($_[$'-$_][$_-2]+$_[$'-$_][$_-3])%($m=1e9+7),1..3]for 3..($N=<>-1);
print eval(join'+',@{$_[$N]})%$m
0