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

therealkirito's blog

By therealkirito, history, 2 years 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!

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

»
2 years ago, # |
  Vote: I like it +3 Vote: I do not like it

The only thing matter is what your program outputs for each tests. You're free to do whatever you want in your code.

»
2 years ago, # |
  Vote: I like it 0 Vote: I do not like it

What matters is receiving the input correctly and returning the output correctly. the rest is on your own.