結果

問題 No.706 多眼生物の調査
ユーザー naotomannaotoman
提出日時 2018-07-08 17:35:11
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 206 bytes
コンパイル時間 88 ms
コンパイル使用メモリ 10,736 KB
実行使用メモリ 7,956 KB
最終ジャッジ日時 2023-09-22 01:57:07
合計ジャッジ時間 816 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

N = int(input())
dic = {}
for i in range(0, N):
    S = input()
    dic[len(S)] = dic.get(len(S), 0) + 1
max = 0
ans = 0
for x, y in dic.items():
    if y > max:
        max = y
        ans = x
print(ans-2)
0