Problem shuffle
User bribritt
Submission Time 2025-03-15 18:22:20
Score 0
Max Time N/A
Max Memory N/A

Compile Error

shuffle.cpp: In function ‘std::vector<int> Subtask5(int)’:
shuffle.cpp:102:56: error: could not convert ‘(& queryResult.std::vector<std::vector<int> >::operator[](9))->std::vector<int>::operator[](0)’ from ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} to ‘std::vector<int>’
102 | for(auto i: vectorXOR(queryResult[0],queryResult[9][0]))
| ^
| |
| __gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}
shuffle.cpp:113:56: error: could not convert ‘(& queryResult.std::vector<std::vector<int> >::operator[](9))->std::vector<int>::operator[](0)’ from ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type’ {aka ‘int’} to ‘std::vector<int>’<