| Problem | penguinfood |
|---|---|
| User | Tyx2019 |
| Submission Time | 2024-12-13 00:09:03 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
penguinfood.cpp: In member function ‘mxsubarr* kadane::query(long long int, long long int)’:
penguinfood.cpp:61:87: error: ‘endidx’ was not declared in this scope
61 | if(start == S && end == E) return new mxsubarr({maxsum, sum, maxpref, maxsuf, endidx, prefendidx});
| ^~~~~~
penguinfood.cpp:61:95: error: ‘prefendidx’ was not declared in this scope
61 | if(start == S && end == E) return new mxsubarr({maxsum, sum, maxpref, maxsuf, endidx, prefendidx});
| ^~~~~~~~~~
penguinfood.cpp:61:106: error: no matching function for call to ‘mxsubarr::mxsubarr(<brace-enclosed initializer list>)’
61 | if(start == S && end == E) return new mxsubarr({maxsum, sum, maxpref, maxsuf, endidx, prefendidx});
|