Submission #1040815

#TimeUsernameProblemLanguageResultExecution timeMemory
1040815idasArranging Shoes (IOI19_shoes)C++17
15 / 100
12 ms2000 KiB
#include "shoes.h" #include <bits/stdc++.h> #define FOR(i, begin, end) for(int i=(begin); i<(end); i++) using namespace std; typedef vector<int> vi; const int N=1e5+10; int n; long long count_swaps(vector<int> s) { n=s.size()/2; return 1LL*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...