結果

問題 No.706 多眼生物の調査
ユーザー dangodango
提出日時 2023-06-06 21:36:42
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 110 ms / 2,000 ms
コード長 200 bytes
コンパイル時間 259 ms
コンパイル使用メモリ 86,888 KB
実行使用メモリ 76,176 KB
最終ジャッジ日時 2023-08-28 10:50:04
合計ジャッジ時間 1,706 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 94 ms
71,564 KB
testcase_01 AC 92 ms
71,168 KB
testcase_02 AC 92 ms
71,476 KB
testcase_03 AC 97 ms
71,268 KB
testcase_04 AC 99 ms
71,932 KB
testcase_05 AC 101 ms
72,156 KB
testcase_06 AC 110 ms
76,176 KB
testcase_07 AC 90 ms
71,432 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict, Counter
N = int(input())
Q = defaultdict(int)
for _ in range(N):
  Q[input()] += 1
print(max(Counter(Q).most_common(), key = lambda E: (E[1], E[0]))[0].count("^"))
0