【New】Code Insertion
作者:互联网
#include <bits/stdc++.h> using namespace std; #define Multicase() for(int T = read() ; T ; T--) #define lowbit(x) (x & (-x)) #define ls (p<<1) #define rs (p<<1|1) #define l(p) tree[p].ls #define r(p) tree[p].rs #define sum(p) tree[p].sum #define tag(p) tree[p].tag #define F(i,a,b) for(int i=(a) ;i<=(b);++i) #define F2(i,a,b) for(int i=(a);i< (b);++i) #define dF(i,a,b) for(int i=(a);i>=(b);--i) #define debug(...) fprintf(stderr,__VA_ARGS__) #define Debug debug("Passing [%s] in LINE %d\n",__FUNCTION__,__LINE__) #define clr(a,x) memset(a,x,sizeof(a)) #define pb push_back #define mp make_pair #define fi first #define se second #define endl '\n' #define ENDL putchar('\n') #define forGraph(u) for(int i=head[u];i;i=G[i].next) const int N=5e5+5; const int M=1e6+5; const int MN=1e3+5; const int iinf=INT_MAX; const double eps=1e-9; const double pi=acos(-1); const long long linf=LLONG_MAX; const long long mod=1000000007,mod2=998244353; typedef long long ll; typedef unsigned long long ull; typedef double db; typedef map<int,int> mii; typedef map<ll,ll> mll; typedef pair<int,int> pii; typedef pair<ll,ll> pll; typedef map<string,int> msi; template <typename T> inline T read(){T x(0),f(0); char ch=getchar(); while(ch<'0'||ch>'9'){f|=ch=='-';ch=getchar();} while(ch>='0'&&ch<='9'){x=(x<<1)+(x<<3)+(ch^48); ch=getchar();} return f?-x:x;} template <typename T> void read(T &x){x=0; T f(0); char ch=getchar(); while(ch<'0'||ch>'9'){f|=ch=='-';ch=getchar();} while(ch>='0'&&ch<='9'){x=(x<<1)+(x<<3)+(ch^48); ch=getchar();} x=f?-x:x;} template <typename T> inline void write(T x){static char buf[64]; static int tot(0); if(x<0) putchar('-'),x=-x; do buf[++tot]=(x%10)+48,x/=10; while(x); do putchar(buf[tot--]); while(tot);} template <typename T> void write(T x,char c){static char buf[64]; static int tot(0); if(x<0) putchar('-'),x=-x; do buf[++tot]=(x%10)+48,x/=10; while(x); do putchar(buf[tot--]); while(tot); putchar(c);} void judge(bool x){printf(x?"YES\n":"NO\n");} void Solve(); struct Graph{ int to,w,next; }G[M<<1]; int head[N],cnt; void addEdge(int u,int v,int w){G[++cnt]=(Graph){v,w,head[u]}; head[u]=cnt;} int n,m,q,k,p; int a[N],b[N],f[N]; vector<int> v; int main(){ // Multicase() Solve(); } void Solve(){ }
标签:typedef,ch,const,int,long,Code,Insertion,New,define 来源: https://www.cnblogs.com/LByte/p/16419299.html