pwn's blog

By pwn, 12 years ago, In English

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?

http://codeforces.me/contest/436/submission/6890501

http://codeforces.me/contest/436/submission/6890486

Full text and comments »

  • Vote: I like it
  • +2
  • Vote: I do not like it