Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
16s
on March 11, 2012
|
parent
|
context
|
favorite
| on:
Why is reading lines from stdin much slower in C++...
Yes, and it's an easy fix as the accepted answer shows:
cin.sync_with_stdio(false);
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
cin.sync_with_stdio(false);