Hacker News new | ask | show | jobs
by tomtomtom1 2230 days ago
would ios_base::sync_with_stdio(false); also help?
1 comments

In my benchmark, the c++ version uses the c api (printf rather than cout), so it wouldn't make a difference.