Please have a look at these two solutions, the code using cout is accepted but the code using printf is giving TLE. I always thought printf is faster than than cout. What do you think?
Please have a look at these two solutions, the code using cout is accepted but the code using printf is giving TLE. I always thought printf is faster than than cout. What do you think?