| Problem | brick |
|---|---|
| User | Yinnotayl64 |
| Submission Time | 2026-01-19 16:30:28 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
brick.cpp: In function ‘int main()’:
brick.cpp:24:53: error: no match for ‘operator[]’ (operand types are ‘std::multiset<long long int>’ and ‘int’)
24 | if (finalNumbers.size() == 1 && finalNumbers[0] == -1) { finalNumbers = {}; }
| ^
brick.cpp:25:22: error: ‘class std::multiset<long long int>’ has no member named ‘push_front’
25 | finalNumbers.push_front(arrayOfNumbers[i]);
| ^~~~~~~~~~
brick.cpp:33:27: error: no match for ‘operator[]’ (operand types are ‘std::multiset<long long int>’ and ‘long long int’)
33 | cout << finalNumbers[i] << endl;
| ^