考试快读模板 inline void read(register long long &x){ x=0;bool f=0;char c=getchar(); while(c<'0'||c>'9'){if(c=='-')f=1;c=getchar();} while('0'<=c&&'9'>=c){x*=10,x+=c-'0';c=getchar();} if(f)x=-x; }//c++