結果

問題 No.341 沈黙の期間
ユーザー 💕💖💞💕💖💞
提出日時 2016-09-10 15:27:50
言語 Python3
(3.11.6 + numpy 1.26.0 + scipy 1.11.3)
結果
AC  
実行時間 26 ms / 5,000 ms
コード長 187 bytes
コンパイル時間 559 ms
コンパイル使用メモリ 10,568 KB
実行使用メモリ 9,256 KB
最終ジャッジ日時 2023-08-10 13:35:09
合計ジャッジ時間 1,454 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
9,188 KB
testcase_01 AC 25 ms
9,072 KB
testcase_02 AC 25 ms
9,088 KB
testcase_03 AC 24 ms
9,084 KB
testcase_04 AC 25 ms
9,064 KB
testcase_05 AC 26 ms
9,072 KB
testcase_06 AC 26 ms
9,024 KB
testcase_07 AC 26 ms
9,184 KB
testcase_08 AC 24 ms
9,140 KB
testcase_09 AC 25 ms
9,068 KB
testcase_10 AC 25 ms
9,256 KB
testcase_11 AC 25 ms
9,240 KB
testcase_12 AC 24 ms
9,076 KB
testcase_13 AC 24 ms
9,244 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
import re
import sys
line = input().strip()
matchs =  re.findall("…{1,}", line)
lens = sorted(map(len, matchs))
if lens == []:
  print(0)
  sys.exit(0)
print(lens.pop())
0