結果

問題 No.475 最終日 - Writerの怠慢
ユーザー tails
提出日時 2016-12-25 02:15:10
言語 Perl
(5.40.0)
結果
AC  
実行時間 340 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 364 ms
コンパイル使用メモリ 5,632 KB
実行使用メモリ 16,556 KB
最終ジャッジ日時 2024-12-24 01:34:15
合計ジャッジ時間 3,848 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 15
権限があれば一括ダウンロードができます
コンパイルメッセージ
Possible precedence problem on bitwise & operator at Main.pl line 1.
Name "main::n" used only once: possible typo at Main.pl line 1.
Main.pl syntax OK

ソースコード

diff #

($n,$s,$w,@a)=`dd`=~/\d+/g;$w=splice@a,$w,1;$\=1;map{$i++while$i<@a&($s*250/(4+@a-$i)|0)-$s*50<=$w-$_;$\*=($i-$j)/(@a-$j++)}sort{$b-$a}@a;print
0