結果
問題 | No.706 多眼生物の調査 |
ユーザー |
![]() |
提出日時 | 2019-05-14 12:56:14 |
言語 | Python2 (2.7.18) |
結果 |
AC
|
実行時間 | 13 ms / 2,000 ms |
コード長 | 227 bytes |
コンパイル時間 | 43 ms |
コンパイル使用メモリ | 7,040 KB |
実行使用メモリ | 6,400 KB |
最終ジャッジ日時 | 2024-07-18 10:29:26 |
合計ジャッジ時間 | 791 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 5 |
ソースコード
N = int(raw_input())eyes = []for i in range(0, 999):eyes.append(0)for i in range(0, N):s = raw_input()eyes[len(s)-2] += 1max = 0tmp = -1for i in range(0, 999):if max <= eyes[i]:tmp = imax = eyes[i]print tmp