結果

問題 No.706 多眼生物の調査
ユーザー fV9TwBhUoa9S3eVfV9TwBhUoa9S3eV
提出日時 2019-10-24 15:19:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 275 bytes
コンパイル時間 184 ms
コンパイル使用メモリ 10,532 KB
実行使用メモリ 8,604 KB
最終ジャッジ日時 2023-09-23 02:34:25
合計ジャッジ時間 989 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,824 KB
testcase_01 AC 16 ms
7,940 KB
testcase_02 AC 16 ms
7,856 KB
testcase_03 AC 16 ms
7,900 KB
testcase_04 AC 17 ms
7,796 KB
testcase_05 AC 22 ms
8,200 KB
testcase_06 WA -
testcase_07 AC 15 ms
7,804 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# No.706 多眼生物の調査
n = int(input())
s = [input() for i in range(n)]
eyes = []
mode = 0
mode_eyes = 0

for eye in s:
    eyes.append(eye.count('^'))

for i in eyes:
    if mode <= eyes.count(i):
        mode = eyes.count(i)
        mode_eyes = i

print(mode_eyes)
0