Problem sort
User aj
Submission Time 2025-01-22 16:51:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

sort.cpp: In function ‘int main()’:
sort.cpp:20:25: error: no match for ‘operator[]’ (operand types are ‘__gnu_cxx::__alloc_traits<std::allocator<std::pair<int, std::__cxx11::basic_string<char> > >, std::pair<int, std::__cxx11::basic_string<char> > >::value_type’ {aka ‘std::pair<int, std::__cxx11::basic_string<char> >’} and ‘int’)
20 | cout<<numbers[j][1]<<" ";
| ^