标签:lib 原因 tar http 关闭 ase can class word
习惯了用cin
很多人会说cin的速度比scanf慢很多, 其实不然.
cin慢的原因主要在于默认cin与stdin总是保持同步, 这一步是消耗时间大户.
只需要加上std::iOS::sync_with_stdio(false)来关闭同步就好了, 速度甚至要优于scanf.
标签:lib 原因 tar http 关闭 ase can class word
原文地址:http://www.cnblogs.com/zzqc/p/7352443.html