Inverse Minimum Partition (Easy Version)
2159D12500· grandmaster4s1024 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
453 1 4 1 5109 2 6 5 3 5 8 9 7 981 2 3 4 5 6 7 821 1000000000000000000
Output
2452
58%
2159D1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)