結果
| 問題 |
No.27 板の準備
|
| コンテスト | |
| ユーザー |
syaro
|
| 提出日時 | 2016-01-20 11:36:56 |
| 言語 | Ruby (3.4.1) |
| 結果 |
AC
|
| 実行時間 | 2,078 ms / 5,000 ms |
| コード長 | 114 bytes |
| コンパイル時間 | 86 ms |
| コンパイル使用メモリ | 7,552 KB |
| 実行使用メモリ | 12,544 KB |
| 最終ジャッジ日時 | 2024-12-26 12:08:18 |
| 合計ジャッジ時間 | 39,645 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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..3e4).map{|n|*d=0
30.times{d<<(0..2).map{|x|d[~(n/30**x%30)]||$$}.min+1}
eval$_.gsub /\d+/,'+d[\0]'}.min
syaro