therealkirito's blog

By therealkirito, history, 8 months ago, In English

please can someone help me : https://codeforces.com/contest/1627/submission/226607091 i've tried everything possible to minimize the space used but i dont think i can optimize any further and what do i have to actually optimize please someone help me if you know whats wrong and how can it be corrected.

Full text and comments »

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

By therealkirito, history, 20 months ago, In English

As im new i dont know much. so like if in the question it is mentioned to take an array(c++) of size n and do some modifications, so like we actually need to only take an array or can we take vector(c++) as well? are we supposed to create the same variable names as well as data structres mentioned in the question? codechef allow users to create structures according to thier will and i have already practiced a lot on codechef(250+ questions) to know that we dont actually need to create the same data structures or variables. have suffered a lot due to this in the last contest. Please help!

Full text and comments »

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