結果

問題 No.1908 Assault for Keys
ユーザー ああいいああいい
提出日時 2022-04-22 21:06:47
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 110 ms / 2,000 ms
コード長 205 bytes
コンパイル時間 453 ms
コンパイル使用メモリ 87,044 KB
実行使用メモリ 77,000 KB
最終ジャッジ日時 2023-09-06 07:19:39
合計ジャッジ時間 3,524 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,368 KB
testcase_01 AC 72 ms
71,024 KB
testcase_02 AC 110 ms
76,728 KB
testcase_03 AC 94 ms
76,512 KB
testcase_04 AC 97 ms
76,736 KB
testcase_05 AC 97 ms
76,732 KB
testcase_06 AC 100 ms
76,736 KB
testcase_07 AC 98 ms
76,704 KB
testcase_08 AC 94 ms
76,828 KB
testcase_09 AC 98 ms
76,808 KB
testcase_10 AC 95 ms
77,000 KB
testcase_11 AC 99 ms
76,980 KB
testcase_12 AC 96 ms
76,732 KB
testcase_13 AC 99 ms
76,380 KB
testcase_14 AC 97 ms
76,636 KB
testcase_15 AC 98 ms
76,812 KB
testcase_16 AC 72 ms
71,588 KB
testcase_17 AC 84 ms
75,476 KB
testcase_18 AC 100 ms
76,780 KB
testcase_19 AC 92 ms
76,708 KB
権限があれば一括ダウンロードができます

ソースコード

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