結果

問題 No.104 国道
ユーザー akitsugu777akitsugu777
提出日時 2020-12-23 15:18:15
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
MLE  
実行時間 -
コード長 174 bytes
コンパイル時間 86 ms
コンパイル使用メモリ 11,808 KB
実行使用メモリ 816,288 KB
最終ジャッジ日時 2023-10-21 15:10:05
合計ジャッジ時間 9,729 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,020 KB
testcase_01 AC 28 ms
10,020 KB
testcase_02 AC 30 ms
10,360 KB
testcase_03 AC 29 ms
10,020 KB
testcase_04 AC 29 ms
10,020 KB
testcase_05 AC 29 ms
10,020 KB
testcase_06 AC 29 ms
10,020 KB
testcase_07 AC 29 ms
10,020 KB
testcase_08 AC 29 ms
10,020 KB
testcase_09 AC 27 ms
10,020 KB
testcase_10 AC 29 ms
10,020 KB
testcase_11 AC 28 ms
10,028 KB
testcase_12 AC 29 ms
10,360 KB
testcase_13 AC 51 ms
15,500 KB
testcase_14 AC 213 ms
55,140 KB
testcase_15 MLE -
testcase_16 MLE -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

S = input()
N = len(S)

X = [2**N+i for i in range(2**N)]

for i, s in enumerate(S):
    if s == 'L':
        X = X[:len(X)//2]
    else:
        X = X[len(X)//2:]

print(*X)
0