Competitive ricers LOVE this one trick to speed up their iostream. Current *nix compilers are quite smart with optimizing the heck out of C formatter functions (e.g. replacing printf with puts), but with C++ iostream they don't seem to do anything like that.
Competitive ricers LOVE this one trick to speed up their iostream. Current *nix compilers are quite smart with optimizing the heck out of C formatter functions (e.g. replacing printf with puts), but with C++ iostream they don't seem to do anything like that.