結果
問題 | No.712 赤旗 |
ユーザー |
![]() |
提出日時 | 2020-01-13 23:12:29 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 3 ms / 2,000 ms |
コード長 | 303 bytes |
コンパイル時間 | 2,503 ms |
コンパイル使用メモリ | 191,996 KB |
最終ジャッジ日時 | 2025-01-08 17:50:36 |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
ソースコード
#include <bits/stdc++.h>using namespace std;typedef long long ll;int main(){int h, w;cin >> h >> w;int ans = 0;string s;for (int i = 0; i < h; i++){cin >> s;for (char x : s)if (x != 'R')ans++;}cout << ans << endl;}