struct ios {
inline char read(){
static const int IN_LEN=<<|;
static char buf[IN_LEN],*s,*t;
return (s==t)&&(t=(s=buf)+fread(buf,,IN_LEN,stdin)),s==t?-:*s++;
} template <typename _Tp> inline ios & operator >> (_Tp&x){
static char c11,boo;
for(c11=read(),boo=;!isdigit(c11);c11=read()){
if(c11==-)return *this;
boo|=c11=='-';
}
for(x=;isdigit(c11);c11=read())x=x*+(c11^'');
boo&&(x=-x);
return *this;
}
} io; int main(){io>>a>>b;}
相关文章
- 为什用fread读一个二进制文件的时候最后一位数总是重复啊
- 【C语言】fread() | fwrite() 二进制读/写函数。
- C/C++快读(快速读入)有多——安全AC
- 快读《ASP.NET Core技术内幕与项目实战》WebApi3.1:WebApi最佳实践
- 快读《ASP.NET Core技术内幕与项目实战》EFCore2.5:集合查询原理揭秘(IQueryable和IEnumerable)
- RSS 2.0 php生成类,快读生成需要xml文件
- matlab文件操作及读txt文件(fopen,fseek,fread,fclose)
- 读快两年来的感想
- RSS 2.0 php生成类,快读生成需要xml文件
- fread 读文件的问题!