0_0_37783886_2940.cpp: In function 'void MAIN::pre()':
0_0_37783886_2940.cpp:40:9: error: 'fac' was not declared in this scope
fac[0]=fac[1]=inv[0]=inv[1]=1;
^
0_0_37783886_2940.cpp:40:23: error: 'inv' was not declared in this scope
fac[0]=fac[1]=inv[0]=inv[1]=1;
^
0_0_37783886_2940.cpp:41:54: error: 'mul' was not declared in this scope
for(res i=2;i<=N-10;i++)fac[i]=mul(fac[i-1],i),inv[i]=mul(inv[kcz%i],kcz-kcz/i);
^
0_0_37783886_2940.cpp:41:71: error: 'kcz' was not declared in this scope
for(res i=2;i<=N-10;i++)fac[i]=mul(fac[i-1],i),inv[i]=mul(inv[kcz%i],kcz-kcz/i);
^
0_0_37783886_2940.cpp:42:59: error: 'mul' was not declared in this scope
for(res i=2;i<=N-10;i++)inv[i]=mul(inv[i-1],inv[i]);
^
0_0_37783886_2940.cpp: In function 'int MAIN::C(const int&, const int&)':
0_0_37783886_2940.cpp:45:26: error: 'fac' was not declared in this scope
return x<y?0:mul(fac[x],mul(inv[y],inv[x-y]));
^
0_0_37783886_2940.cpp:45:37: error: 'inv' was not declared in this scope
return x<y?0:mul(fac[x],mul(inv[y],inv[x-y]));
^
0_0_37783886_2940.cpp:45:52: error: 'mul' was not declared in this scope
return x<y?0:mul(fac[x],mul(inv[y],inv[x-y]));
^
0_0_37783886_2940.cpp:45:53: error: 'mul' was not declared in this scope
return x<y?0:mul(fac[x],mul(inv[y],inv[x-y]));
^
0_0_37783886_2940.cpp:45:53: error: redeclaration of '<typeprefixerror>mul'
0_0_37783886_2940.cpp:45:52: note: previous declaration '<typeprefixerror>mul'
return x<y?0:mul(fac[x],mul(inv[y],inv[x-y]));
^
0_0_37783886_2940.cpp: In function 'void MAIN::add(int&, const int&)':
0_0_37783886_2940.cpp:49:17: error: 'kcz' was not declared in this scope
x+=y,x>=kcz?x-=kcz:1,x<0?x+=kcz:1;
^
0_0_37783886_2940.cpp: In function 'int MAIN::Add(const int&, const int&)':
0_0_37783886_2940.cpp:52:21: error: 'kcz' was not declared in this scope
return x+y>=kcz?x+y-kcz:(x+y<0?x+y+kcz:x+y);
^
0_0_37783886_2940.cpp: In function 'void MAIN::change(const int&, const int&)':
0_0_37783886_2940.cpp:55:30: error: 'mul' was not declared in this scope
laz[rt]=mul(laz[rt],v),tr[rt]=mul(tr[rt],v);
^
0_0_37783886_2940.cpp: In function 'int MAIN::calc()':
0_0_37783886_2940.cpp:116:28: error: 'kcz' was not declared in this scope
return Add(pw[tot],kcz-Add(query(mx),query(1,1,mid-1,mx+1,mn-mid)));
^
0_0_37783886_2940.cpp: In function 'void MAIN::MAIN()':
0_0_37783886_2940.cpp:120:24: error: 'qpow' was not declared in this scope
res INV2=qpow(2);
^
|