Submission #332348

#TimeUsernameProblemLanguageResultExecution timeMemory
332348nicholaskArranging Shoes (IOI19_shoes)C++14
10 / 100
1 ms364 KiB
#include "shoes.h" #include <bits/stdc++.h> using namespace std; long long count_swaps(vector <int> s){ if (s[0]>s[1]) return 1ll; else return 0ll; } /* signed main(){ int n; cin>>n; vector <int> v(n); for (int i=0; i<n; i++) cin>>v[i]; cout<<count_swaps(v); } */
#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...