Rating changes for last rounds are temporarily rolled back. They will be returned soon. ×

MCHEF Codechef

Revision en1, by XLR8ST, 2015-07-30 09:14:05

I'm trying to do MCHEF from codechef long july 2015 . I've tried to implement what is written in the editorial but i'm constantly getting tle , The complexity of my solution seems to be enough to pass the constraints.Why am i getting TLE?? help !!

LINK TO CODE- http://pastebin.com/T5ZxchXL

Tags codechef

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English XLR8ST 2015-07-30 09:14:05 369 Initial revision (published)