| Problem | bananasmoothie |
|---|---|
| User | jamallikestocode |
| Submission Time | 2026-03-03 20:23:56 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bananasmoothie.cpp: In function ‘int main()’:
bananasmoothie.cpp:19:19: error: ‘class std::vector<long long int>’ has no member named ‘length’
19 | for(int j=0;Q.length() > K;j++){
| ^~~~~~
bananasmoothie.cpp:20:9: error: ‘sum’ was not declared in this scope
20 | sum += Q[j+(K-1)];
| ^~~
bananasmoothie.cpp:21:9: error: ‘v’ was not declared in this scope
21 | v.erase(v.begin(), v.begin() + k);
| ^
bananasmoothie.cpp:21:40: error: ‘k’ was not declared in this scope
21 | v.erase(v.begin(), v.begin() + k);
| ^