Problem 3332 · Medium

Maximum Points Tourist Can Earn

Keep the best score for ending each day in each city, moving the day forward with either a stay or a travel.

Open the interactive visualisation