Submission #147519

#TimeUsernameProblemLanguageResultExecution timeMemory
147519ioilolcomArranging Shoes (IOI19_shoes)C++14
15 / 100
36 ms3192 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...