Submission #521032

#TimeUsernameProblemLanguageResultExecution timeMemory
521032Valaki2Arranging Shoes (IOI19_shoes)C++14
10 / 100
0 ms204 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); }
#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...