結果

問題 No.104 国道
ユーザー あかりきあかりき
提出日時 2021-02-09 21:35:44
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 71 ms / 5,000 ms
コード長 92 bytes
コンパイル時間 266 ms
コンパイル使用メモリ 87,300 KB
実行使用メモリ 71,560 KB
最終ジャッジ日時 2023-09-21 09:22:43
合計ジャッジ時間 2,902 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,560 KB
testcase_01 AC 67 ms
71,044 KB
testcase_02 AC 68 ms
71,048 KB
testcase_03 AC 66 ms
71,488 KB
testcase_04 AC 71 ms
71,048 KB
testcase_05 AC 66 ms
71,180 KB
testcase_06 AC 66 ms
71,332 KB
testcase_07 AC 66 ms
71,372 KB
testcase_08 AC 66 ms
71,284 KB
testcase_09 AC 67 ms
71,396 KB
testcase_10 AC 67 ms
71,248 KB
testcase_11 AC 68 ms
71,288 KB
testcase_12 AC 67 ms
71,212 KB
testcase_13 AC 67 ms
71,216 KB
testcase_14 AC 66 ms
71,044 KB
testcase_15 AC 66 ms
71,244 KB
testcase_16 AC 66 ms
71,164 KB
testcase_17 AC 67 ms
71,168 KB
testcase_18 AC 67 ms
71,252 KB
testcase_19 AC 67 ms
71,300 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

s=list(input())
ans=1
for i in range(len(s)):
  ans*=2
  if s[i]=='R':
    ans+=1
print(ans)
0