Submission #147518

#TimeUsernameProblemLanguageResultExecution timeMemory
147518ioilolcomArranging Shoes (IOI19_shoes)C++14
0 / 100
3 ms376 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(); 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...