結果

問題 No.706 多眼生物の調査
ユーザー matriematrie
提出日時 2020-12-08 09:52:04
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 43 ms / 2,000 ms
コード長 150 bytes
コンパイル時間 187 ms
コンパイル使用メモリ 11,896 KB
実行使用メモリ 10,240 KB
最終ジャッジ日時 2023-10-17 17:01:18
合計ジャッジ時間 1,481 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 28 ms
10,164 KB
testcase_01 AC 29 ms
10,164 KB
testcase_02 AC 28 ms
10,164 KB
testcase_03 AC 29 ms
10,172 KB
testcase_04 AC 30 ms
10,180 KB
testcase_05 AC 34 ms
10,212 KB
testcase_06 AC 43 ms
10,240 KB
testcase_07 AC 28 ms
10,164 KB
権限があれば一括ダウンロードができます

ソースコード

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