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]; }

posted @ 2017-06-08 16:49  Aragaki  阅读(105)  评论(0编辑  收藏  举报