結果
問題 |
No.104 国道
|
ユーザー |
|
提出日時 | 2020-12-14 20:23:14 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 166 bytes |
コンパイル時間 | 1,505 ms |
コンパイル使用メモリ | 166,388 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-20 00:53:34 |
合計ジャッジ時間 | 2,198 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 4 |
other | WA * 16 |
ソースコード
#include <bits/stdc++.h> using namespace std; int main() { string s; cin >> s; int ans = 1; for (const auto &p : s) ans = ans * 2 + (p == 'R'); return 0; }