![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
读入挂
Self-Discipline
在校大学生
展开
-
读入挂模板
一般读入挂(数据流不是太大的时候 (<10^6)) inline ll read() { ll x=0;int f=1;char ch=getchar(); while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();} while(ch>='0'&&ch<='9'){x=x*10+...原创 2018-08-14 19:39:19 · 259 阅读 · 0 评论 -
fread 快速读入挂
struct FastIO { static const int S = 1e7; int wpos; char wbuf[S]; FastIO() : wpos(0) {} inline int xchar() { static char buf[S]; static int len = 0, pos = 0; ...原创 2019-05-23 11:10:25 · 936 阅读 · 0 评论