what are the methods to increase the speed of i/o operation?? examples like getchar unlocked fread unlocked i just know there name don’t know how to use them. any kind of guidance will be very much help full links to resources(tutorials) will do the work. grv.
http://www.cplusplus.com/reference/cstdio/fread/ —using this you will have to cast characters to integers(int a= c-‘0’ like this)
Its better you go through the submissions of this problem…