結果

問題 No.392 2分木をたどれ
ユーザー eitahoeitaho
提出日時 2016-07-12 10:26:19
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 58 ms / 2,000 ms
コード長 125 bytes
コンパイル時間 294 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,008 KB
最終ジャッジ日時 2024-04-22 15:09:37
合計ジャッジ時間 639 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 30 ms
10,624 KB
testcase_01 AC 58 ms
10,880 KB
testcase_02 AC 57 ms
11,008 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
A = [int(input()) + 1 for i in range(N)]
for a in A:
    print("".join("LR"[int(i)] for i in (bin(a)[3:])))
0