結果

問題 No.1908 Assault for Keys
ユーザー titiatitia
提出日時 2022-04-22 21:05:21
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 183 ms / 2,000 ms
コード長 176 bytes
コンパイル時間 104 ms
コンパイル使用メモリ 10,688 KB
実行使用メモリ 9,284 KB
最終ジャッジ日時 2023-09-06 07:18:00
合計ジャッジ時間 3,951 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,872 KB
testcase_01 AC 16 ms
7,860 KB
testcase_02 AC 168 ms
9,020 KB
testcase_03 AC 150 ms
9,072 KB
testcase_04 AC 148 ms
9,224 KB
testcase_05 AC 162 ms
9,212 KB
testcase_06 AC 164 ms
9,176 KB
testcase_07 AC 152 ms
9,160 KB
testcase_08 AC 146 ms
9,252 KB
testcase_09 AC 161 ms
9,284 KB
testcase_10 AC 147 ms
9,096 KB
testcase_11 AC 162 ms
9,108 KB
testcase_12 AC 160 ms
9,168 KB
testcase_13 AC 168 ms
9,204 KB
testcase_14 AC 163 ms
9,256 KB
testcase_15 AC 152 ms
9,116 KB
testcase_16 AC 16 ms
7,868 KB
testcase_17 AC 17 ms
7,820 KB
testcase_18 AC 183 ms
9,252 KB
testcase_19 AC 134 ms
9,216 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N,M=map(int,input().split())
S=[input().strip() for i in range(N)]

ANS=[0]*M

for s in S:
    for i in range(M):
        if s[i]=="x":
            ANS[i]+=1

print(max(ANS)+1)
0