Problem pascal
User ZacharyTan2010
Submission Time 2024-02-19 17:46:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pascal.cpp: In function ‘int main()’:
pascal.cpp:8:32: error: expected ‘;’ before ‘}’ token
8 | for(int i=1;i<r;i++){ans=ans*i}
| ^
| ;
pascal.cpp:9:32: error: expected ‘;’ before ‘}’ token
9 | for(int i=1;i<c;i++){ans=ans/i}
| ^
| ;