結果
| 問題 | No.79 過小評価ダメ・ゼッタイ |
| コンテスト | |
| ユーザー |
a_ten
|
| 提出日時 | 2016-03-23 15:40:29 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 63 ms / 5,000 ms |
| + 24µs | |
| コード長 | 261 bytes |
| 記録 | |
| コンパイル時間 | 62 ms |
| コンパイル使用メモリ | 81,244 KB |
| 実行使用メモリ | 89,216 KB |
| 最終ジャッジ日時 | 2026-07-18 04:21:00 |
| 合計ジャッジ時間 | 3,236 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 22 |
ソースコード
#coding:utf-8 N=input() L=map(int,raw_input().split()) s=[] for i in range(1,7): s.append([L.count(i),i]) ma=0 for i in s: ma=max(ma,i[0]) s_max=[] for i in s: if i[0]==ma: s_max.append(i) if len(s_max)==1: print s_max[0][1] else: print s_max[-1][1]
a_ten