Submission #520977

#TimeUsernameProblemLanguageResultExecution timeMemory
520977szekelymilanArranging Shoes (IOI19_shoes)C++14
25 / 100
30 ms1844 KiB
#include "shoes.h" long long count_swaps(std::vector<int> s) { long long n = s.size() / 2; if (n == 1) return s[0] > 0; return n * (n - 1) / 2; }
#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...