Isn't it a good idea to use a macro which replaces all the instances of endl with "\n" in all of my C++ programs to speed-up my code because doing so will stop unnecessary flushing of stdout?
Asking this because I have never seen anyone using such a macro.
Of course, in certain problems like the interactive ones, where I have to flush stdout, I will have to write fflush(stdout) separately.