結果

問題 No.1908 Assault for Keys
ユーザー ああいい
提出日時 2022-04-22 21:06:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 205 bytes
コンパイル時間 2,385 ms
コンパイル使用メモリ 81,724 KB
実行使用メモリ 70,708 KB
最終ジャッジ日時 2024-06-24 02:02:12
合計ジャッジ時間 2,764 ms
ジャッジサーバーID
(参考情報)
judge4 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M = map(int,input().split())
count = [0] * M
for _ in range(N):
    S = input()
    for i in range(M):
        if S[i] == "o":
            count[i] += 1
ans = min(count)
print(N - ans + 1)
#print(count)
0