結果
| 問題 | No.104 国道 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-02-10 16:49:31 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 184 bytes |
| 記録 | |
| コンパイル時間 | 136 ms |
| コンパイル使用メモリ | 77,344 KB |
| 最終ジャッジ日時 | 2025-12-03 19:15:52 |
|
ジャッジサーバーID (参考情報) |
judge1 / 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