0_0_16631221_10749.cpp: In function 'int main()':
0_0_16631221_10749.cpp:11:2: error: expected initializer before 'long'
long long result,sum,;
^
0_0_16631221_10749.cpp:15:3: error: 'result' was not declared in this scope
result=1;
^
0_0_16631221_10749.cpp:17:3: error: 'sum' was not declared in this scope
sum=k*(k+1)/2;
^
0_0_16631221_10749.cpp:24:9: error: 'i' was not declared in this scope
for(i=1;i<=k;i++) b[i]=a[i]+u;
^
0_0_16631221_10749.cpp:27:9: error: 'i' was not declared in this scope
for(i=1;i<=k-v;i++)
^
0_0_16631221_10749.cpp:29:11: error: 'i' was not declared in this scope
for(;i<=k;i++) b[i]=a[i]+(u+1);
^
0_0_16631221_10749.cpp:31:9: error: 'i' was not declared in this scope
for(i=1;i<=k;i++) result=(result*b[i])%MOD;
^
|