answer.code: In function ‘long long int solve(long long int)’:
answer.code:19:35: error: too many arguments to function ‘long long int solve(long long int)’
19 | if(dep%2) return min(solve(dep+1,p),solve(dep+1,q))
| ~~~~~^~~~~~~~~
answer.code:6:11: note: declared here
6 | long long solve(long long dep)
| ^~~~~
answer.code:19:50: error: too many arguments to function ‘long long int solve(long long int)’
19 | if(dep%2) return min(solve(dep+1,p),solve(dep+1,q))
| ~~~~~^~~~~~~~~
answer.code:6:11: note: declared here
6 | long long solve(long long dep)
| ^~~~~
answer.code:19:60: error: expected ‘;’ before ‘}’ token
19 | if(dep%2) return min(solve(dep+1,p),solve(dep+1,q))
| ^
| ;
20 | } else return max(solve(dep+1,p),solve(dep+1,q));
| ~
answer.code: At global scope:
answer.code:20:9: error: expected unqualified-id before ‘else’
20 | } else return max(solve(dep+1,p),solve(dep+1,q));
| ^~~~
answer.code: In function ‘long long int solve(long long int)’:
answer.code:20:2: warning: control reaches end of non-void function [-Wreturn-type]
20 | } else return max(solve(dep+1,p),solve(dep+1,q));
| ^