結果

問題 No.754 畳み込みの和
コンテスト
ユーザー %20
提出日時 2018-12-02 00:45:45
言語 Perl
(5.42.0)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 37 ms / 5,000 ms
コード長 62 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 405 ms
コンパイル使用メモリ 6,400 KB
実行使用メモリ 12,416 KB
最終ジャッジ日時 2026-03-14 10:12:49
合計ジャッジ時間 1,036 ms
ジャッジサーバーID
(参考情報)
judge3_1 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 3
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::s" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #
raw source code

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