I have found that several questions in codechef require faster i/o .
I am new in coding so plz help me how is it done .
I have good knowledge of scanf printf cout cin .But I think that there is something which is even faster that this .
please provide me a a function to explain your algorithm.
1 Like
This was discussed here several times
- Alternative to using printf repeatedly - general - CodeChef Discuss
- http://discuss.codechef.com/questions/3499/working-of-fast-io
- http://discuss.codechef.com/questions/2422/fast-inputoutput
AFAIK printf and scanf is quick enough for all problems
1 Like