結果

問題 No.794 チーム戦 (2)
コンテスト
ユーザー kotatsugame
提出日時 2019-02-22 23:19:55
言語 Perl
(5.44.0)
コンパイル:
perl -cw _filename_
実行:
perl -X _filename_
結果
AC  
実行時間 344 ms / 1,500 ms
+ 38µs
コード長 109 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 5 ms
コンパイル使用メモリ 9,808 KB
実行使用メモリ 46,968 KB
最終ジャッジ日時 2026-11-15 15:12:09
合計ジャッジ時間 8,506 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge5_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 33
権限があれば一括ダウンロードができます
コンパイルメッセージ
Unquoted string "i" may clash with future reserved word at Main.pl line 1.
Name "main::j" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #
raw source code

$\=<>=~$";@a=sort{$a-$b}split$",<>;($\*=--${0while$i<@a&&$a[$i++]+$a[-1]<=$';i}-$j++)%=1e9+7,$#a--for@a;print
0