Problem | bananasmoothie |
---|---|
User | god |
Submission Time | 2025-07-15 11:12:34 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bananasmoothie.cpp: In function ‘int main()’:
bananasmoothie.cpp:12:20: error: type/value mismatch at argument 2 in template parameter list for ‘template<class _Key, class _Compare, class _Alloc> class std::multiset’
12 | multiset<int, cust> banonas;
| ^
bananasmoothie.cpp:12:20: note: expected a type, got ‘cust’
bananasmoothie.cpp:16:11: error: request for member ‘insert’ in ‘banonas’, which is of non-class type ‘int’
16 | banonas.insert(z);
| ^~~~~~
bananasmoothie.cpp:21:28: error: request for member ‘begin’ in ‘banonas’, which is of non-class type ‘int’
21 | subarray[x%y] = *banonas.begin();
| ^~~~~
bananasmoothie.cpp:22:11: error: request for member ‘erase’ in ‘banonas’, which is of non-class type ‘int’
22 | banonas.erase(banonas.begin());
| ^~~~~
bananasmoothie.cpp:22:25: error: request for member ‘begin’ in ‘banonas’,