| Problem | rabbitpainting |
|---|---|
| User | j0ashhh |
| Submission Time | 2026-01-14 21:17:49 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
rabbitpainting.cpp: In function ‘int main()’:
rabbitpainting.cpp:44:13: error: cannot resolve overloaded function ‘get’ based on conversion to type ‘int’
44 | int max = get<0>kadane(sums[i]);
| ^~~~~~
rabbitpainting.cpp:45:15: error: cannot resolve overloaded function ‘get’ based on conversion to type ‘int’
45 | int start = get<1>kadane(sums[i]);
| ^~~~~~
rabbitpainting.cpp:46:13: error: cannot resolve overloaded function ‘get’ based on conversion to type ‘int’
46 | int end = get<2>kadane(sums[i]);
| ^~~~~~
rabbitpainting.cpp:53:7: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘<unresolved overloaded function type>’)
53 | cout << max;
| ~~~~~^~~~~~
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,