Submission #556084

#TimeUsernameProblemLanguageResultExecution timeMemory
556084Trisanu_DasArranging Shoes (IOI19_shoes)C++17
10 / 100
1 ms296 KiB
#include <bits/stdc++.h> #include "shoes.h" using namespace std; long long count_swaps(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...