結果
| 問題 | No.341 沈黙の期間 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-09-14 20:21:53 |
| 言語 | PyPy3 (8.0.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 35 ms / 5,000 ms |
| + 110µs | |
| コード長 | 149 bytes |
| 記録 | |
| コンパイル時間 | 90 ms |
| コンパイル使用メモリ | 64,336 KB |
| 実行使用メモリ | 53,544 KB |
| 最終ジャッジ日時 | 2026-11-10 23:04:38 |
| 合計ジャッジ時間 | 2,293 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge7_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 15 |
ソースコード
s=input()
res=0
now=0
for i in range(len(s)):
if s[i]=='…':
now+=1
else:
res=max(res,now)
now=0
print(max(res,now))