結果

問題 No.706 多眼生物の調査
ユーザー GrayCoderGrayCoder
提出日時 2018-06-29 22:27:36
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 313 bytes
コンパイル時間 116 ms
コンパイル使用メモリ 10,668 KB
実行使用メモリ 9,284 KB
最終ジャッジ日時 2023-09-13 15:20:38
合計ジャッジ時間 899 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 19 ms
8,520 KB
testcase_01 AC 19 ms
8,504 KB
testcase_02 AC 19 ms
8,412 KB
testcase_03 AC 17 ms
8,512 KB
testcase_04 AC 18 ms
8,776 KB
testcase_05 AC 19 ms
8,768 KB
testcase_06 WA -
testcase_07 AC 18 ms
8,464 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import Counter, defaultdict, deque
from sys import stdin, stdout
input = lambda: stdin.readline().rstrip()
write = stdout.write

def main():
    N = int(input())
    S = stdin.read().splitlines()

    counter = Counter(S)
    topn = counter.most_common()
    print(topn[0][0].count('^'))

main()
0