Create max.subsum.cpp

1 2 3 4
2 3 4
3 4
4