結果

問題 No.341 沈黙の期間
ユーザー zombietanzombietan
提出日時 2016-05-05 23:05:38
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 27 ms / 5,000 ms
コード長 133 bytes
コンパイル時間 157 ms
コンパイル使用メモリ 10,476 KB
実行使用メモリ 9,076 KB
最終ジャッジ日時 2023-07-28 03:32:28
合計ジャッジ時間 1,588 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 26 ms
9,076 KB
testcase_01 AC 26 ms
8,932 KB
testcase_02 AC 26 ms
8,964 KB
testcase_03 AC 26 ms
8,984 KB
testcase_04 AC 26 ms
9,032 KB
testcase_05 AC 26 ms
9,028 KB
testcase_06 AC 27 ms
9,076 KB
testcase_07 AC 25 ms
9,036 KB
testcase_08 AC 25 ms
8,896 KB
testcase_09 AC 25 ms
8,944 KB
testcase_10 AC 25 ms
8,996 KB
testcase_11 AC 26 ms
8,888 KB
testcase_12 AC 25 ms
9,072 KB
testcase_13 AC 26 ms
8,968 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import re
S = input()
pat = re.compile(r'…+')
ans = 0
for r in pat.findall(S):
    if ans < len(r):
        ans = len(r)
print(ans)
0