結果

問題 No.392 2分木をたどれ
ユーザー etale.K3etale.K3
提出日時 2021-06-22 13:13:09
言語 Python3
(3.10.1 + numpy 1.22.3 + scipy 1.8.0)
結果
AC  
実行時間 36 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 62 ms
使用メモリ 7,696 KB
最終ジャッジ日時 2023-01-20 21:32:27
合計ジャッジ時間 965 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 15 ms
7,696 KB
testcase_01 AC 36 ms
7,548 KB
testcase_02 AC 36 ms
7,660 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

m = int(input())

for _ in range(m):
    A = bin(int(input()) + 1)[3:]
    print(A.replace('0', 'L').replace('1', 'R'))
0