It is trivial that the answer would be simply $N+1$.

You can also factorize $N$ and find the maximum sum since the limit is small.

Contributors

Statistics

99% Solution Ratio
prodip_bsmrstuEarliest, Dec '18
prodip_bsmrstuFastest, 0.0s
riadroxLightest, 0 B
Nusab19Shortest, 9B
Toph uses cookies. By continuing you agree to our Cookie Policy.