Submission #670534

#TimeUsernameProblemLanguageResultExecution timeMemory
670534birthdaycakeArranging Shoes (IOI19_shoes)C++17
15 / 100
18 ms3104 KiB
#include<bits/stdc++.h> #include "shoes.h" using namespace std; int vs[1001]; long long count_swaps(vector<int>s) { long long n = s.size(); n /= 2; n--; 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...