結果

問題 No.706 多眼生物の調査
ユーザー matrie
提出日時 2020-12-08 09:52:04
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 48 ms / 2,000 ms
コード長 150 bytes
コンパイル時間 191 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-09-17 14:27:58
合計ジャッジ時間 1,172 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

n=int(input())
l=[0]*n
for i in range(n):
	l[i]=len(input())-2
s=sorted(list(set(l)),reverse=True)
m=[l.count(x) for x in s]
print(s[m.index(max(m))])
0