0_0_35941735_26541.cpp: In function 'int main()':
0_0_35941735_26541.cpp:6:2: error: '_int64' was not declared in this scope
_int64 ls[30]={0,0,1};
^
0_0_35941735_26541.cpp:7:9: error: expected ';' before 'gq'
_int64 gq[30]={1,1,2};
^
0_0_35941735_26541.cpp:10:3: error: 'ls' was not declared in this scope
ls[i]=(i-1)*(ls[i-1]+ls[i-2]);
^
0_0_35941735_26541.cpp:11:3: error: 'gq' was not declared in this scope
gq[i]=gq[i-1]*i;
^
0_0_35941735_26541.cpp:16:10: error: expected ';' before 'sum'
_int64 sum=0;
^
0_0_35941735_26541.cpp:23:3: error: 'sum' was not declared in this scope
sum+=gq[n]/(gq[k]*gq[n-k])*(ls[k]);
^
0_0_35941735_26541.cpp:23:8: error: 'gq' was not declared in this scope
sum+=gq[n]/(gq[k]*gq[n-k])*(ls[k]);
^
0_0_35941735_26541.cpp:23:31: error: 'ls' was not declared in this scope
sum+=gq[n]/(gq[k]*gq[n-k])*(ls[k]);
^
0_0_35941735_26541.cpp:25:19: error: 'sum' was not declared in this scope
printf("%I64d\n",sum+1);
^
|