正文
增加 19 行删除 18 行
349 行未改动全部展开350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381349 行未改动全部展开::::::::success[快读+快写]~~~cppinline void read(int& x){x=0;char ch=getchar();bool flag=0;while(ch<'0'||ch>'9'){if(ch=='-') flag=1;ch=getchar();}while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}if(flag) x=-x;}inline void write(int x){if(x<0){putchar('-');x=-x;}if(x>9) write(x/10);putchar(x%10+'0');}~~~:::::::::::::::[代码模板2,戳这里](https://www.luogu.me/article/2feaxy8e)[代码模板3,戳这里](https://www.luogu.me/article/kbxeff91)[用户主页,戳这里](https://www.luogu.me/user/1979230)349 行未改动全部展开350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382349 行未改动全部展开::::::::success[快读+快写]~~~cppinline void read(int& x){x=0;char ch=getchar();bool flag=0;while(ch<'0'||ch>'9'){if(ch=='-') flag=1;ch=getchar();}while(ch>='0'&&ch<='9'){x=x*10+ch-'0';ch=getchar();}if(flag) x=-x;}inline void write(int x){if(x<0){putchar('-');x=-x;}if(x>9) write(x/10);putchar(x%10+'0');}~~~:::::::::::::::[代码模板2,戳这里](https://www.luogu.me/article/2feaxy8e)[代码模板3,戳这里](https://www.luogu.me/article/kbxeff91)[代码模板4,戳这里](https://www.luogu.me/article/sr8mjvvx)[用户主页,戳这里](https://www.luogu.me/user/1979230)