結果
問題 | No.392 2分木をたどれ |
ユーザー | rocoder |
提出日時 | 2017-08-02 16:05:52 |
言語 | Python3 (3.12.2 + numpy 1.26.4 + scipy 1.12.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 231 bytes |
コンパイル時間 | 77 ms |
コンパイル使用メモリ | 12,800 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-04-19 13:31:13 |
合計ジャッジ時間 | 602 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
ソースコード
m=int(input ()) A=[int(input(i)) for i in range(m)] for i in range (m): a=A[i] p="" while a>0: if a%2==1: p+="R" else: p+="L" a+=1 a//=2 a-=1 print (p)