結果

問題 No.754 畳み込みの和
ユーザー %20%20
提出日時 2018-12-02 00:12:04
言語 Perl
(5.38.0)
結果
AC  
実行時間 95 ms / 5,000 ms
コード長 73 bytes
コンパイル時間 208 ms
コンパイル使用メモリ 5,336 KB
実行使用メモリ 26,480 KB
最終ジャッジ日時 2023-09-09 09:51:20
合計ジャッジ時間 1,081 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 94 ms
26,392 KB
testcase_01 AC 95 ms
26,480 KB
testcase_02 AC 94 ms
26,472 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::s" used only once: possible typo at Main.pl line 2.
Main.pl syntax OK

ソースコード

diff #

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