版本比较
题解:CF1889E Doremy's Swapping Trees
正文
增加 2 行删除 2 行
39 行未改动404142434445464748495051123 行未改动全部展开39 行未改动inline int read(){int re=0;char ch=getchar();while(ch>'9'||ch<'0') ch=getchar();while(ch>='0'&&ch<='9') re=10*re+ch-'0',ch=getchar();return re;}inline void write(int x,char div='\n'){if(x==0){putchar('0');putchar(div);return;}static int st[60],top;top=0;while(x) st[++top]=x%10,x/=10;for(int i=top;i>=1;i--) putchar('0'+st[i]);putchar(div);123 行未改动全部展开39 行未改动404142434445464748495051123 行未改动全部展开39 行未改动inline int read(){int re=0;char ch=getchar();while(ch>'9'||ch<'0') ch=getchar();while(ch>='0'&&ch<='9') re=10*re+ch-'0',ch=getchar();return re;}inline void write(int x,char div='\n'){if(x==0){putchar('0');putchar(div);return;}static int st[60],top;top=0;while(x) st[++top]=x%10,x/=10;for(int i=top;i>=1;i--) putchar('0'+st[i]);putchar(div);123 行未改动全部展开