版本比较
火车头
正文
增加 40 行删除 5 行
47 行未改动48495051525354555657585960616263535464656667686970717273747576777879808182838485868788896 行未改动9697989970717210010110210310410510610710810911047 行未改动#include <condition_variable>#include <future>#include <locale>using namespace std;using ll=long long;using ull=unsigned long long;using i128=__int128;using db=double;template<typename T> inline void read(T &x){x = 0;T f = 1;char ch = getchar();while(!isdigit(ch)){if(ch == '-'){f = -1;}ch = getchar();};while(isdigit(ch))x = x * 10 + (ch ^ 48), ch = getchar(); x *= f;}template<typename type , typename... T>inline void read(type &x , T&...y){read(x); read(y...);}template<typename T> inline void write(T x){if (!x) {putchar('0');return ;}if (x < 0) putchar('-') , x = -x;if (x > 9) write(x / 10);putchar(x % 10 + '0');return ;}template<typename type , typename... T>inline void write(type &x , T&...y){write(x); write(y...);}#define fastio ios::sync_with_stdio(0) , cin.tie(0) , cout.tie(0)#define ll long long#define Int ll#define int Int#define ull unsigned long long#define INT __int128#define db double#define ldb long double#define inf (1 << 30)#define pb push_back#define eb emplace_back#define pb push_back#define pf push_front#define mp make_pair#define fi first#define se second#define rep(i,a,b,v) for(int i=a;i<=b;i+=v)#define frep(i,a,b,v) for(int i=b;i<=a;i-=v)#define all(x) (x).begin() , (x).end()#define sz(x) ((int)x.size())#define bug puts("----------")
int const iINF=(1<<31)-1;int const lINF=(1<<63)-1;int const MOD=1e9+7;
inline int read() { int x = 0, f = 1; char ch = getchar(); while (ch < '0' || ch > '9') { if (ch == '-') f = -1; ch = getchar(); }6 行未改动 if (x > 9) write(x / 10); putchar(x % 10 + '0');}
signed main(){ ios::sync_with_stdio(0),cin.tie(0),cout.tie(0); //Please write code hereinline void solve(){ //Please write code here reutrn;}
int main(){ fastio; solve(); return 0;}```