結果
問題 |
No.341 沈黙の期間
|
ユーザー |
|
提出日時 | 2021-09-14 20:21:53 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 41 ms / 5,000 ms |
コード長 | 149 bytes |
コンパイル時間 | 171 ms |
コンパイル使用メモリ | 82,048 KB |
実行使用メモリ | 52,096 KB |
最終ジャッジ日時 | 2024-06-27 11:18:45 |
合計ジャッジ時間 | 1,439 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
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))