結果

問題 No.794 チーム戦 (2)
ユーザー kotatsugame
提出日時 2019-02-22 23:20:52
言語 Perl
(5.40.0)
結果
AC  
実行時間 942 ms / 1,500 ms
コード長 105 bytes
コンパイル時間 369 ms
コンパイル使用メモリ 5,888 KB
実行使用メモリ 64,720 KB
最終ジャッジ日時 2024-11-25 22:35:16
合計ジャッジ時間 14,544 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 32
権限があれば一括ダウンロードができます
コンパイルメッセージ
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 #

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