C++submissions : ios_base::sync_with_stdio(0); cin.tie(nullptr);

Have seen people writing this at the beginning of C++ submissions to improve running times:

 ios_base::sync_with_stdio(0);
 cin.tie(nullptr);

I think it makes no sense to include random optimisations just to get in the top 95-100% of submissions. Algorithmic efficiency is what matters here. It looks immature and hope people stop doing that.

Comments (2)