結果

問題 No.754 畳み込みの和
ユーザー %20
提出日時 2018-12-02 00:14:43
言語 Perl
(5.40.0)
結果
AC  
実行時間 91 ms / 5,000 ms
コード長 63 bytes
コンパイル時間 39 ms
コンパイル使用メモリ 6,688 KB
実行使用メモリ 27,136 KB
最終ジャッジ日時 2024-06-27 03:06:54
合計ジャッジ時間 977 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::s" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

@A=map{($s+=<>)%=1e9+7}0..<>;($x+=$_*pop@A)%=1e9+7for<>;print$x
0