結果

問題 No.475 最終日 - Writerの怠慢
ユーザー tailstails
提出日時 2016-12-25 02:15:10
言語 Perl
(5.38.0)
結果
AC  
実行時間 309 ms / 2,000 ms
コード長 143 bytes
コンパイル時間 312 ms
コンパイル使用メモリ 5,296 KB
実行使用メモリ 15,900 KB
最終ジャッジ日時 2023-08-25 16:40:57
合計ジャッジ時間 3,770 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
外部呼び出し有り
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
4,684 KB
testcase_01 AC 5 ms
4,560 KB
testcase_02 AC 7 ms
4,800 KB
testcase_03 AC 32 ms
5,916 KB
testcase_04 AC 309 ms
15,824 KB
testcase_05 AC 307 ms
15,760 KB
testcase_06 AC 300 ms
15,684 KB
testcase_07 AC 306 ms
15,640 KB
testcase_08 AC 302 ms
15,900 KB
testcase_09 AC 304 ms
15,764 KB
testcase_10 AC 297 ms
15,812 KB
testcase_11 AC 301 ms
15,640 KB
testcase_12 AC 141 ms
15,344 KB
testcase_13 AC 163 ms
15,328 KB
testcase_14 AC 5 ms
4,536 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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