Problem pascal
User Joashhh
Submission Time 2024-04-17 17:08:21
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pascal.cpp: In function ‘int main()’:
pascal.cpp:10:7: error: expected initializer before ‘.’ token
10 | int r. c;
| ^
pascal.cpp:11:9: error: ‘r’ was not declared in this scope
11 | cin >> r >> c;
| ^
pascal.cpp:11:14: error: ‘c’ was not declared in this scope
11 | cin >> r >> c;
| ^
pascal.cpp:12:35: error: expected ‘)’ before ‘;’ token
12 | cout << (fac(r)/(fac(c)*fac(r-c));
| ~ ^
| )