Submission #525993

#TimeUsernameProblemLanguageResultExecution timeMemory
525993MateGiorbelidzeArranging Shoes (IOI19_shoes)C++14
15 / 100
19 ms3112 KiB
#include "shoes.h" #include <bits/stdc++.h> using namespace std; #define ll long long #define pb push_back long long count_swaps(std::vector<int> a) { ll n = a.size() / 2; ll cnt = 0; while (n > 1) { cnt += (n - 1); n--; } return cnt; }
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...
#Verdict Execution timeMemoryGrader output
Fetching results...