結果
問題 |
No.706 多眼生物の調査
|
ユーザー |
|
提出日時 | 2022-10-18 16:37:29 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 264 bytes |
コンパイル時間 | 71 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 11,136 KB |
最終ジャッジ日時 | 2024-06-29 00:18:21 |
合計ジャッジ時間 | 889 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 4 WA * 1 |
ソースコード
from collections import defaultdict, Counter def main(): N = int(input()) animals = defaultdict(int) for _ in range(N): animals[input()] += 1 print(Counter(animals).most_common(1)[0][0].count("^")) if __name__ == "__main__": main()