結果

問題 No.1908 Assault for Keys
ユーザー chineristACchineristAC
提出日時 2021-09-19 18:23:10
言語 PyPy3
(7.3.13)
結果
AC  
実行時間 134 ms / 2,000 ms
コード長 228 bytes
コンパイル時間 323 ms
コンパイル使用メモリ 87,280 KB
実行使用メモリ 78,524 KB
最終ジャッジ日時 2023-08-18 05:08:14
合計ジャッジ時間 5,868 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 93 ms
72,168 KB
testcase_01 AC 93 ms
72,304 KB
testcase_02 AC 122 ms
78,304 KB
testcase_03 AC 120 ms
78,204 KB
testcase_04 AC 115 ms
78,136 KB
testcase_05 AC 120 ms
78,108 KB
testcase_06 AC 123 ms
78,288 KB
testcase_07 AC 130 ms
78,132 KB
testcase_08 AC 129 ms
78,524 KB
testcase_09 AC 131 ms
78,248 KB
testcase_10 AC 124 ms
78,376 KB
testcase_11 AC 133 ms
78,168 KB
testcase_12 AC 128 ms
78,176 KB
testcase_13 AC 125 ms
78,144 KB
testcase_14 AC 132 ms
78,144 KB
testcase_15 AC 131 ms
78,260 KB
testcase_16 AC 103 ms
72,228 KB
testcase_17 AC 121 ms
76,824 KB
testcase_18 AC 134 ms
78,140 KB
testcase_19 AC 117 ms
78,328 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys,random

N,M = map(int,input().split())

not_have = [0 for i in range(M)]

for i in range(N):
    S = input().rstrip()
    for j in range(M):
        if S[j]=="x":
            not_have[j] += 1

print(max(not_have)+1)

0