結果

問題 No.615 集合に分けよう
ユーザー tails
提出日時 2017-12-15 01:24:33
言語 Perl
(5.40.0)
結果
AC  
実行時間 243 ms / 2,000 ms
コード長 85 bytes
コンパイル時間 225 ms
コンパイル使用メモリ 6,948 KB
実行使用メモリ 24,896 KB
最終ジャッジ日時 2024-12-14 13:54:40
合計ジャッジ時間 3,791 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 5
other AC * 26
権限があれば一括ダウンロードができます
コンパイルメッセージ
Name "main::i" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

$%-=$_ for(sort{$b<=>$a}map$_-$a[++$i],@a=sort{$a<=>$b}glob<>)[<>=~$"..$`-$'];print$%
0