Submission #147520

#TimeUsernameProblemLanguageResultExecution timeMemory
147520ioilolcomArranging Shoes (IOI19_shoes)C++14
15 / 100
31 ms2040 KiB
#include<bits/stdc++.h> using namespace std; #include "shoes.h" long long count_swaps(std::vector<int> s) { long long n = (int)s.size()/2; long long swaps = n*(n-1)/2; return swaps; }
#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...