結果
問題 | No.104 国道 |
ユーザー |
![]() |
提出日時 | 2019-05-07 16:42:58 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 13 ms / 5,000 ms |
コード長 | 144 bytes |
コンパイル時間 | 63 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,272 KB |
最終ジャッジ日時 | 2024-07-01 23:34:14 |
合計ジャッジ時間 | 1,072 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
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