結果

問題 No.1071 ベホマラー
ユーザー tailstails
提出日時 2020-07-30 14:23:03
言語 Perl
(5.38.2)
結果
AC  
実行時間 449 ms / 2,000 ms
コード長 98 bytes
コンパイル時間 106 ms
コンパイル使用メモリ 5,404 KB
実行使用メモリ 36,004 KB
最終ジャッジ日時 2023-09-17 02:50:03
合計ジャッジ時間 6,696 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,212 KB
testcase_01 AC 6 ms
5,168 KB
testcase_02 AC 6 ms
5,076 KB
testcase_03 AC 6 ms
5,052 KB
testcase_04 AC 6 ms
5,252 KB
testcase_05 AC 6 ms
5,180 KB
testcase_06 AC 6 ms
5,076 KB
testcase_07 AC 6 ms
5,252 KB
testcase_08 AC 6 ms
5,048 KB
testcase_09 AC 6 ms
5,404 KB
testcase_10 AC 346 ms
27,940 KB
testcase_11 AC 340 ms
27,228 KB
testcase_12 AC 223 ms
19,672 KB
testcase_13 AC 306 ms
24,640 KB
testcase_14 AC 375 ms
29,128 KB
testcase_15 AC 429 ms
32,796 KB
testcase_16 AC 439 ms
32,708 KB
testcase_17 AC 430 ms
32,656 KB
testcase_18 AC 449 ms
32,696 KB
testcase_19 AC 445 ms
32,748 KB
testcase_20 AC 278 ms
35,888 KB
testcase_21 AC 263 ms
32,716 KB
testcase_22 AC 273 ms
36,004 KB
testcase_23 AC 252 ms
32,716 KB
testcase_24 AC 435 ms
32,744 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

<>=~(' (.*)'x3);$a+=$-=$_-($b=$a[$3/$2])for@a=sort{$b-$a}map{0|1+($_-2)/$1}glob<>;print$2*$a+$3*$b
0