| Problem | twomeals |
|---|---|
| User | AtomicAtomXD |
| Submission Time | 2026-04-10 18:51:10 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
twomeals.cpp: In function ‘int main()’:
twomeals.cpp:20:28: error: expected ‘;’ before ‘}’ token
20 | TempSum[i] = Sum[i]
| ^
| ;
21 | }
| ~
twomeals.cpp:27:9: error: redeclaration of ‘long long int min’
27 | int min = *min_element(TempSum.begin(), TempSum.end());
| ^~~
twomeals.cpp:8:22: note: ‘long long int min’ previously declared here
8 | int n, sum=0, temp, min, max;
| ^~~
twomeals.cpp:30:40: error: ‘it’ was not declared in this scope; did you mean ‘int’?
30 | TempSum.erase(TempSum.begin(), it+1);
| ^~
| int