結果

問題 No.104 国道
ユーザー yuki2006yuki2006
提出日時 2015-02-23 17:39:41
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 73 ms / 5,000 ms
コード長 105 bytes
コンパイル時間 139 ms
コンパイル使用メモリ 77,704 KB
実行使用メモリ 76,616 KB
最終ジャッジ日時 2023-09-06 03:19:23
合計ジャッジ時間 2,727 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
76,328 KB
testcase_01 AC 71 ms
76,588 KB
testcase_02 AC 72 ms
76,468 KB
testcase_03 AC 72 ms
76,344 KB
testcase_04 AC 73 ms
76,204 KB
testcase_05 AC 73 ms
76,144 KB
testcase_06 AC 73 ms
76,472 KB
testcase_07 AC 73 ms
76,332 KB
testcase_08 AC 71 ms
76,464 KB
testcase_09 AC 73 ms
76,424 KB
testcase_10 AC 72 ms
76,200 KB
testcase_11 AC 73 ms
76,388 KB
testcase_12 AC 71 ms
76,616 KB
testcase_13 AC 72 ms
76,372 KB
testcase_14 AC 71 ms
76,300 KB
testcase_15 AC 73 ms
76,328 KB
testcase_16 AC 72 ms
76,148 KB
testcase_17 AC 72 ms
76,468 KB
testcase_18 AC 70 ms
76,208 KB
testcase_19 AC 72 ms
76,368 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

S = raw_input()
i = 1
for c in S:
    if c == "L":
        i *= 2
    else:
        i = i * 2 + 1
print i
0