char buf[1 << 21], * p1 = buf, * p2 = buf; int Getc() { return p1 == p2 && (p2 = (p1 = buf) + fread(buf, 1, 1<<21, stdin), p1== p2) ? EOF : *p1++; } // 下面套普通的快速即可
fread读入优化
猜你喜欢
转载自www.cnblogs.com/kcn999/p/10807215.html
今日推荐
周排行