結果

問題 No.706 多眼生物の調査
ユーザー kept1994kept1994
提出日時 2022-05-04 19:38:33
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 2,000 ms
コード長 266 bytes
コンパイル時間 256 ms
コンパイル使用メモリ 87,128 KB
実行使用メモリ 75,600 KB
最終ジャッジ日時 2023-09-17 00:16:52
合計ジャッジ時間 1,327 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 64 ms
71,108 KB
testcase_01 AC 63 ms
71,320 KB
testcase_02 AC 63 ms
71,440 KB
testcase_03 AC 62 ms
71,368 KB
testcase_04 AC 63 ms
71,304 KB
testcase_05 AC 66 ms
71,104 KB
testcase_06 AC 72 ms
75,600 KB
testcase_07 AC 60 ms
71,268 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python3
import sys

def main():
    N = int(input())
    l = [0] * 1000
    for _ in range(N):
        s = input()
        l[len(s[1:-1])] += 1
    m = max(l)
    print(999 - l[::-1].index(m))
    return
        

if __name__ == '__main__':
    main()
0