I am new to codechef, I have one doubt, though method’s usage is recommended to avoid code repetition,
I wonder using method may actually increase the time of program as compiler has to save current variables then go to method definition then execute method & comes back & restore the previous result.
So in Codechef problems should I avoid method usage or it depends from problem to problem.
Thanks in advance.