Submission #784124

#TimeUsernameProblemLanguageResultExecution timeMemory
784124AlfraganusArranging Shoes (IOI19_shoes)C++14
25 / 100
21 ms3128 KiB
#include "shoes.h" // #include "grader.cpp" #include <bits/stdc++.h> using namespace std; long long count_swaps(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...