結果

問題 No.706 多眼生物の調査
ユーザー k0jumpk0jump
提出日時 2018-07-03 00:49:03
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 216 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 7,928 KB
最終ジャッジ日時 2023-09-13 17:06:20
合計ジャッジ時間 971 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,776 KB
testcase_01 WA -
testcase_02 AC 18 ms
7,772 KB
testcase_03 AC 18 ms
7,884 KB
testcase_04 AC 17 ms
7,804 KB
testcase_05 AC 17 ms
7,792 KB
testcase_06 AC 19 ms
7,820 KB
testcase_07 AC 16 ms
7,928 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())

counts = [0]*1002

for i in range(n):
    counts[input().rstrip().count('^')] += 1

tmp = max(counts)
result = 0
for j in range(n):
    if tmp <= counts[j]:
        result = j
        
print(result)
0