_its.abhinav_'s blog

By _its.abhinav_, history, 3 years ago, In English

ios_base::sync_with_stdio(false); cin.tie(NULL);

I have serious doubt about the use of the above statement in my code. In one program I didn't use the above snippets and I got TLE just because of it 129767193. Whereas in another problem I have got TLE because of using the above line 129809522.

I am really confused about using this, please help me out.

Accepted solution: 129770079 129810599

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

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

It wrote in method "solve" in ur link, but you must write this statement in method "main".