二维线段树老是T,加了个读入加速,笑哈哈! inline int INP(){ int x = 0; char c; while((c = getchar()) != ‘ ‘ && c != ‘\n’){ x = x * 10 + c - ‘0’; } return x; }
二维线段树老是T,加了个读入加速,笑哈哈!
inline int INP(){
int x = 0;
char c;
while((c = getchar()) != ‘ ‘ && c != ‘\n’){
x = x * 10 + c - ‘0’;
}
return x;
}