結果
| 問題 |
No.392 2分木をたどれ
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-09-09 00:32:03 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 310 bytes |
| コンパイル時間 | 434 ms |
| コンパイル使用メモリ | 82,036 KB |
| 実行使用メモリ | 69,288 KB |
| 最終ジャッジ日時 | 2024-11-15 22:52:36 |
| 合計ジャッジ時間 | 1,397 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 3 |
ソースコード
def solve():
for _ in range(int(input())):
i = int(input())
res = ""
while i > 0:
if i % 2 == 0:
i -= 1
res += "R"
else:
res += "L"
i >>= 1
print(res)
if __name__=="__main__":
solve()