結果
| 問題 | No.706 多眼生物の調査 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-06-06 21:36:42 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 39 ms / 2,000 ms |
| + 76µs | |
| コード長 | 200 bytes |
| 記録 | |
| コンパイル時間 | 62 ms |
| コンパイル使用メモリ | 82,628 KB |
| 実行使用メモリ | 69,080 KB |
| 最終ジャッジ日時 | 2026-10-09 07:07:09 |
| 合計ジャッジ時間 | 1,343 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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("^"))