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 1146. Maximum Sum

I know there O(N^3) solution, but how to get 0.001s ??
Posted by xurshid_n 7 Jan 2017 23:14
There a[i][j] in [-127..127]  and  n <= 100 -- May be there bitmask tricks, or other tricks????
Re: I know there O(N^3) solution, but how to get 0.001s ??
Posted by HeredisStultus 7 Nov 2019 21:19
There's one hard solution with quick matrix multiply