Submission #691279

#TimeUsernameProblemLanguageResultExecution timeMemory
691279zeroesandonesArranging Shoes (IOI19_shoes)C++17
15 / 100
19 ms3120 KiB
#include <bits/stdc++.h> #include "shoes.h" using namespace std; using ll = long long; using vi = vector<long long>; #define pb emplace_back long long count_swaps(vector<int> s) { int n = (s.size()) / 2; ll ans = 0; for(int i = 1; i <= n; ++i) { ans += n - i; } return ans; }
#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...