結果
| 問題 | No.1071 ベホマラー |
| コンテスト | |
| ユーザー |
👑 tails
|
| 提出日時 | 2020-06-08 16:19:52 |
| 言語 | Perl (5.42.1) |
| 結果 |
AC
|
| 実行時間 | 436 ms / 2,000 ms |
| コード長 | 103 bytes |
| 記録 | |
| コンパイル時間 | 302 ms |
| コンパイル使用メモリ | 6,400 KB |
| 実行使用メモリ | 36,864 KB |
| 最終ジャッジ日時 | 2026-05-31 14:07:35 |
| 合計ジャッジ時間 | 6,903 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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