Good Subarrays (Easy Version)
1736C11300· pupil1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
331 2 331 1 142 1 4 3
Output
637
58%
1736C1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
331 2 331 1 142 1 4 3
637