Problem pascal
User Dam
Submission Time 2023-02-20 08:23:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pascal.cpp: In function ‘int main()’:
pascal.cpp:10:3: error: expected initializer before ‘for’
10 | for(int i=0; i<a; i++){
| ^~~
pascal.cpp:10:16: error: ‘i’ was not declared in this scope
10 | for(int i=0; i<a; i++){
| ^
pascal.cpp:21:11: error: ‘nCr’ was not declared in this scope
21 | cout << nCr[a][b];
| ^~~