Problem | compleecode |
---|---|
User | bribritt |
Submission Time | 2024-05-24 22:12:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
compleecode.cpp: In function ‘std::vector<int> solve3(std::vector<int>)’:
compleecode.cpp:38:20: error: ‘res’ was not declared in this scope
38 | for(long i:v)if(i>res)res=i;v[0]=res;
| ^~~
compleecode.cpp:38:35: error: ‘res’ was not declared in this scope
38 | for(long i:v)if(i>res)res=i;v[0]=res;
| ^~~