0_0_37777607_1869.cpp:2:34: error: stray '##' in program
define rep(i,s,t) for(int i=(s),i##end=(t);i<=i##end;++i)
^
0_0_37777607_1869.cpp:2:48: error: stray '##' in program
define rep(i,s,t) for(int i=(s),i##end=(t);i<=i##end;++i)
^
0_0_37777607_1869.cpp:3:34: error: stray '##' in program
define dwn(i,s,t) for(int i=(s),i##end=(t);i>=i##end;--i)
^
0_0_37777607_1869.cpp:3:48: error: stray '##' in program
define dwn(i,s,t) for(int i=(s),i##end=(t);i>=i##end;--i)
^
0_0_37777607_1869.cpp:1:1: error: 'include' does not name a type
include<bits/stdc++.h>
^
0_0_37777607_1869.cpp:2:44: error: 'i' does not name a type
define rep(i,s,t) for(int i=(s),i##end=(t);i<=i##end;++i)
^
0_0_37777607_1869.cpp:2:54: error: expected unqualified-id before '++' token
define rep(i,s,t) for(int i=(s),i##end=(t);i<=i##end;++i)
^
0_0_37777607_1869.cpp:3:44: error: 'i' does not name a type
define dwn(i,s,t) for(int i=(s),i##end=(t);i>=i##end;--i)
^
0_0_37777607_1869.cpp:3:54: error: expected unqualified-id before '--' token
define dwn(i,s,t) for(int i=(s),i##end=(t);i>=i##end;--i)
^
0_0_37777607_1869.cpp:4:29: error: 'i' does not name a type
define ren for(int i=fst[x];i;i=nxt[i])
^
0_0_37777607_1869.cpp:4:31: error: 'i' does not name a type
define ren for(int i=fst[x];i;i=nxt[i])
^
0_0_37777607_1869.cpp:11:9: error: 'vector' does not name a type
typedef vector<int> vi;
^
0_0_37777607_1869.cpp:12:9: error: 'pair' does not name a type
typedef pair<int,int> pii;
^
0_0_37777607_1869.cpp: In function 'int read()':
0_0_37777607_1869.cpp:18:33: error: 'getchar' was not declared in this scope
int x=0,f=1;char ch=getchar();
^
0_0_37777607_1869.cpp:19:22: error: 'isdigit' was not declared in this scope
while(!isdigit(ch)) {if(ch=='-') f=-1;ch=getchar();}
^
0_0_37777607_1869.cpp:20:21: error: 'isdigit' was not declared in this scope
while(isdigit(ch)) {x=x*10+ch-'0';ch=getchar();}
^
0_0_37777607_1869.cpp: In function 'll readll()':
0_0_37777607_1869.cpp:25:32: error: 'getchar' was not declared in this scope
ll x=0,f=1;char ch=getchar();
^
0_0_37777607_1869.cpp:26:22: error: 'isdigit' was not declared in this scope
while(!isdigit(ch)) {if(ch=='-') f=-1;ch=getchar();}
^
0_0_37777607_1869.cpp:27:21: error: 'isdigit' was not declared in this scope
while(isdigit(ch)) {x=x*10+ch-'0';ch=getchar();}
^
0_0_37777607_1869.cpp: At global scope:
0_0_37777607_1869.cpp:44:1: error: 'pair' does not name a type
pair<ll,int> q[MAXN];
^
0_0_37777607_1869.cpp: In function 'void build(int, int, int)':
0_0_37777607_1869.cpp:51:34: error: 'min' was not declared in this scope
mn[k]=min(mn[k<<1],mn[k<<1|1]);
^
0_0_37777607_1869.cpp: In function 'int solve()':
0_0_37777607_1869.cpp:70:47: error: 'min' was not declared in this scope
n=read(),a[0]=sum[0]=read(),k=min(read(),n);
^
0_0_37777607_1869.cpp:71:9: error: 'i' was not declared in this scope
rep(i,1,n) a[i]=read(),sum[i]=sum[i-1]+a[i];
^
0_0_37777607_1869.cpp:71:14: error: 'rep' was not declared in this scope
rep(i,1,n) a[i]=read(),sum[i]=sum[i-1]+a[i];
^
0_0_37777607_1869.cpp: In function 'int main()':
0_0_37777607_1869.cpp:89:9: error: 'T' was not declared in this scope
rep(T,1,read()) puts(solve()?"YES":"NO");
^
0_0_37777607_1869.cpp:89:19: error: 'rep' was not declared in this scope
rep(T,1,read()) puts(solve()?"YES":"NO");
^
|