結果
| 問題 | No.712 赤旗 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2018-08-25 22:19:25 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 96 ms / 2,000 ms |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 561 ms |
| コンパイル使用メモリ | 20,572 KB |
| 実行使用メモリ | 15,232 KB |
| 最終ジャッジ日時 | 2026-03-14 00:07:47 |
| 合計ジャッジ時間 | 1,647 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 |
ソースコード
a, b = map(int,input().split())
cnt = 0
lines = [input() for i in range(a)]
for line in lines:
for dot in line:
cnt += 1 if dot == 'W' else 0
print(cnt)