https://liuxueyang.github.io/posts/codeforces/1628a/
CodeForces 1628A Meximum Array