#include<bits/stdc++.h>
using namespace std;
template <typename T>
inline T read(){
T x = 0, f = 1;
char ch = getchar();
while(ch < '0' || ch > '9'){ if(ch == '-') f = -1; ch = getchar();}
while(ch >= '0' && ch <= '9'){ x = x * 10 + (ch - '0'); ch = getchar();}
return x * f;
} // int a = read<int>();
template <typename T>
inline T write(T x){
if(x < 0){ putchar('-'); x = -x;}
if(x > 9) write(x / 10);
putchar(x % 10 + '0');
}
using ll = long long;
using ull = unsigned long long;
using pii = pair<int, int>;
using vi = vector<int>;
using vvi = vector<vi>;
using vii = vector<pii>;
const int INF = 1e9;
const int MOD = 1e9 + 7;
#define sz(x) ((int)(x).size())
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define pb push_back
#define eb emplace_back
#define ft first
#define sd second
#define lb lower_bound
#define ub upper_bound
#define endl '\n'
#define rep(i, a, b) for(int i = (a); i < (b); ++ i)
#define per(i, a, b) for(int i = (b) - 1; i >= (a); -- i)
#define each(x, a) for(auto &x : a)
template <typename T> T ftpow(T a, ll b, T mod){
T res = 1;
for(; b; b >>= 1, a = a * a % mod){
if(b & 1) res = res * a % mod;
}
return res;
}
void ftit(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
}
void fp(){
freopen("c.in","r",stdin);
freopen("c.out","w",stdout);
}
void solve(){
;
}
int main(){
solve();
return 0;
}C++缺省源
这是 2026年8月19日 存档的第 1 版,不是当前版本。查看当前版本