0_0_28355169_21566.cpp: In function 'int main()':
0_0_28355169_21566.cpp:10:2: error: '__int64' was not declared in this scope
__int64 a[22]= {0,0,1};
^
0_0_28355169_21566.cpp:13:3: error: 'a' was not declared in this scope
a[i]=(i-1)*(a[i-1]+a[i-2]);
^
0_0_28355169_21566.cpp:14:22: error: 'scanf' was not declared in this scope
while(~scanf("%d",&c)) {
^
0_0_28355169_21566.cpp:18:25: error: 'a' was not declared in this scope
printf("%0.2lf%%\n",a[n]*100.0/fact(n));
^
0_0_28355169_21566.cpp:18:43: error: 'printf' was not declared in this scope
printf("%0.2lf%%\n",a[n]*100.0/fact(n));
^
|