Problem | workload |
---|---|
User | shenxy13 |
Submission Time | 2023-06-01 00:47:22 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
workload.cpp: In function ‘int main()’:
workload.cpp:9:38: error: ‘factorial’ was not declared in this scope
9 | long long num_ways = (k + n - 1) * factorial(k) / factorial(n - 1);
| ^~~~~~~~~