結果
問題 | No.712 赤旗 |
ユーザー |
![]() |
提出日時 | 2018-07-13 22:26:32 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 258 bytes |
コンパイル時間 | 477 ms |
コンパイル使用メモリ | 54,172 KB |
実行使用メモリ | 6,820 KB |
最終ジャッジ日時 | 2024-10-09 05:16:33 |
合計ジャッジ時間 | 954 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
ソースコード
#include<stdio.h>#include<iostream>using namespace std;int N,M;int main (){cin >> N >> M;int ans = 0;for(int i=0; i<N*M; i++) {char a;cin >> a;if( a == 'W') ans++;}cout << ans << endl;return 0;}