結果
| 問題 | 
                            No.104 国道
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2016-02-10 16:49:31 | 
| 言語 | Python2  (2.7.18)  | 
                    
| 結果 | 
                             
                                RE
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 184 bytes | 
| コンパイル時間 | 49 ms | 
| コンパイル使用メモリ | 7,040 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-09-21 22:05:49 | 
| 合計ジャッジ時間 | 1,070 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 RE * 1 | 
| other | AC * 16 | 
ソースコード
#coding: utf-8 ##yuki_104 s=[] s=list(raw_input()) k=len(s) for i in xrange(len(s)): if s[i]=='L': s[i]='0' elif s[i]=='R': s[i]='1' s="".join(s) n=int(s,2) res=2**k+n print res