Doubt in Codechef long MARRAYS

Revision en1, by skpro19, 2017-10-19 04:44:39

This is the problem link. This is my submission. It is getting TLE. I read another guy's recursive approach. It got full points. I don't understand, why this code is getting accepted, but mine is not.

Any help would be really appreciated.


Tags codechef long, #codechef, dynamic programming, october challenge


  Rev. Lang. By When Δ Comment
en1 English skpro19 2017-10-19 04:44:39 386 Initial revision (published)