cf/mirror

Minimize Equal Sum Subarrays

CF
1998B1000· newbie1.5s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
2
1 2
5
1 2 3 4 5
7
4 7 5 1 2 6 3
Output
2 1
3 5 4 2 1
6 2 1 4 7 3 5
1998B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)