Problem childsetter6
User chickengoat
Submission Time 2025-12-17 12:00:33
Score 0
Max Time N/A
Max Memory N/A

Compile Error

childsetter6.cpp: In function ‘int main()’:
childsetter6.cpp:11:2: error: ‘ll’ was not declared in this scope
11 | ll N=n+m-1;
| ^~
childsetter6.cpp:12:5: error: expected ‘;’ before ‘ll’
12 | m--
| ^
| ;
13 | ll factorial[n];
| ~~
childsetter6.cpp:14:2: error: ‘factorial’ was not declared in this scope
14 | factorial[1]=1;
| ^~~~~~~~~
childsetter6.cpp:15:8: error: expected ‘;’ before ‘i’
15 | for(ll i=2;i<n;i++){
| ^~
| ;
childsetter6.cpp:15:13: error: ‘i’ was not declared in this scope
15 | for(ll i=2;i<n;i++){
| ^
childsetter6.cpp:18:20: error: ‘N’ was not declared in this scope
18 | cout << factorial[N]/factorial[m]*factorial[n];
| ^