結果
| 問題 | No.392 2分木をたどれ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-08-05 15:12:56 |
| 言語 | Ruby (4.0.2) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 85 bytes |
| 記録 | |
| コンパイル時間 | 71 ms |
| コンパイル使用メモリ | 9,088 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2026-05-07 06:42:01 |
| 合計ジャッジ時間 | 2,140 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 3 |
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - c Syntax OK
ソースコード
_,*c=$<.read.split.map{|i|puts (i.to_i+1).to_s(2).gsub(/1/,'R').gsub(/0/,'L')[1..-1]}