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