Problem swap
User PlayVoltz
Submission Time 2024-03-06 14:26:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

swap.cpp: In function ‘void merge(int, int, int)’:
swap.cpp:47:16: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]’ for array subscript
47 | else line[t][a]=min({line[a], line[b], t});
| ^