結果

問題 No.706 多眼生物の調査
ユーザー gorugo30gorugo30
提出日時 2021-02-24 11:43:24
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 238 bytes
コンパイル時間 1,225 ms
コンパイル使用メモリ 81,516 KB
実行使用メモリ 256,924 KB
最終ジャッジ日時 2023-10-24 18:49:23
合計ジャッジ時間 4,031 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
55,448 KB
testcase_01 AC 38 ms
55,448 KB
testcase_02 AC 39 ms
55,448 KB
testcase_03 AC 46 ms
55,448 KB
testcase_04 AC 85 ms
61,592 KB
testcase_05 AC 424 ms
94,484 KB
testcase_06 AC 1,447 ms
256,924 KB
testcase_07 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
S = [input() for i in range(N)]
T = ""
for i in range(N):
    T += S[i]
maxeye = 0
eyen = 0
for i in range(1, 1000):
    x = T.count("(" + "^" * i + ")")
    if x >= maxeye:
        maxeye = x
        eyen = i
print(eyen)
0