結果

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

ソースコード

diff #

# coding: UTF-8
sent = (raw_input())
flag = 1
str = "…"
tag = ""
cnt = 0
while flag:
    tag += str
    flag = sent.count(tag)
    cnt += 1
print cnt - 1
0