結果

問題 No.712 赤旗
ユーザー aaaaaa
提出日時 2018-07-30 12:19:15
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 16 ms / 2,000 ms
コード長 187 bytes
コンパイル時間 327 ms
コンパイル使用メモリ 10,708 KB
実行使用メモリ 7,860 KB
最終ジャッジ日時 2023-10-11 17:03:29
合計ジャッジ時間 936 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

n, m = map(int, input().split())

white_num = 0
row = ''

for ii in range(n):
    row = input()

    for jj in row:
        if jj == 'W':
            white_num += 1

print(str(white_num))
0