結果
問題 | No.79 過小評価ダメ・ゼッタイ |
ユーザー |
|
提出日時 | 2017-01-04 04:37:00 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 68 ms / 5,000 ms |
コード長 | 309 bytes |
コンパイル時間 | 119 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 12,768 KB |
最終ジャッジ日時 | 2024-06-26 08:07:43 |
合計ジャッジ時間 | 2,071 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
# yukicoder No.79 過小評価ダメ・ゼッタイ from collections import Counter N = int(input()) L = [int(i) for i in input().split()] c = Counter(L) # 最も回答の多いレベルのリスト l = [i for (i, j) in c.items() if j == max(c.values())] # 値が最大のレベルを出力 print(max(l))