prog.cpp:7:1: error: ‘ll’ does not name a type
ll ans[25];
^~
prog.cpp:8:1: error: ‘ll’ does not name a type
ll C[25][25];
^~
prog.cpp: In function ‘int main()’:
prog.cpp:10:2: error: ‘ll’ was not declared in this scope
ll n;
^~
prog.cpp:11:2: error: ‘cin’ was not declared in this scope
cin >>n;
^~~
prog.cpp:11:2: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:75:0,
from prog.cpp:1:
/usr/include/c++/6/iostream:60:18: note: ‘std::cin’
extern istream cin; /// Linked to standard input
^~~
prog.cpp:11:8: error: ‘n’ was not declared in this scope
cin >>n;
^
prog.cpp:17:2: error: ‘C’ was not declared in this scope
C[0][0] = 1;
^
prog.cpp:19:17: error: expected ‘;’ before ‘j’
for(int j = 0 j <= i; j++){
^
prog.cpp:20:7: error: expected ‘;’ before ‘c’
ll c=1;
^
prog.cpp:21:36: error: ‘c’ was not declared in this scope
for(int k = i; k >= i-j+1; k--) c*=k;
^
prog.cpp:22:16: error: ‘l’ was not declared in this scope
for(int k = l; k <= j; k++) c/=k;
^
prog.cpp:22:32: error: ‘c’ was not declared in this scope
for(int k = l; k <= j; k++) c/=k;
^
prog.cpp:23:14: error: ‘c’ was not declared in this scope
C[i][j] = c;
^
prog.cpp:48:5: error: expected ‘;’ before ‘m’
ll m=1;
^
prog.cpp:50:3: error: ‘m’ was not declared in this scope
m *= C[t-1][a]; t-=a;
^
prog.cpp:52:2: error: ‘m’ was not declared in this scope
m *= C[t][b]; t-=b;
^
prog.cpp:61:2: error: ‘ans’ was not declared in this scope
ans[s] += m;
^~~
prog.cpp:63:33: error: ‘ans’ was not declared in this scope
for(int i = 0; i<21; i++)ans[0] += ans[i];
^~~
prog.cpp:64:8: error: ‘cout’ was not declared in this scope
cout<<ans[0];
^~~~
prog.cpp:64:8: note: suggested alternative:
In file included from /usr/include/x86_64-linux-gnu/c++/6/bits/stdc++.h:75:0,
from prog.cpp:1:
/usr/include/c++/6/iostream:61:18: note: ‘std::cout’
extern ostream cout; /// Linked to standard output
^~~~
prog.cpp:64:14: error: ‘ans’ was not declared in this scope
cout<<ans[0];
^~~