結果

問題 No.754 畳み込みの和
コンテスト
ユーザー %20
提出日時 2018-12-02 00:45:45
言語 Perl
(5.44.0)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 44 ms / 5,000 ms
+ 145µs
コード長 62 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 5 ms
コンパイル使用メモリ 9,788 KB
実行使用メモリ 12,672 KB
最終ジャッジ日時 2026-10-15 09:54:58
合計ジャッジ時間 1,284 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge2_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 4
権限があれば一括ダウンロードができます
コンパイルメッセージ
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