結果

問題 No.104 国道
ユーザー cande398
提出日時 2018-04-24 14:05:49
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
MLE  
実行時間 -
コード長 143 bytes
コンパイル時間 236 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 819,304 KB
最終ジャッジ日時 2024-06-27 15:54:24
合計ジャッジ時間 5,896 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 11 MLE * 2 -- * 3
権限があれば一括ダウンロードができます

ソースコード

diff #

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