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