| # | Time | Username | Problem | Language | Result | Execution time | Memory |
|---|---|---|---|---|---|---|---|
| 1369751 | moha1111 | Arranging Shoes (IOI19_shoes) | C++20 | 0 ms | 0 KiB |
#include "bits/stdc++.h"
#include "shous.h"
using namespace std;
int64 count_swaps(int[] s)
{
int n = 0;
for(auto i : s)
n++;
return (n - 1) * n / 2;
}
