用了 ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0); 后是不是不能用 getchar(); ?
ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0);
getchar();