結果

問題 No.706 多眼生物の調査
ユーザー mizunomimizunomi
提出日時 2018-07-09 17:41:49
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 22 ms / 2,000 ms
コード長 205 bytes
コンパイル時間 75 ms
コンパイル使用メモリ 10,516 KB
実行使用メモリ 8,880 KB
最終ジャッジ日時 2023-09-22 17:56:54
合計ジャッジ時間 902 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 20 ms
8,608 KB
testcase_01 AC 20 ms
8,588 KB
testcase_02 AC 19 ms
8,736 KB
testcase_03 AC 18 ms
8,752 KB
testcase_04 AC 21 ms
8,816 KB
testcase_05 AC 20 ms
8,796 KB
testcase_06 AC 22 ms
8,880 KB
testcase_07 AC 18 ms
8,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
import collections

l = []
n = int(input())
for i in range(n):
    s = input()
    c = s.count("^")
    l.append(c)
l.sort()
l.reverse()
c = collections.Counter(l)
print(c.most_common(1)[0][0])
0