Why is reading lines from stdin much slower in C++ than Python? · HackerTrans