結果
問題 |
No.79 過小評価ダメ・ゼッタイ
|
ユーザー |
|
提出日時 | 2016-09-12 18:33:13 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 64 ms / 5,000 ms |
コード長 | 239 bytes |
コンパイル時間 | 67 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 8,064 KB |
最終ジャッジ日時 | 2024-06-26 08:02:09 |
合計ジャッジ時間 | 1,754 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
#!/usr/bin/python # -*- coding: utf-8 -*- N = int(raw_input()) arr = map(int, raw_input().split()) set_arr = sorted(set(arr)) max,max_num = 0 , 0 for i in set_arr: if max <= arr.count(i): max_num = i max = arr.count(i) print max_num