0_0_17804294_31746.cpp:112:1: error: 'LL' does not name a type
LL inv(LL a, LL n)
^
0_0_17804294_31746.cpp:120:12: error: variable or field 'merge' declared void
void merge(LL a1, LL n1, LL& a2, LL& n2)
^
0_0_17804294_31746.cpp:120:12: error: 'LL' was not declared in this scope
0_0_17804294_31746.cpp:120:19: error: 'LL' was not declared in this scope
void merge(LL a1, LL n1, LL& a2, LL& n2)
^
0_0_17804294_31746.cpp:120:26: error: 'LL' was not declared in this scope
void merge(LL a1, LL n1, LL& a2, LL& n2)
^
0_0_17804294_31746.cpp:120:30: error: 'a2' was not declared in this scope
void merge(LL a1, LL n1, LL& a2, LL& n2)
^
0_0_17804294_31746.cpp:120:34: error: 'LL' was not declared in this scope
void merge(LL a1, LL n1, LL& a2, LL& n2)
^
0_0_17804294_31746.cpp:120:38: error: 'n2' was not declared in this scope
void merge(LL a1, LL n1, LL& a2, LL& n2)
^
0_0_17804294_31746.cpp:135:8: error: 'LL' does not name a type
inline LL getnum(LL x,LL p,LL r)
^
0_0_17804294_31746.cpp:142:8: error: 'LL' does not name a type
inline LL getnum(LL a,LL b,LL p,LL r)
^
0_0_17804294_31746.cpp:155:1: error: 'LL' does not name a type
LL p[20],a[20];
^
0_0_17804294_31746.cpp: In function 'int main()':
0_0_17804294_31746.cpp:160:5: error: 'LL' was not declared in this scope
LL x,y;
^
0_0_17804294_31746.cpp:57:11: error: 'first' was not declared in this scope
#define x first
^
0_0_17804294_31746.cpp:28:40: note: in definition of macro 'RDL_2'
#define RDL_2(x,y) scanf("%I64d%I64d",&x,&y)
^
0_0_17804294_31746.cpp:166:22: note: in expansion of macro 'x'
RDI(n),RDL_2(x,y);
^
0_0_17804294_31746.cpp:58:11: error: 'second' was not declared in this scope
#define y second
^
0_0_17804294_31746.cpp:28:43: note: in definition of macro 'RDL_2'
#define RDL_2(x,y) scanf("%I64d%I64d",&x,&y)
^
0_0_17804294_31746.cpp:166:24: note: in expansion of macro 'y'
RDI(n),RDL_2(x,y);
^
0_0_17804294_31746.cpp:168:23: error: 'p' was not declared in this scope
REP(i,n)RDL_2(p[i],a[i]);//read(p[i]),read(a[i]);
^
0_0_17804294_31746.cpp:28:40: note: in definition of macro 'RDL_2'
#define RDL_2(x,y) scanf("%I64d%I64d",&x,&y)
^
0_0_17804294_31746.cpp:168:28: error: 'a' was not declared in this scope
REP(i,n)RDL_2(p[i],a[i]);//read(p[i]),read(a[i]);
^
0_0_17804294_31746.cpp:28:43: note: in definition of macro 'RDL_2'
#define RDL_2(x,y) scanf("%I64d%I64d",&x,&y)
^
0_0_17804294_31746.cpp:169:36: error: 'getnum' was not declared in this scope
len=1<<n,ans=getnum(x,y,7,0);
^
0_0_17804294_31746.cpp:172:16: error: expected ';' before 'n3'
LL n3=7,a3=0;
^
0_0_17804294_31746.cpp:173:39: error: 'a' was not declared in this scope
REP(j,n)if(i&(1<<j))merge(a[j],p[j],a3,n3);
^
0_0_17804294_31746.cpp:173:44: error: 'p' was not declared in this scope
REP(j,n)if(i&(1<<j))merge(a[j],p[j],a3,n3);
^
0_0_17804294_31746.cpp:173:49: error: 'a3' was not declared in this scope
REP(j,n)if(i&(1<<j))merge(a[j],p[j],a3,n3);
^
0_0_17804294_31746.cpp:173:52: error: 'n3' was not declared in this scope
REP(j,n)if(i&(1<<j))merge(a[j],p[j],a3,n3);
^
0_0_17804294_31746.cpp:174:46: error: 'n3' was not declared in this scope
if(popcount(i)&1)ans-=getnum(x,y,n3,a3);
^
0_0_17804294_31746.cpp:174:49: error: 'a3' was not declared in this scope
if(popcount(i)&1)ans-=getnum(x,y,n3,a3);
^
0_0_17804294_31746.cpp:175:34: error: 'n3' was not declared in this scope
else ans+=getnum(x,y,n3,a3);
^
0_0_17804294_31746.cpp:175:37: error: 'a3' was not declared in this scope
else ans+=getnum(x,y,n3,a3);
^
|