結果

問題 No.104 国道
ユーザー hiro1729hiro1729
提出日時 2023-09-11 08:40:25
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 104 ms / 5,000 ms
コード長 56 bytes
コンパイル時間 438 ms
コンパイル使用メモリ 86,764 KB
実行使用メモリ 71,344 KB
最終ジャッジ日時 2023-09-11 08:40:28
合計ジャッジ時間 3,196 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 75 ms
71,128 KB
testcase_01 AC 74 ms
70,924 KB
testcase_02 AC 80 ms
70,996 KB
testcase_03 AC 76 ms
71,252 KB
testcase_04 AC 80 ms
71,252 KB
testcase_05 AC 75 ms
71,240 KB
testcase_06 AC 77 ms
71,012 KB
testcase_07 AC 74 ms
71,068 KB
testcase_08 AC 75 ms
71,244 KB
testcase_09 AC 75 ms
71,256 KB
testcase_10 AC 77 ms
71,252 KB
testcase_11 AC 77 ms
71,104 KB
testcase_12 AC 74 ms
71,000 KB
testcase_13 AC 76 ms
71,124 KB
testcase_14 AC 75 ms
71,204 KB
testcase_15 AC 76 ms
71,292 KB
testcase_16 AC 104 ms
71,288 KB
testcase_17 AC 77 ms
71,244 KB
testcase_18 AC 76 ms
71,344 KB
testcase_19 AC 76 ms
71,240 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = 1
for i in input():
	n = n * 2 + (i == 'R')
print(n)
0