結果
問題 | No.392 2分木をたどれ |
ユーザー | htkb |
提出日時 | 2018-05-28 23:03:04 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 319 bytes |
コンパイル時間 | 77 ms |
コンパイル使用メモリ | 10,660 KB |
実行使用メモリ | 8,400 KB |
最終ジャッジ日時 | 2023-09-12 20:16:16 |
合計ジャッジ時間 | 634 ms |
ジャッジサーバーID (参考情報) |
judge14 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
ソースコード
import sys m = int(input()) for n in map(int, sys.stdin.readlines()): n += 1 current = 0 result = "" for i in range(100): if current == n: break if n & 2**i: result += "R" current += 2**i else: result += "L" print(result[:-1])