結果
| 問題 | No.341 沈黙の期間 |
| コンテスト | |
| ユーザー |
convexineq
|
| 提出日時 | 2021-01-14 06:49:04 |
| 言語 | PyPy3 (8.0.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 23 ms / 5,000 ms |
| + 558µs | |
| コード長 | 141 bytes |
| 記録 | |
| コンパイル時間 | 61 ms |
| コンパイル使用メモリ | 81,140 KB |
| 実行使用メモリ | 55,932 KB |
| 最終ジャッジ日時 | 2026-09-28 18:05:40 |
| 合計ジャッジ時間 | 1,595 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 |
ソースコード
s = input()+"a"
ans = now = 0
for i in s:
if i == "…":
now += 1
else:
ans = max(ans,now)
now = 0
print(ans)
convexineq