結果
| 問題 | No.706 多眼生物の調査 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-06-06 21:36:42 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 2,000 ms |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 264 ms |
| コンパイル使用メモリ | 85,120 KB |
| 実行使用メモリ | 65,280 KB |
| 最終ジャッジ日時 | 2026-06-03 04:19:35 |
| 合計ジャッジ時間 | 1,411 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 |
ソースコード
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("^"))