結果
| 問題 |
No.27 板の準備
|
| コンテスト | |
| ユーザー |
syaro
|
| 提出日時 | 2016-01-18 16:07:25 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 1,564 ms / 5,000 ms |
| コード長 | 133 bytes |
| コンパイル時間 | 318 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 13,568 KB |
| 最終ジャッジ日時 | 2024-12-26 12:04:48 |
| 合計ジャッジ時間 | 21,226 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 |
コンパイルメッセージ
Main.rb:4: warning: ambiguity between regexp and two divisions: wrap regexp in parentheses or add a space after `/' operator Syntax OK
ソースコード
gets
p (0...i=27e3).map{|n|*d=0
(1..30).map{d<<[d[~(n/900)]||i,d[~(n/30%30)]||i,d[~(n%30)]||i].min+1}
eval$_.gsub /\d+/,'+d[\0]'}.min
syaro