Problem floors
User PlayVoltz
Submission Time 2023-09-03 17:45:35
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:17:26: error: ‘s’ was not declared in this scope
17 | auto it = upper_bound(s.begin(), s.end(), a)-1;
| ^