結果
| 問題 |
No.79 過小評価ダメ・ゼッタイ
|
| コンテスト | |
| ユーザー |
tnoda_
|
| 提出日時 | 2015-07-23 18:36:47 |
| 言語 | Python2 (2.7.18) |
| 結果 |
AC
|
| 実行時間 | 57 ms / 5,000 ms |
| コード長 | 223 bytes |
| コンパイル時間 | 430 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 7,936 KB |
| 最終ジャッジ日時 | 2024-06-26 07:37:53 |
| 合計ジャッジ時間 | 1,781 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
N = input()
votes = [0] * 7
for lv in map(int, raw_input().strip().split(" ")):
votes[lv] += 1
max_votes = 0
lv = 0
for i in range(7):
if votes[i] >= max_votes:
max_votes = votes[i]
lv = i
print(lv)
tnoda_