|  | 
|  | 
| вернуться в форум | Trivial O(N^4) algorithm easily passes system tests Послано it4.kp  7 окт 2006 03:35In 0.140 sec.Re: Trivial O(N^4) algorithm easily passes system tests Послано Yitao  16 июн 2007 16:57My algo is O(N^4) too,AC in 0.046sec...Re: Trivial O(N^4) algorithm easily passes system tests Do you know a method how to solve it faster???Re: Trivial O(N^4) algorithm easily passes system tests Послано S.77  6 авг 2011 21:25My algo is O(N^3). I just read the input matrix row by row and store the maximal sum of subrectangle for each bottom side projection using DP. I did it with 0.015 secs (never did faster). | 
 | 
|