結果

問題 No.1908 Assault for Keys
ユーザー DrDrpilotDrDrpilot
提出日時 2022-04-30 13:15:39
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 110 ms / 2,000 ms
コード長 194 bytes
コンパイル時間 386 ms
コンパイル使用メモリ 87,296 KB
実行使用メモリ 77,020 KB
最終ジャッジ日時 2023-09-12 05:59:17
合計ジャッジ時間 3,571 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 74 ms
71,144 KB
testcase_01 AC 73 ms
71,360 KB
testcase_02 AC 107 ms
76,476 KB
testcase_03 AC 108 ms
76,648 KB
testcase_04 AC 109 ms
77,016 KB
testcase_05 AC 109 ms
76,664 KB
testcase_06 AC 109 ms
76,732 KB
testcase_07 AC 105 ms
76,368 KB
testcase_08 AC 104 ms
76,596 KB
testcase_09 AC 105 ms
76,512 KB
testcase_10 AC 105 ms
76,496 KB
testcase_11 AC 108 ms
77,020 KB
testcase_12 AC 107 ms
76,688 KB
testcase_13 AC 109 ms
76,660 KB
testcase_14 AC 110 ms
76,512 KB
testcase_15 AC 106 ms
76,792 KB
testcase_16 AC 76 ms
71,396 KB
testcase_17 AC 89 ms
75,656 KB
testcase_18 AC 109 ms
76,664 KB
testcase_19 AC 100 ms
76,552 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n,m=map(int,input().split())
s=[input() for _ in range(n)]
ans=0
for j in range(m):
    tmp=0
    for i in range(n):
        if s[i][j]=='x':
            tmp+=1
    ans=max(tmp,ans)
print(ans+1)
0