結果
問題 | No.27 板の準備 |
ユーザー | syaro |
提出日時 | 2016-01-20 11:36:25 |
言語 | Ruby (3.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 113 bytes |
コンパイル時間 | 164 ms |
コンパイル使用メモリ | 11,932 KB |
実行使用メモリ | 16,244 KB |
最終ジャッジ日時 | 2023-10-21 13:29:11 |
合計ジャッジ時間 | 3,134 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 90 ms
16,120 KB |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | AC | 93 ms
16,120 KB |
testcase_04 | WA | - |
testcase_05 | WA | - |
testcase_06 | WA | - |
testcase_07 | WA | - |
testcase_08 | WA | - |
testcase_09 | WA | - |
testcase_10 | WA | - |
testcase_11 | WA | - |
testcase_12 | WA | - |
testcase_13 | WA | - |
testcase_14 | AC | 107 ms
16,244 KB |
testcase_15 | WA | - |
testcase_16 | AC | 109 ms
16,244 KB |
testcase_17 | WA | - |
コンパイルメッセージ
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