potato_lord's blog

By potato_lord, history, 5 years ago, In English

The problem statement is included in a PDF, here's the url http://codeforces.com/gym/100676/attachments/download/3333/acm-arabella-collegiate-programming-contest-en.pdf

This is my submission : http://ideone.com/ydWkFG ( Submission ID : # http://codeforces.com/gym/100676/submission/13904264)

Getting MLE on submission, makes me think of my approach as an incorrect one. Please help to fix/correct the above mentioned approach, or provide hints towards the right approach , if mine is wrong.

Ty in advance. :) Warm Regards

Read more »

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it