結果

問題 No.341 沈黙の期間
ユーザー 👑 kmjpkmjp
提出日時 2016-02-12 22:21:30
言語 Python2
(2.7.18)
結果
AC  
実行時間 12 ms / 5,000 ms
コード長 308 bytes
コンパイル時間 413 ms
コンパイル使用メモリ 7,088 KB
実行使用メモリ 6,408 KB
最終ジャッジ日時 2023-10-22 02:44:35
合計ジャッジ時間 1,369 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,408 KB
testcase_01 AC 11 ms
6,408 KB
testcase_02 AC 11 ms
6,408 KB
testcase_03 AC 11 ms
6,408 KB
testcase_04 AC 12 ms
6,408 KB
testcase_05 AC 11 ms
6,408 KB
testcase_06 AC 12 ms
6,408 KB
testcase_07 AC 12 ms
6,408 KB
testcase_08 AC 11 ms
6,408 KB
testcase_09 AC 11 ms
6,408 KB
testcase_10 AC 12 ms
6,408 KB
testcase_11 AC 12 ms
6,408 KB
testcase_12 AC 12 ms
6,408 KB
testcase_13 AC 11 ms
6,408 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#!/usr/bin/env python
# -*- coding: utf-8 -*-

import sys
import math
import codecs

sys.stdin  = codecs.getreader('utf-8')(sys.stdin)
sys.stdout = codecs.getwriter('utf-8')(sys.stdout)

S=raw_input().strip()
ma = 0
len = 0
for c in S:
	if c==u"…":
		len = len+1
	else:
		len = 0
	ma=max(ma,len)
print ma

0