Submission #143303

#TimeUsernameProblemLanguageResultExecution timeMemory
143303VladaMG98Arranging Shoes (IOI19_shoes)C++17
10 / 100
2 ms376 KiB
#include "shoes.h" long long count_swaps(std::vector<int> s) { int n = (int)s.size() / 2; int ans = 0; for(int i = 0; i < n; i++) { if(s[i] > 0) 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...