Submission #955598

#TimeUsernameProblemLanguageResultExecution timeMemory
955598horiseunArranging Shoes (IOI19_shoes)C++17
15 / 100
18 ms3164 KiB
#include <iostream> #include <vector> #include <algorithm> #include "shoes.h" using namespace std; #define ll long long ll count_swaps(vector<int> s) { int n = s.size() / 2; ll ans = 0; for (int i = n - 1; i >= 0; i--) { ans += 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...