結果
| 問題 |
No.341 沈黙の期間
|
| コンテスト | |
| ユーザー |
sekiya9311
|
| 提出日時 | 2016-08-16 16:45:03 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 195 bytes |
| コンパイル時間 | 301 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 6,528 KB |
| 最終ジャッジ日時 | 2024-11-07 18:16:23 |
| 合計ジャッジ時間 | 1,228 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | AC * 10 WA * 1 |
ソースコード
# -*- 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
print ans
sekiya9311