結果

問題 No.104 国道
ユーザー akitsugu777akitsugu777
提出日時 2018-12-20 13:03:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
MLE  
実行時間 -
コード長 180 bytes
コンパイル時間 197 ms
コンパイル使用メモリ 11,720 KB
実行使用メモリ 817,596 KB
最終ジャッジ日時 2023-10-26 00:53:32
合計ジャッジ時間 7,166 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
9,956 KB
testcase_01 AC 31 ms
9,956 KB
testcase_02 AC 31 ms
10,304 KB
testcase_03 AC 29 ms
9,956 KB
testcase_04 AC 28 ms
9,956 KB
testcase_05 AC 28 ms
9,956 KB
testcase_06 AC 29 ms
9,956 KB
testcase_07 AC 28 ms
9,956 KB
testcase_08 AC 28 ms
9,956 KB
testcase_09 AC 29 ms
9,956 KB
testcase_10 AC 29 ms
9,956 KB
testcase_11 AC 29 ms
9,964 KB
testcase_12 AC 29 ms
10,304 KB
testcase_13 AC 47 ms
15,448 KB
testcase_14 AC 168 ms
55,088 KB
testcase_15 MLE -
testcase_16 MLE -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

s = input()
t = len(s)

l = []
for i in range(2**t, 2**(t+1)):
    l.append(i)

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