iPs's blog

By iPs, 5 years ago, In English,

Is there anyway to increase speed of cin & cout streams? Like scanf & printf ?
UPD: Yes! By placing this line in the beginning of program ios_base::sync_with_stdio(false);
UPD2: Also! By placing this line in the beginning of program cin.tie(NULL); >> tnx adamant

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

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

thank you

»
5 years ago, # |
  Vote: I like it 0 Vote: I do not like it
»
9 months ago, # |
  Vote: I like it -10 Vote: I do not like it

can u explain its working?