ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1976. Game Optimization

Hint
Posted by Md sabbir Rahman 14 Nov 2018 20:32
If you can store the closest base in the same column for each cell, then can you process the solution for each row? Look up "convex hull trick".