c++ 快读

c++快读

#include <cstdio>
#include <algorithm>
using namespace std;
inline long long rd(){
    register int x=0,f=0;register char ch=getchar();
    while(ch<'0'||ch>'9')f|=ch=='-',ch=getchar();
    while(ch>='0'&&ch<='9')x=(x<<3)+(x<<1)+(ch^48),ch=getchar();
    return f?-x:x;
}

猜你喜欢

转载自www.cnblogs.com/Lour688/p/13204479.html