結果
| 問題 | No.104 国道 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2016-02-10 16:49:31 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 184 bytes |
| 記録 | |
| コンパイル時間 | 67 ms |
| コンパイル使用メモリ | 80,768 KB |
| 実行使用メモリ | 81,152 KB |
| 最終ジャッジ日時 | 2026-07-18 02:34:55 |
| 合計ジャッジ時間 | 2,840 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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