跳到正文

lzh0220

518380

AFO

在洛谷打开
资料、奖项与版本

资料

编号
518380
抓取

版本

  1. v2当前
  2. v1

here

C++
#include <bits/stdc++.h>
#define int long long
#define ret return
#define mp make_pair
#define pb push_back
#define Mod 998244353
#define mid (l+r>>1)
using namespace std;
namespace IO{
    int read(){int s=0,f=1;char ch=getchar();while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}while(ch>='0'&&ch<='9'){s=s*10+ch-'0';ch=getchar();}ret s*f;}
    char getch(){char ch=getchar();while(ch<'0'||ch>'9')ch=getchar();return ch;}
    int qpow(int a,int b,int mod){int n=a%mod,ans=1,m=b;while(m){if(m&1)ans=ans*n%mod;m>>=1;n=n*n%mod;}ret ans;}
    int gcd(int x,int y){if(y==0)ret x;ret gcd(y,x%y);}
}using namespace IO;
void solve(){
}
signed main(){
    //ios::sync_with_stdio(false);
    //cin.tie(0);cout.tie(0);
    //freopen("sample.txt","r",stdin);
    //freopen(".in","r",stdin);
    //freopen(".out","w",stdout);
    int t=1;while(t--)solve();ret 0;
}
共 1 篇
  1. 算法·理论

    namespace

    数据结构 K-D Tree FHQ_Treap 多项式 数学 行列式求值 Pollard rho Miller Rabin 计算几何 垃圾桶