Problem | collectmushrooms6 |
---|---|
User | RandomCtfNoob |
Submission Time | 2025-01-27 16:31:44 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
collectmushrooms6.cpp: In function ‘int main()’:
collectmushrooms6.cpp:23:23: error: unable to deduce ‘auto’ from ‘sprink.std::vector<std::array<int, 4> >::begin’
23 | for (auto i = sprink.begin; i != sprink.end; i++){
| ^~~~~
collectmushrooms6.cpp:23:23: note: couldn’t deduce template parameter ‘auto’
collectmushrooms6.cpp:26:22: error: unable to deduce ‘auto’ from ‘mush.std::vector<std::array<int, 4> >::begin’
26 | for (auto j = mush.begin; j != mush.end); j++){
| ^~~~~
collectmushrooms6.cpp:26:22: note: couldn’t deduce template parameter ‘auto’
collectmushrooms6.cpp:26:42: error: expected ‘;’ before ‘)’ token
26 | for (auto j = mush.begin; j != mush.end); j++){
| ^
| ;
collectmushrooms6.cpp:26:45: error: ‘j’ was not declared in this scope
26 | for (