結果
| 問題 |
No.9 モンスターのレベル上げ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-05-16 18:49:49 |
| 言語 | Ruby (3.4.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 143 bytes |
| コンパイル時間 | 177 ms |
| コンパイル使用メモリ | 7,296 KB |
| 実行使用メモリ | 13,888 KB |
| 最終ジャッジ日時 | 2024-09-17 05:26:48 |
| 合計ジャッジ時間 | 7,545 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 2 TLE * 1 -- * 17 |
コンパイルメッセージ
Main.rb:1: warning: ambiguous first argument; put parentheses or a space even after `-' operator Syntax OK
ソースコード
eval"N,*C="+`dd`.split*?,;p -(b=C.pop N).map{a=C.map{|v|v*~N}.sort;b.rotate!.map{|l|m=a.pop+l/2*~N-1;a[a.index{|v|v>m}||N-1,0]=m;m%~N}.min}.max