Submission #520703

#TimeUsernameProblemLanguageResultExecution timeMemory
520703peti1234Arranging Shoes (IOI19_shoes)C++17
25 / 100
19 ms1868 KiB
#include <bits/stdc++.h> using namespace std; long long count_swaps(vector<int> s) { long long si=s.size(), n=si/2; // 1 if (n==1) { return (s[0]<0 ? 0 : 1); } // 2 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...