結果
| 問題 |
No.104 国道
|
| コンテスト | |
| ユーザー |
norioc
|
| 提出日時 | 2024-03-20 06:05:40 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 37 ms / 5,000 ms |
| コード長 | 114 bytes |
| コンパイル時間 | 135 ms |
| コンパイル使用メモリ | 82,356 KB |
| 実行使用メモリ | 51,968 KB |
| 最終ジャッジ日時 | 2024-09-30 05:58:34 |
| 合計ジャッジ時間 | 1,489 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 16 |
ソースコード
S = input()
x = 1
for c in S:
match c:
case 'L': x = 2 * x
case 'R': x = 2 * x + 1
print(x)
norioc