結果
問題 |
No.79 過小評価ダメ・ゼッタイ
|
ユーザー |
![]() |
提出日時 | 2015-08-20 08:35:51 |
言語 | Python2 (2.7.18) |
結果 |
WA
|
実行時間 | - |
コード長 | 191 bytes |
コンパイル時間 | 40 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 8,064 KB |
最終ジャッジ日時 | 2024-07-18 10:48:35 |
合計ジャッジ時間 | 1,842 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 WA * 11 |
ソースコード
N=input() L = map(int, raw_input().split()) deg = [0] * 7 ans = 0 index = 0 for x in L: deg[x] += 1 if (ans <= deg[x]): ans = deg[x] index = max(index, x) print index