Problem collectmushrooms2
User dacashew
Submission Time 2023-11-07 07:30:47
Score 0
Max Time N/A
Max Memory N/A

Compile Error

collectmushrooms2.cpp: In function ‘long long int ini(long long int, long long int, long long int)’:
collectmushrooms2.cpp:21:3: error: return-statement with no value, in function returning ‘long long int’ [-fpermissive]
21 | return;
| ^~~~~~
collectmushrooms2.cpp:24:37: error: expected ‘)’ before ‘{’ token
24 | if(ini(2*i+1,l,mid)>=ini(2*i+2,l,r){
| ~ ^
| )
collectmushrooms2.cpp:29:1: error: expected primary-expression before ‘}’ token
29 | }
| ^