結果
問題 | No.104 国道 |
ユーザー |
![]() |
提出日時 | 2019-05-07 16:41:21 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 12 ms / 5,000 ms |
コード長 | 144 bytes |
コンパイル時間 | 49 ms |
コンパイル使用メモリ | 6,784 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-01 23:34:12 |
合計ジャッジ時間 | 1,020 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 4 |
other | AC * 16 |
ソースコード
try: S = raw_input() except EOFError as e: print 1 else: now = 1 for i in range(0, len(S)): now *= 2 if S[i] == 'R': now += 1 print now