3 ms·
Maybe due to stdio synchronisation? This can be turned off. https://en.cppreference.com/w/cpp/io/ios_base/sync_with_stdio https://en.cppreference.com/w/cpp/io/
by jpcooper 6y ago
Maybe due to stdio synchronisation? This can be turned off.
https://en.cppreference.com/w/cpp/io/ios_base/sync_with_stdio https://en.cppreference.com/w/cpp/io/ios_base/sync_with_stdi...
- usefulcat 6y agoHe did that: "This line makes it run almost twice as fast: ios::sync_with_stdio(false);"