Submission #439935

#TimeUsernameProblemLanguageResultExecution timeMemory
439935QuantumK9Arranging Shoes (IOI19_shoes)C++17
10 / 100
22 ms1856 KiB
#include "shoes.h" #include <bits/stdc++.h> using namespace std; #define ll long long long long count_swaps(vector<int> s) { int n = s.size()/2; if ( n == 1 ){ if ( s[0] < 0 ){ return 0; } else{ return 1; } } else{ return ( ((n-1)*n)/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...