首页 > 代码库 > C++-cin与scanf cout与printf效率问题

C++-cin与scanf cout与printf效率问题

http://blog.csdn.net/l2580258/article/details/51319387

 

void cin_read_nosync() { freopen("data.txt","r",stdin); std::ios::sync_with_stdio(false); for (int i=0;i<MAXN;i++) std::cin >> numbers[i]; }

C++-cin与scanf cout与printf效率问题