結果

問題 No.341 沈黙の期間
コンテスト
ユーザー sekiya9311
提出日時 2016-08-16 16:45:51
言語 PyPy2
(7.3.15)
結果
AC  
実行時間 76 ms / 5,000 ms
コード長 214 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 236 ms
コンパイル使用メモリ 77,780 KB
最終ジャッジ日時 2025-12-03 21:13:35
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

# -*- coding: utf-8 -*-
import math

S = raw_input().decode("utf-8")
cnt = 0
ans = 0
for s in S:
    if s==u"…":
        cnt += 1
    else:
        ans = max(ans,cnt)
        cnt = 0
ans = max(ans,cnt)
print ans
0