#include<bits/stdc++.h>
#include<bits/extc++.h>
#define int long long
#define x first
#define y second
#define rint register int
using namespace std;
mt19937 rd(chrono::system_clock::now().time_since_epoch().count());
class Rand{
int rnd(int l,int r){
uniform_int_distribution<> dist(l,r);
return dist(rd);
}
double rnd(double l,double r){
uniform_real_distribution<> dist(l,r);
return dist(rd);
}
};
int gcd(int x,int y){return y?gcd(y,x%y):x;}
int lcm(int x,int y){return x/gcd(x,y)*y;}
#define mod 998244353
// #define mod 1000000007
#define P 289
void add(int &x,int y){x+=y; if(x>=mod) x-=mod;}
void sub(int &x,int y){x-=y; if(x<0) x+=mod;}
int qmi(int a,int b){
int res=1;
for(;b;b>>=1){ if(b&1) a=(a*a)%mod; res=(res*a)%mod;}
return res;
}
#ifdef Codeforces
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4.1,sse4.2,avx,avx2,popcnt,tune=native")
#endif
// defined in here
char x_x;
int n,m,k,a[30],res;
unordered_map<int,int> mp[30];
char y_y;
// completed
#define DE
template<typename ...Args>
void W(string X,Args&&...V){cout<<X<<"]=[";string D=""; (...,(cout<<D<<V,D=","));cout<<"]\n";}
#ifdef DE
#define tam cerr<<1e3*clock()/CLOCKS_PER_SEC<<" ms "<<(&y_y-&x_x)/1024.0/1024.0<<" MB\n",0
#define dg(...) cerr<<__func__<<":"<<__LINE__<<" [",W(#__VA_ARGS__,__VA_ARGS__)
#else
#define dg(...)
#define tam 0
#endif
signed main(){
cin.tie(0)->sync_with_stdio(0);
return tam;
}剪贴板
剪贴板 4uh7098g
剪贴板信息
剪贴板信息
- 收录
- 更新