Submission #521033

#TimeUsernameProblemLanguageResultExecution timeMemory
521033Valaki2Arranging Shoes (IOI19_shoes)C++14
25 / 100
28 ms2720 KiB
#include "shoes.h" #define ll long long using namespace std; ll count_swaps(vector<int> s) { ll n = s.size() / 2; if(n == 1) return s[0] > s[1]; 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...