shoes.cpp: In function 'long long int count_swaps(std::vector<int>)':
shoes.cpp:25:7: warning: array subscript -1 is below array bounds of 'std::queue<int> [(<anonymous> + 1)]' [-Warray-bounds]
25 | a[x].pop();
| ~~~^
shoes.cpp:25:7: warning: array subscript -1 is below array bounds of 'std::queue<int> [(<anonymous> + 1)]' [-Warray-bounds]
shoes.cpp:25:7: warning: array subscript -1 is below array bounds of 'std::queue<int> [(<anonymous> + 1)]' [-Warray-bounds]
shoes.cpp:25:7: warning: array subscript -1 is below array bounds of 'std::queue<int> [(<anonymous> + 1)]' [-Warray-bounds]
shoes.cpp:25:7: warning: array subscript -1 is below array bounds of 'std::queue<int> [(<anonymous> + 1)]' [-Warray-bounds]
shoes.cpp:25:7: warning: array subscript -1 is below array bounds of 'std::queue<int> [(<anonymous> + 1)]' [-Warray-bounds]