Problem | swap |
---|---|
User | PlayVoltz |
Submission Time | 2024-03-06 14:14:32 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
swap.cpp: In function ‘void merge(int, int, int)’:
swap.cpp:46:40: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]’ for array subscript
46 | else if ((e[a]==aa&&e[b]==bb)||(e[t][a]==bb&&e[b]==aa))e[a]=start[b];
| ^