Problem brick
User carson
Submission Time 2025-03-14 17:46:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:17:25: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator+’
17 | arr.erase(arr.begin + j);
| ~~~~~~~~~ ^ ~
| | |
| | int
| <unresolved overloaded function type>