結果

問題 No.754 畳み込みの和
コンテスト
ユーザー %20
提出日時 2018-12-02 00:49:39
言語 Perl
(5.42.0)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 36 ms / 5,000 ms
コード長 60 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 148 ms
コンパイル使用メモリ 6,272 KB
実行使用メモリ 12,416 KB
最終ジャッジ日時 2026-03-14 10:35:06
合計ジャッジ時間 669 ms
ジャッジサーバーID
(参考情報)
judge3_1 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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+7)*<>)%=1e9+7for sort{1}map$s+=<>,0..<>;print$x
0