Problem | collectmushrooms2 |
---|---|
User | dacashew |
Submission Time | 2023-11-07 08:24:46 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
collectmushrooms2.cpp: In function ‘long long int ini(long long int, long long int, long long int)’:
collectmushrooms2.cpp:21:14: error: cannot convert ‘std::pair<long long int, long long int>’ to ‘long long int’ in return
21 | return st[i];
| ~~~~^
| |
| std::pair<long long int, long long int>
collectmushrooms2.cpp:24:41: error: expected ‘)’ before ‘{’ token
24 | if(ini(2*i+1,l,mid)>=ini(2*i+2,mid+1,r){
| ~ ^
| )
collectmushrooms2.cpp:29:1: error: expected primary-expression before ‘}’ token
29 | }
| ^