結果
問題 |
No.341 沈黙の期間
|
ユーザー |
![]() |
提出日時 | 2024-08-18 01:10:09 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 42 ms / 5,000 ms |
コード長 | 119 bytes |
コンパイル時間 | 361 ms |
コンパイル使用メモリ | 82,560 KB |
実行使用メモリ | 53,416 KB |
最終ジャッジ日時 | 2024-08-18 01:10:12 |
合計ジャッジ時間 | 1,879 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
ss = input() ans, cnt = 0, 0 for s in ss: if s == "…": cnt += 1 ans = max(ans, cnt) else: cnt = 0 print(ans)