vendredi 2 septembre 2016

Is cout and cin slower than printf() and scanf() ? If yes then why? [duplicate]

This question already has an answer here:

I wrote a program in c++ using cout cin and got a TLE(Time Limit Exceeded) in a problem hackerearth but the same code worked using printf() scanf() ! Why is this ?

Aucun commentaire:

Enregistrer un commentaire