0_0_13252857_6784.cpp:7:1: error: 'LL' does not name a type
LL f[N],c[N];
^
0_0_13252857_6784.cpp: In function 'void C(int, int)':
0_0_13252857_6784.cpp:11:2: error: 'f' was not declared in this scope
f[i]+=d;
^
0_0_13252857_6784.cpp:12:23: error: 'c' was not declared in this scope
for (;i<=nn;i+=i&-i) c[i]+=d;
^
0_0_13252857_6784.cpp: At global scope:
0_0_13252857_6784.cpp:14:1: error: 'LL' does not name a type
LL Q(int i)
^
0_0_13252857_6784.cpp: In function 'int main()':
0_0_13252857_6784.cpp:65:5: error: 'LL' was not declared in this scope
LL ans=0;
^
0_0_13252857_6784.cpp:72:10: error: expected ';' before 'now'
LL now=0;
^
0_0_13252857_6784.cpp:73:30: error: 'now' was not declared in this scope
for (int k=i;k<=j;k++) now+=f[k];
^
0_0_13252857_6784.cpp:73:35: error: 'f' was not declared in this scope
for (int k=i;k<=j;k++) now+=f[k];
^
0_0_13252857_6784.cpp:74:7: error: 'ans' was not declared in this scope
ans=ans+now*(n/i);
^
0_0_13252857_6784.cpp:74:15: error: 'now' was not declared in this scope
ans=ans+now*(n/i);
^
0_0_13252857_6784.cpp:77:7: error: 'ans' was not declared in this scope
ans=ans+(Q(j)-Q(i-1))*(n/i);
^
0_0_13252857_6784.cpp:77:19: error: 'Q' was not declared in this scope
ans=ans+(Q(j)-Q(i-1))*(n/i);
^
0_0_13252857_6784.cpp:79:11: error: 'ans' was not declared in this scope
cout<<ans<<endl;
^
|