結果

問題 No.392 2分木をたどれ
ユーザー etale.K3etale.K3
提出日時 2021-06-22 13:13:09
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 41 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 10,712 KB
実行使用メモリ 7,812 KB
最終ジャッジ日時 2023-09-05 13:42:18
合計ジャッジ時間 770 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

m = int(input())

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