My mentors in CP recommended me to use ios_base::sync_with_stdio(0); since it increases the speed of program execution. While going through some videos on YouTube, I came across ios::sync_with_stdio(0); also.
So, What difference does adding or deleting _base make?
Which is better, ios_base::sync_with_stdio(0); or ios::sync_with_stdio(0);?
Kindly explain. Thanking you in advance.
ios::sync_with_stdiois a static method inherited fromios_baseand it is literally the same thing.