結果
| 問題 | No.1071 ベホマラー |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2020-06-08 16:19:52 |
| 言語 | Perl (5.40.0) |
| 結果 |
AC
|
| 実行時間 | 462 ms / 2,000 ms |
| コード長 | 103 bytes |
| 記録 | |
| コンパイル時間 | 464 ms |
| コンパイル使用メモリ | 5,760 KB |
| 実行使用メモリ | 36,864 KB |
| 最終ジャッジ日時 | 2024-12-25 21:23:36 |
| 合計ジャッジ時間 | 7,799 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 20 |
コンパイルメッセージ
Name "main::n" used only once: possible typo at Main.pl line 1. Main.pl syntax OK
ソースコード
($n,$k,$x,$y)=glob<>;$a+=$-=$_-($b=$a[$y/$x])for@a=sort{$b-$a}map{0|1+($_-2)/$k}glob<>;print$x*$a+$y*$b
tails