Problem floors
User PlayVoltz
Submission Time 2023-09-03 17:45:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

floors.cpp: In function ‘int main()’:
floors.cpp:13:21: error: invalid type argument of unary ‘*’ (have ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’})
13 | cout<<*vect.back()<<"\n";
| ^
floors.cpp:19:4: error: ‘s’ was not declared in this scope
19 | s.erase(it);
| ^