結果

問題 No.706 多眼生物の調査
ユーザー finefine
提出日時 2018-06-29 22:24:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 21 ms / 2,000 ms
コード長 187 bytes
コンパイル時間 81 ms
コンパイル使用メモリ 10,664 KB
実行使用メモリ 8,696 KB
最終ジャッジ日時 2023-09-13 15:19:59
合計ジャッジ時間 839 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
8,532 KB
testcase_01 AC 18 ms
8,464 KB
testcase_02 AC 19 ms
8,500 KB
testcase_03 AC 20 ms
8,544 KB
testcase_04 AC 21 ms
8,660 KB
testcase_05 AC 20 ms
8,580 KB
testcase_06 AC 21 ms
8,696 KB
testcase_07 AC 18 ms
8,532 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter

n = int(input())
a = []
for i in range(n):
    s = input()
    a.append(s.count('^'))
c = Counter(list(reversed(sorted(a))))
print(c.most_common(1)[0][0])
0