結果
| 問題 |
No.341 沈黙の期間
|
| コンテスト | |
| ユーザー |
a_ten
|
| 提出日時 | 2016-03-08 18:52:15 |
| 言語 | Python2 (2.7.18) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 172 bytes |
| コンパイル時間 | 259 ms |
| コンパイル使用メモリ | 7,040 KB |
| 実行使用メモリ | 6,948 KB |
| 最終ジャッジ日時 | 2024-09-24 14:55:52 |
| 合計ジャッジ時間 | 937 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 1 WA * 10 |
ソースコード
#coding:utf-8
import re
s=raw_input()
list=re.findall('\.\.\.+',s)
if not list:
print 0
else:
mx=0
for i in range(len(list)):
mx=max(mx,len(list[i]))
print mx/3
a_ten