結果
| 問題 | No.712 赤旗 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-07-28 22:31:38 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 269 bytes |
| 記録 | |
| コンパイル時間 | 1,980 ms |
| コンパイル使用メモリ | 194,424 KB |
| 最終ジャッジ日時 | 2025-01-07 09:49:42 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
int n, m;
cin>>n>>m;
int ans = 0;
while (n--) {
string s;
cin>>s;
ans += count(s.begin(), s.end(), 'W');
}
cout<<ans<<endl;
return 0;
}