結果

問題 No.712 赤旗
ユーザー Takayuki HirotaTakayuki Hirota
提出日時 2020-12-25 11:44:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 38 ms / 2,000 ms
コード長 84 bytes
コンパイル時間 895 ms
コンパイル使用メモリ 81,732 KB
実行使用メモリ 53,440 KB
最終ジャッジ日時 2023-10-22 03:16:17
合計ジャッジ時間 1,078 ms
ジャッジサーバーID
(参考情報)
judge9 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 34 ms
53,440 KB
testcase_01 AC 38 ms
53,440 KB
testcase_02 AC 34 ms
53,440 KB
testcase_03 AC 34 ms
53,440 KB
testcase_04 AC 35 ms
53,440 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m=map(int,input().split())
s=''
for _ in range(n):
	s+=input()
print(s.count('W'))
0