版本比较
题解:P15418 「yrOI R1」消融于夜色
正文
增加 7 行删除 1 行
105 行未改动全部展开10610710810911011111211311411580 行未改动105 行未改动全部展开#include<bits/stdc++.h>#define int long longusing namespace std;const int N=1e3+5;//Fast Inputinlinevoid write(int x){if(x<0)putchar('-'),x=-x;if(x>9)write(x/10);putchar(x%10+'0');80 行未改动105 行未改动全部展开10610710810911011111211311411511611711811912012180 行未改动105 行未改动全部展开#include<bits/stdc++.h>#define int long longusing namespace std;const int N=1e3+5;inlineint read(){int ret=0,f=1;char ch=getchar();while(ch<'0'||ch>'9'){if(ch=='-')f=-f;ch=getchar();}while(ch>='0'&&ch<='9')ret=ret*10+ch-'0',ch=getchar();return ret*f;}inlinevoid write(int x){if(x<0)putchar('-'),x=-x;if(x>9)write(x/10);putchar(x%10+'0');80 行未改动