It's a nice puzzle, but the solution wasn't as generalized as I'd have liked. Isn't there a way to do it with calculus, even if it requires differential equations using max points and tied elements? And while it's nice to use intuition for the multiples of 1000, intuition isn't rigorous even if correct
