# | 제출 시각 | 아이디 | 문제 | 언어 | 결과 | 실행 시간 | 메모리 |
---|---|---|---|---|---|---|---|
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;
}