Submission #615282

#TimeUsernameProblemLanguageResultExecution timeMemory
615282Mohammed_AtalahArranging Shoes (IOI19_shoes)C++17
0 / 100
21 ms3128 KiB
#include "shoes.h" #include <bits/stdc++.h> using namespace std; long long count_swaps(std::vector<int> s) { int n = s.size(); n /= 2; n--; int result = ((n + 1) * n) / 2; return result; }
#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...