結果

問題 No.104 国道
ユーザー akitsugu777
提出日時 2018-10-22 16:21:02
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
MLE  
実行時間 -
コード長 190 bytes
コンパイル時間 147 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 1,636,044 KB
最終ジャッジ日時 2024-11-19 03:53:21
合計ジャッジ時間 33,164 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3 MLE * 1
other AC * 11 TLE * 4 MLE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()

l = []
for i in range(2**len(s)):
    l.append(2**len(s)+i)

for i in range(len(s)):
    if s[i] == 'L':
        l = l[:len(l)//2]
    else:
        l = l[len(l)//2:]

print(*l)
0