結果
問題 |
No.341 沈黙の期間
|
ユーザー |
|
提出日時 | 2019-10-04 22:31:59 |
言語 | PyPy3 (7.3.15) |
結果 |
AC
|
実行時間 | 38 ms / 5,000 ms |
コード長 | 151 bytes |
コンパイル時間 | 186 ms |
コンパイル使用メモリ | 82,300 KB |
実行使用メモリ | 53,084 KB |
最終ジャッジ日時 | 2024-10-03 08:03:11 |
合計ジャッジ時間 | 1,561 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 11 |
ソースコード
#!/usr/bin/env python3 S = input() cnt = 0 ans = 0 for s in S: if s == "…": cnt += 1 ans = max(ans, cnt) else: cnt = 0 print(ans)