Submission #331056

#TimeUsernameProblemLanguageResultExecution timeMemory
331056shihan04Arranging Shoes (IOI19_shoes)C++14
25 / 100
31 ms2028 KiB
#include<bits/stdc++.h> using namespace std; #define ll long long ll count_swaps(vector <int> v){ ll n=v.size()/2,ans=(n*(n-1))/2; if(n==1){ if(v[0]>v[1]) ans=1; } 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...