0_0_39440180_23661.cpp: In function 'int main()':
0_0_39440180_23661.cpp:12:33: error: 'n' was not declared in this scope
12 | for (int i=2;i<=n;i++)
| ^
0_0_39440180_23661.cpp:14:30: error: 'j' was not declared in this scope
14 | for (j=1;j<=i;j++)
| ^
0_0_39440180_23661.cpp:23:33: error: 'n' was not declared in this scope
23 | for (int i=1;i<=n;i++)
| ^
0_0_39440180_23661.cpp:25:27: error: 'n' was not declared in this scope
25 | cout<<ans[n]<<endl;
| ^
|