Hacker News new | ask | show | jobs
by jpcooper 1917 days ago
Maybe due to stdio synchronisation? This can be turned off.

https://en.cppreference.com/w/cpp/io/ios_base/sync_with_stdi...

1 comments

He did that:

    "This line makes it run almost twice as fast:
    ios::sync_with_stdio(false);"