結果

問題 No.341 沈黙の期間
ユーザー naimonon77
提出日時 2016-06-03 13:49:29
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 5,000 ms
コード長 175 bytes
コンパイル時間 297 ms
コンパイル使用メモリ 7,076 KB
実行使用メモリ 6,272 KB
最終ジャッジ日時 2024-10-08 06:17:53
合計ジャッジ時間 1,268 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

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

0