标签:code color 关于 getc inline har pre char class
inline __int128 read() { int X=0,w=0; char ch=0; while(!isdigit(ch)) {w|=ch==‘-‘;ch=getchar();} while(isdigit(ch)) X=(X<<3)+(X<<1)+(ch^48),ch=getchar(); return w?-X:X; } inline void print(__int128 x) { if(x<0){putchar(‘-‘);x=-x;} if(x>9) print(x/10); putchar(x%10+‘0‘); }
标签:code color 关于 getc inline har pre char class
原文地址:https://www.cnblogs.com/719666a/p/10202070.html