結果
問題 | No.392 2分木をたどれ |
ユーザー |
![]() |
提出日時 | 2018-05-28 23:03:04 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 319 bytes |
コンパイル時間 | 77 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,136 KB |
最終ジャッジ日時 | 2024-06-30 07:53:50 |
合計ジャッジ時間 | 630 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | WA * 3 |
ソースコード
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])