結果

問題 No.475 最終日 - Writerの怠慢
ユーザー tailstails
提出日時 2016-12-25 01:04:47
言語 Perl
(5.38.2)
結果
AC  
実行時間 163 ms / 2,000 ms
コード長 153 bytes
コンパイル時間 47 ms
コンパイル使用メモリ 5,376 KB
実行使用メモリ 15,896 KB
最終ジャッジ日時 2023-08-25 16:39:38
合計ジャッジ時間 2,272 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 4 ms
5,124 KB
testcase_01 AC 4 ms
5,080 KB
testcase_02 AC 5 ms
5,000 KB
testcase_03 AC 19 ms
6,112 KB
testcase_04 AC 160 ms
15,896 KB
testcase_05 AC 150 ms
15,720 KB
testcase_06 AC 153 ms
15,704 KB
testcase_07 AC 151 ms
15,800 KB
testcase_08 AC 148 ms
15,804 KB
testcase_09 AC 156 ms
15,696 KB
testcase_10 AC 159 ms
15,624 KB
testcase_11 AC 163 ms
15,616 KB
testcase_12 AC 98 ms
15,552 KB
testcase_13 AC 54 ms
15,284 KB
testcase_14 AC 4 ms
4,760 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;print eval{map{$i++while$i<@a&($s*250/(4+@a-$i)|0)-$s*50<=$w-$_;$c+=log($i-$j)-log++$j}sort{$b-$a}@a;exp$c}+0
0