Search found 2 matches

by vilash99
Fri Feb 14, 2014 6:38 pm
Forum: Volume 1 (100-199)
Topic: 108 - Maximum Sum
Replies: 233
Views: 52216

Re: 108 - Wrong answer

Thanks, for suggestion.
I was trying to get O(N ^ 4) using Kadane algorithms.
Got AC in O(N^5) :D
by vilash99
Thu Feb 13, 2014 5:56 pm
Forum: Volume 1 (100-199)
Topic: 108 - Maximum Sum
Replies: 233
Views: 52216

108 - Wrong answer

I used following code. Work fine for given input and my various test inputs. But WA :(
Please help.....
thanks in advance.
My code:

Removed after AC.

Go to advanced search