hit023's blog

By hit023, history, 5 years ago, In English

The problem (link) statement says clearly that the response from the system will be 3rd and the 4th meatiest meatball from the given 5 meatball indices. But in the example given, the 2nd and 3rd meatiest are being returned. What are we expected to do? Any clarification (from people who have solved the problem or otherwise) will be appreciated.

Full text and comments »

  • Vote: I like it
  • +12
  • Vote: I do not like it

By hit023, history, 6 years ago, In English

Could someone help me in solving this problem : https://www.codechef.com/LOCMAY18/problems/DSERIES ? Here is my solution which, obviously, TLE'ed : https://www.codechef.com/viewsolution/18677401 . Also, it would be great if you could point me to some, other similar problems. Thanks!

Full text and comments »

  • Vote: I like it
  • +4
  • Vote: I do not like it