# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1177729 | alwaus424 | Arranging Shoes (IOI19_shoes) | C++17 | 0 ms | 0 KiB |
#include <vector>
using namespace std;
int64_t count_swaps(vector<int> S) {
int64_t swaps = 0;
if(S[1] < 0) {
swaps = 1;
}
return swaps;
}