結果
問題 |
No.79 過小評価ダメ・ゼッタイ
|
ユーザー |
![]() |
提出日時 | 2019-05-07 16:13:05 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 67 ms / 5,000 ms |
コード長 | 228 bytes |
コンパイル時間 | 48 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 10,108 KB |
最終ジャッジ日時 | 2024-07-01 23:34:07 |
合計ジャッジ時間 | 1,689 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 22 |
ソースコード
N = int(raw_input()) L = map(int, raw_input().split()) counter = [0, 0, 0, 0, 0, 0, 0] for i in range(0, N): counter[L[i]] += 1 max = 0 tmp = 0 for i in range(1, 7): if max <= counter[i]: max = counter[i] tmp = i print tmp