結果
問題 |
No.27 板の準備
|
ユーザー |
![]() |
提出日時 | 2016-01-20 11:36:25 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 113 bytes |
コンパイル時間 | 41 ms |
コンパイル使用メモリ | 7,296 KB |
実行使用メモリ | 12,544 KB |
最終ジャッジ日時 | 2024-09-21 14:44:09 |
合計ジャッジ時間 | 2,570 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 4 WA * 14 |
コンパイルメッセージ
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..$$).map{|n|*d=0 30.times{d<<(0..2).map{|x|d[~(n/30**x%30)]||$$}.min+1} eval$_.gsub /\d+/,'+d[\0]'}.min