Iron_Knight's blog

By Iron_Knight, history, 3 years ago, In English

146420483 Can someone please help me figure out why is this giving a tle?

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

»
3 years ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Iron_Knight (previous revision, new revision, compare).

»
3 years ago, # |
Rev. 4   Vote: I like it 0 Vote: I do not like it

Use '\n' instead endl. endl does a flush operation everytime. That is a costly operation. So use '\n' unless it's an interactive problem.