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








This
thank you
http://mirror.codeforces.com/blog/entry/925
thank you
And a bit more =)
thank you
can u explain its working?
Check This .
what about
cout.tie(0)?It is useless.