結果

問題 No.1071 ベホマラー
ユーザー tailstails
提出日時 2020-06-08 15:17:01
言語 Perl
(5.38.2)
結果
AC  
実行時間 483 ms / 2,000 ms
コード長 111 bytes
コンパイル時間 816 ms
コンパイル使用メモリ 5,292 KB
実行使用メモリ 36,028 KB
最終ジャッジ日時 2023-08-26 18:10:19
合計ジャッジ時間 8,538 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 6 ms
5,164 KB
testcase_01 AC 5 ms
5,168 KB
testcase_02 AC 6 ms
5,160 KB
testcase_03 AC 6 ms
5,276 KB
testcase_04 AC 5 ms
5,220 KB
testcase_05 AC 5 ms
5,180 KB
testcase_06 AC 6 ms
5,144 KB
testcase_07 AC 6 ms
5,080 KB
testcase_08 AC 5 ms
5,168 KB
testcase_09 AC 5 ms
5,220 KB
testcase_10 AC 343 ms
28,052 KB
testcase_11 AC 341 ms
27,288 KB
testcase_12 AC 220 ms
19,752 KB
testcase_13 AC 294 ms
24,804 KB
testcase_14 AC 361 ms
29,052 KB
testcase_15 AC 418 ms
32,744 KB
testcase_16 AC 426 ms
32,664 KB
testcase_17 AC 441 ms
32,676 KB
testcase_18 AC 442 ms
32,620 KB
testcase_19 AC 483 ms
32,560 KB
testcase_20 AC 305 ms
36,028 KB
testcase_21 AC 278 ms
32,856 KB
testcase_22 AC 267 ms
35,808 KB
testcase_23 AC 270 ms
32,816 KB
testcase_24 AC 448 ms
32,672 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.pl syntax OK

ソースコード

diff #

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