Problem | collectmushrooms2 |
---|---|
User | dacashew |
Submission Time | 2023-11-07 08:31:47 |
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: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 | }
| ^
collectmushrooms2.cpp: In function ‘void update(long long int, long long int, long long int, long long int, long long int)’:
collectmushrooms2.cpp:56:9: error: expected ‘}’ at end of input
56 | }
| ^
collectmushrooms2.cpp:46:12: note: to match this ‘{’
46 | if(cl==cr){
| ^
collectmushrooms2.cpp:56:9: error: expected ‘}’ at end of input
56 | }
| ^
collectmushrooms2.cpp:45:47: note: to match this ‘{’
45 | void update(int i,int x,int cl,int cr,int