# | TimeUTC-0 | Username | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
745285 | M_sawas__ | Arranging Shoes (IOI19_shoes) | C++14 | 1 ms | 340 KiB |
This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#include "shoes.h"
#include <bits/stdc++.h>
#define endl "\n"
#define F first
#define S second
#define pb push_back
#define yes void (cout << "YES" << endl)
#define no void (cout << "NO" << endl)
#define all(x) x.begin() , x.end()
#define mm(dp , val) memset (dp , val , sizeof dp)
#define mid (l+r)/2
typedef long long ll;
using namespace std;
const ll oo=1e18;
const ll mod=1e9+7;
const ll N=555555;
ll t=1,n;
vector<int> s;
long long count_swaps(std::vector<int> s_) {
n = s_.size();
s.resize(n);
for (int i = 0; i < n; ++i) {
s[i] = s_[i];
}
if (s[0] < s[1]) {
return 0;
}
return 1;
}
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
Fetching results... |