結果

問題 No.475 最終日 - Writerの怠慢
ユーザー tailstails
提出日時 2016-12-25 02:11:33
言語 Perl
(5.38.2)
結果
AC  
実行時間 177 ms / 2,000 ms
コード長 152 bytes
コンパイル時間 130 ms
コンパイル使用メモリ 5,332 KB
実行使用メモリ 15,892 KB
最終ジャッジ日時 2023-08-25 16:40:53
合計ジャッジ時間 2,653 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
外部呼び出し有り
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
4,756 KB
testcase_01 AC 5 ms
4,744 KB
testcase_02 AC 6 ms
5,020 KB
testcase_03 AC 19 ms
6,112 KB
testcase_04 AC 169 ms
15,828 KB
testcase_05 AC 177 ms
15,804 KB
testcase_06 AC 170 ms
15,568 KB
testcase_07 AC 166 ms
15,716 KB
testcase_08 AC 166 ms
15,716 KB
testcase_09 AC 171 ms
15,856 KB
testcase_10 AC 171 ms
15,716 KB
testcase_11 AC 175 ms
15,892 KB
testcase_12 AC 109 ms
15,312 KB
testcase_13 AC 62 ms
15,276 KB
testcase_14 AC 5 ms
4,848 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