Problem coincombinations
User Henries
Submission Time 2024-11-04 20:03:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

coincombinations.cpp:5:17: error: ‘v’ was not declared in this scope
5 | long long solve(v,long long n){
| ^
coincombinations.cpp:5:19: error: expected primary-expression before ‘long’
5 | long long solve(v,long long n){
| ^~~~
coincombinations.cpp:5:30: error: expression list treated as compound expression in initializer [-fpermissive]
5 | long long solve(v,long long n){
| ^
coincombinations.cpp: In function ‘int main()’:
coincombinations.cpp:31:19: error: ‘solve’ cannot be used as a function
31 | cout << solve(v,n);
| ^