Submission #615328

#TimeUsernameProblemLanguageResultExecution timeMemory
615328Mohammed_AtalahArranging Shoes (IOI19_shoes)C++17
15 / 100
31 ms3156 KiB
#include "shoes.h" #include <bits/stdc++.h> using namespace std; long long count_swaps(std::vector<int> s) { long long n = s.size(); n /= 2; n--; long long 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...