非常实用
void read(int &a) {
int t;
while (t = getchar(), isspace(t));
a = t - '0';
while (t = getchar(), !isspace(t)) a = a * 10 + t - '0';
}
非常实用
void read(int &a) {
int t;
while (t = getchar(), isspace(t));
a = t - '0';
while (t = getchar(), !isspace(t)) a = a * 10 + t - '0';
}