fast I/O in C/C++

There many ways to do input/output in C/C++. Some are slow, some are fast and some can be very fast. Here I’ll be discussing some of these methods. Many a times during competetive programming you come across the warning “Careful – large input/output“. Now what exactly does this means? This basically means that you have…

Read more...

Code Profiling for time in C++

Code profiling is a very important aspect of programming. First you must be wondering what is code profiling. You can always google it but in simple words “code profiling” is just measuring of the resources used by your program or small sections of your program. Here I will be talking about code profiling for “time”….

Read more...