結果
| 問題 | No.104 国道 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-05-03 19:02:42 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 24 ms / 5,000 ms |
| + 899µs | |
| コード長 | 118 bytes |
| 記録 | |
| コンパイル時間 | 64 ms |
| コンパイル使用メモリ | 83,012 KB |
| 実行使用メモリ | 55,868 KB |
| 最終ジャッジ日時 | 2026-09-27 18:07:25 |
| 合計ジャッジ時間 | 2,017 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge4_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 16 |
ソースコード
S = input()
now = 1
for s in S:
if s=="L":
now *= 2
else:
now *= 2
now += 1
print(now)