# | Time | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
1177726 | tamzid | Arranging Shoes (IOI19_shoes) | C++20 | 0 ms | 0 KiB |
#include "shoes.h"
long long count_swaps(std::vector<int> s) {
if(n==2)
{
if(s[0]>0)
return 1;
else
return 0;
}
else
return n;
}