Prefix sums did it for the second problem in codeforces div 2 round 248
Problem link :- problem 2
a code construct and algorithm will be uploaded later :P
but here is my source SOLUTION i hope i could have implemented this in the competition but hey ! rating didn't decrease as much as i thought it would 1279->1203 but still a pupil damn >:( will try harder next time and that DP problem on hackerrank is bugging me still tommorow May LunchTime on codechef looking forward to it :)
Problem link :- problem 2
a code construct and algorithm will be uploaded later :P
but here is my source SOLUTION i hope i could have implemented this in the competition but hey ! rating didn't decrease as much as i thought it would 1279->1203 but still a pupil damn >:( will try harder next time and that DP problem on hackerrank is bugging me still tommorow May LunchTime on codechef looking forward to it :)
No comments:
Post a Comment