結果

問題 No.712 赤旗
ユーザー aporo_eeicaporo_eeic
提出日時 2018-07-13 22:22:17
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 16 ms / 2,000 ms
コード長 186 bytes
コンパイル時間 183 ms
コンパイル使用メモリ 10,672 KB
実行使用メモリ 7,912 KB
最終ジャッジ日時 2023-07-30 09:40:39
合計ジャッジ時間 798 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,824 KB
testcase_01 AC 16 ms
7,896 KB
testcase_02 AC 16 ms
7,908 KB
testcase_03 AC 16 ms
7,856 KB
testcase_04 AC 16 ms
7,912 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N, M = list(map(int, input().strip().split(" ")))

white = 0
for i in range(N):
    row = input().strip()
    for c in row:
        if(c == "W"):
            white += 1

print(white)    
0