結果

問題 No.712 赤旗
ユーザー tarotaro789tarotaro789
提出日時 2018-07-20 13:46:52
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 17 ms / 2,000 ms
コード長 142 bytes
コンパイル時間 116 ms
コンパイル使用メモリ 10,692 KB
実行使用メモリ 7,900 KB
最終ジャッジ日時 2023-08-27 00:15:12
合計ジャッジ時間 710 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

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

ソースコード

diff #

r,c=map(int,input().split())
ls=[]
cnt=0
for i in range(r):
    ls.append(input())

for i in range(r):
    cnt=cnt+ls[i].count("W")
print(cnt)
0