結果
| 問題 |
No.392 2分木をたどれ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-08-05 15:12:56 |
| 言語 | Ruby (3.4.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 85 bytes |
| コンパイル時間 | 85 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,928 KB |
| 最終ジャッジ日時 | 2024-11-07 00:13:29 |
| 合計ジャッジ時間 | 957 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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]}