結果
| 問題 | No.706 多眼生物の調査 | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2018-06-30 10:26:41 | 
| 言語 | Python2 (2.7.18) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 16 ms / 2,000 ms | 
| コード長 | 205 bytes | 
| コンパイル時間 | 470 ms | 
| コンパイル使用メモリ | 7,040 KB | 
| 実行使用メモリ | 6,944 KB | 
| 最終ジャッジ日時 | 2024-07-01 00:50:55 | 
| 合計ジャッジ時間 | 1,188 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge3 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 5 | 
ソースコード
#yuki706
import operator
n=int(raw_input())
s=[]
for i in xrange(n):
 t=raw_input()
 s.append(t.count('^'))
u=[0 for i in xrange(1001)]
for i in xrange(n):
 u[s[i]]+=1
print max(zip(u, range(len(u))))[1]
            
            
            
        