結果
| 問題 | No.392 2分木をたどれ |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-09-09 00:32:03 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 310 bytes |
| 記録 | |
| コンパイル時間 | 322 ms |
| コンパイル使用メモリ | 85,620 KB |
| 実行使用メモリ | 71,028 KB |
| 最終ジャッジ日時 | 2026-05-11 00:51:38 |
| 合計ジャッジ時間 | 2,732 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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()