結果

問題 No.706 多眼生物の調査
ユーザー bellangeldindonbellangeldindon
提出日時 2019-05-14 12:56:14
言語 Python2
(2.7.18)
結果
AC  
実行時間 15 ms / 2,000 ms
コード長 227 bytes
コンパイル時間 173 ms
コンパイル使用メモリ 6,692 KB
実行使用メモリ 6,060 KB
最終ジャッジ日時 2023-09-25 13:17:16
合計ジャッジ時間 978 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
5,868 KB
testcase_01 AC 12 ms
5,980 KB
testcase_02 AC 11 ms
5,892 KB
testcase_03 AC 12 ms
5,860 KB
testcase_04 AC 12 ms
5,852 KB
testcase_05 AC 13 ms
5,928 KB
testcase_06 AC 15 ms
6,060 KB
testcase_07 AC 12 ms
5,940 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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] += 1
max = 0
tmp = -1
for i in range(0, 999):
	if max <= eyes[i]:
		tmp = i
		max = eyes[i]
print tmp
0