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 1696. Salary for Robots

it takes my days
Posted by Abid29 10 Apr 2021 22:04
you can easily find the solution with O(nk^3)

but it will give u tle

after optimization with cumulative sum array it will be O(nk^2)