got rid of stupid-slow(stdin is slower than file input..wtf) C++ IO