链接
。和一位
#include<bits/stdc++.h>//☕️
using namespace std;
#define int int
signed main(){
ios::sync_with_stdio(false);
cin.tie(nullptr);
return 0;
}快速幂
int pw(int a,int k){
if(k==0) return 1;
int res=a;
k--;
while(k){
if(k&1) res=(res*a)%mod;
a=(a*a)%mod;
k>>=1;
}
return res;
}快读
inline int read()
{
int 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-48;ch=getchar();}
return x*f;
}