Problem | pascal |
---|---|
User | innerspace777 |
Submission Time | 2024-07-25 08:14:47 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
pascal.cpp:3:15: error: ‘n’ was not declared in this scope
3 | int factorial(n) {
| ^
pascal.cpp:10:16: error: ‘n’ was not declared in this scope
10 | int binomcoeff(n, k) {
| ^
pascal.cpp:10:19: error: ‘k’ was not declared in this scope
10 | int binomcoeff(n, k) {
| ^
pascal.cpp:10:20: error: expression list treated as compound expression in initializer [-fpermissive]
10 | int binomcoeff(n, k) {
| ^
pascal.cpp: In function ‘int main()’:
pascal.cpp:17:25: error: ‘binomcoeff’ cannot be used as a function
17 | cout << binomcoeff(R, C)
| ^