結果

問題 No.104 国道
ユーザー akitsugu777akitsugu777
提出日時 2019-09-19 13:25:19
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
MLE  
実行時間 -
コード長 183 bytes
コンパイル時間 107 ms
コンパイル使用メモリ 10,720 KB
実行使用メモリ 816,788 KB
最終ジャッジ日時 2023-09-26 07:42:46
合計ジャッジ時間 4,440 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,748 KB
testcase_01 AC 16 ms
7,892 KB
testcase_02 AC 16 ms
8,192 KB
testcase_03 AC 16 ms
7,812 KB
testcase_04 AC 16 ms
7,760 KB
testcase_05 AC 16 ms
7,772 KB
testcase_06 AC 16 ms
7,772 KB
testcase_07 AC 15 ms
7,748 KB
testcase_08 AC 16 ms
7,788 KB
testcase_09 AC 15 ms
7,772 KB
testcase_10 AC 16 ms
7,812 KB
testcase_11 AC 15 ms
7,772 KB
testcase_12 AC 16 ms
8,256 KB
testcase_13 AC 24 ms
13,532 KB
testcase_14 AC 88 ms
53,068 KB
testcase_15 MLE -
testcase_16 MLE -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()

N = len(S)
L = [i for i in range(2**N, (2**N)*2)]

for i in range(N):
    if S[i] == 'L':
        L = L[:len(L)//2]
    else:
        L = L[len(L)//2:]
        
print(*L)
0