版本比较
代码缺省源
正文
增加 39 行删除 23 行
12345678910112341415161718567891011121314151617181920202122232425212223242527262728293031323329343536373839404142434445464748```cpp#include<iostream>#include<vector>#include<set>#include<map>#include<queue>#include<stack>#include<cstdint>#include<cstring>#include<cmath>#include<algorithm>#include<bits/stdc++.h>using namespace std;
#define i32 int32_t#define i64 int64_t#define u32 uint32_t#define u64 uint64_t#define pb push_back#ifdef LOCAL#include<algo/debug.h>#else#define debug(...) 42#endif
using ll = long long;using f64 = double;using f128 = long double;using pii = pair<int, int>;using pll = pair<ll, ll>;using vi = vector<int>;using vll = vector<ll>;
#define pb emplace_back#define mk make_pair#define ciallo(x) cerr << x << '\n';#define lop(tp, var, l, r) for(tp var = (l);var < (r);++ var)#define rlop(tp, var, l, r) for(tp var = (l);var > (r);-- var)#define rep(tp, var, l, r) for(tp var = (l);var <= (r);++ var)#define rrep(tp, var, l, r) for(tp var = (l);var >= (r);-- var)#define fastio cin.tie(0) -> ios::sync_with_stdio(0);#define all(x) (x).begin(), (x).end()#define rall(x) (x).rbegin(), (x).rend()#define sz(x) (int)((x).size())#define ciallo(x) cerr << (x) << '\n';
int main(){template <typename T, typename U>inline bool chmin(T& a, const U& b){return (b < a ? a = b, true : false);}template <typename T, typename U>inline bool chmax(T& a, const U& b){return (a < b ? a = b, true : false);}
void solve(){ }
int main(){ #ifdef LOCAL //freopen("test.txt", "r", stdin); #endif cin.tie(0) -> sync_with_stdio(0); int T = 1; // cin >> T; while(T --) solve(); #ifdef LOCAL cout << "Time: " << 1.0 * clock() / CLOCKS_PER_SEC << " s\n "; #endif return 0;}```