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