結果

問題 No.706 多眼生物の調査
ユーザー pluto77pluto77
提出日時 2018-06-30 10:26:41
言語 Python2
(2.7.18)
結果
AC  
実行時間 14 ms / 2,000 ms
コード長 205 bytes
コンパイル時間 731 ms
コンパイル使用メモリ 6,596 KB
実行使用メモリ 6,304 KB
最終ジャッジ日時 2023-09-13 16:13:27
合計ジャッジ時間 1,547 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,068 KB
testcase_01 AC 12 ms
6,164 KB
testcase_02 AC 11 ms
6,068 KB
testcase_03 AC 11 ms
6,036 KB
testcase_04 AC 11 ms
6,160 KB
testcase_05 AC 12 ms
6,028 KB
testcase_06 AC 14 ms
6,304 KB
testcase_07 AC 11 ms
6,040 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#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]
0