0_0_27450984_14406.cpp: In function 'int main()':
0_0_27450984_14406.cpp:9:6: error: 'f' was not declared in this scope
f[i] = i+1;
^
0_0_27450984_14406.cpp:12:6: error: 'f' was not declared in this scope
f[i] = f[i-1] + f[i-3];
^
0_0_27450984_14406.cpp:17:18: error: 'f' was not declared in this scope
printf("%d\n",f[n-1]);
^
|