如果你使用了类似下方代码的快读,请将所有输入输出改为cin,cout再提交
int read() { int x = 0,f = 1; char ch = getchar(); while(ch<'0'||'9'<ch) { if(ch=='-') { f = -1; } ch = getchar(); } while('0'<=ch&&ch<='9') { x = (x<<3) + (x<<1) + ch - '0'; ch = getchar(); } return x * f; }