Partition Game
1527E2500· grandmaster3s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
7 21 6 6 4 6 6 6
Output
3
Sample 2of 2
Input
7 45 5 5 5 2 3 3
Output
1
58%
1527E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
7 21 6 6 4 6 6 6
3
7 45 5 5 5 2 3 3
1