Submission #553167

#TimeUsernameProblemLanguageResultExecution timeMemory
553167alexis_1729Arranging Shoes (IOI19_shoes)C++17
10 / 100
1 ms292 KiB
#include "shoes.h" long long count_swaps(std::vector<int> s) { long long c=0; for(int i=0;i<(int)s.size()-1;i++){ if(s[i]>s[i+1])c++; } return c; }
#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...