# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
889118 | Erick_7314 | Arranging Shoes (IOI19_shoes) | C++17 | 0 ms | 0 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
long long count_swaps(std::vector<int> s) {
long long n = s.size() / 2;
// n*(n-1)/2
return n*(n-1)/2;
}