結果

問題 No.554 recurrence formula
ユーザー %20
提出日時 2017-08-30 18:52:00
言語 Perl
(5.40.0)
結果
AC  
実行時間 28 ms / 2,000 ms
コード長 45 bytes
コンパイル時間 54 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 6,820 KB
最終ジャッジ日時 2024-11-06 14:32:48
合計ジャッジ時間 948 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::s" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$.=($_*=$s[$_%2]+=$.)%=1e9+7for 2..<>;print$.
0