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