結果

問題 No.754 畳み込みの和
ユーザー kotatsugame
提出日時 2018-12-03 05:36:01
言語 Perl
(5.40.0)
結果
AC  
実行時間 129 ms / 5,000 ms
コード長 71 bytes
コンパイル時間 29 ms
コンパイル使用メモリ 6,684 KB
実行使用メモリ 37,888 KB
最終ジャッジ日時 2024-07-01 05:34:59
合計ジャッジ時間 975 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::s" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$%=1e9+7;<>;@a=<>;($t+=(($s+=shift@a)%=$%)*pop@a)%=$%while@a;print$t,$/
0