Problem brick
User BlueSpace
Submission Time 2024-05-11 09:47:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp:6:1: error: ‘vector’ does not name a type
6 | vector<int> findStack(int n, const vector<int>& heights) {
| ^~~~~~
brick.cpp: In function ‘int main()’:
brick.cpp:26:30: error: ‘findStack’ was not declared in this scope
26 | vector<int> stackSizes = findStack(n, heights);
| ^~~~~~~~~