Problem pascal
User mingging1748
Submission Time 2024-10-21 18:44:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pascal.cpp: In function ‘int main()’:
pascal.cpp:17:11: error: expected primary-expression before ‘long’
17 | answer = long long(factorial(c) / (factorial(r) * factorial(c - r)));
| ^~~~