#4005. C++-GESP 2025-09认证四级-编程题02(最长连续段)

C++-GESP 2025-09认证四级-编程题02(最长连续段)

Background

Description

image image image

Format

Input

Output

Samples

4
1 0 2 4
3
9
9 9 8 2 4 4 3 5 3
4

Limitation