Problem | supermarket |
---|---|
User | samvar0907 |
Submission Time | 2024-01-27 19:08:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
supermarket.cpp: In function ‘int main()’:
supermarket.cpp:87:14: error: ‘accumulate’ was not declared in this scope
87 | if (x == accumulate(weight.begin(), weight.end(), 0LL)) {
| ^~~~~~~~~~
supermarket.cpp:92:14: error: ‘min_element’ was not declared in this scope
92 | if (*min_element(deliciousness.begin(), deliciousness.end()) >= 0) {
| ^~~~~~~~~~~