Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 886 Bytes

MY_TEMPLATE.md

File metadata and controls

33 lines (25 loc) · 886 Bytes

#include <bits/stdc++.h>

using namespace std;

#define MEM(a, b) memset(a, (b), sizeof(a)) #define FOR(i, j, k, in) for (int i=j ; i<k ; i+=in) #define RFOR(i, j, k, in) for (int i=j ; i>=k ; i-=in) #define REP(i, j) FOR(i, 0, j, 1) #define RREP(i, j) RFOR(i, j, 0, 1) #define MOD 1000000007 #define max(x,y) (x>y)?x:y #define min(x,y) (x<y)?x:y #define mid(s,e) (s+(e-s)/2) #define test() int t; scanf("%d",&t); while(t--)

typedef vector VI; typedef long int int32; typedef unsigned long int uint32; typedef long long int int64; typedef unsigned long long int uint64;

ll extgcd(ll a,ll b,ll& x,ll& y){if(b==0){x=1;y=0;return a;}else{int g=extgcd(b,a%b,y,x);y-=a/bx;return g;}} ll modpow(ll a,ll b) {ll res=1;a%=MOD;for(;b;b>>=1){if(b&1)res=resa%MOD;a=a*a%MOD;}return res;}

int main() { test(){

} return 0; }