Problem | swap |
---|---|
User | PlayVoltz |
Submission Time | 2024-03-06 14:09:20 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
swap.cpp: In function ‘void init(int, int, std::vector<int>, std::vector<int>, std::vector<int>)’:
swap.cpp:59:23: error: request for member ‘begin’ in ‘time’, which is of non-class type ‘time_t(time_t*) noexcept’ {aka ‘long int(long int*) noexcept’}
59 | tt.erase(unique(time.begin(), time.end()), time.end());
| ^~~~~
swap.cpp:59:37: error: request for member ‘end’ in ‘time’, which is of non-class type ‘time_t(time_t*) noexcept’ {aka ‘long int(long int*) noexcept’}
59 | tt.erase(unique(time.begin(), time.end()), time.end());
| ^~~
swap.cpp:59:50: error: request for member ‘end’ in ‘time’, which is of non-class type ‘time_t(time_t*) noexcept’ {aka ‘long int(long int*) noexcept’}
59 | tt.erase(unique(time.begin(), time.end()), time.end());
| ^~~
swap.cpp:60:18: error: request for member ‘size’ in ‘time’, w