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