Submission #601561

#TimeUsernameProblemLanguageResultExecution timeMemory
601561ShithilaArranging Shoes (IOI19_shoes)C++14
0 / 100
0 ms212 KiB
#include "shoes.h"
#include <bits/stdc++.h>
long long count_swaps(std::vector<int> s) {
	long long len=s.size();
	len=len/2;
	long long ans=len*(len+1);
	ans=ans/2;
	return ans;
}
#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...