結果
問題 |
No.712 赤旗
|
ユーザー |
![]() |
提出日時 | 2018-12-05 23:19:43 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 29 ms / 2,000 ms |
コード長 | 278 bytes |
コンパイル時間 | 371 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-07-21 20:18:47 |
合計ジャッジ時間 | 883 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 5 |
ソースコード
def mainProc(lst): total = 0 for l in lst: total += len(list(filter( lambda x: x == 'W', l))) print(total) if __name__ == '__main__': n, m = map(int,input().split()) lst = [] for i in range(n): lst.append(input()) mainProc(lst)