結果
| 問題 |
No.712 赤旗
|
| コンテスト | |
| ユーザー |
focus
|
| 提出日時 | 2018-07-21 20:58:24 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 271 bytes |
| コンパイル時間 | 797 ms |
| コンパイル使用メモリ | 72,368 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-12-26 05:03:12 |
| 合計ジャッジ時間 | 1,352 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 |
ソースコード
#include<iostream>
#include<algorithm>
#include<vector>
#include<cmath>
using namespace std;
int main(){
int x,y,ans=0;
char ch;
cin >> x >> y;
for(int i=0;i<y;i++){
for(int j=0;j<x;j++){
cin >> ch;
if(ch=='W') ans++;
}
}
cout << ans << endl;
return 0;
}
focus