이 제출은 이전 버전의 oj.uz에서 채점하였습니다. 현재는 제출 당시와는 다른 서버에서 채점을 하기 때문에, 다시 제출하면 결과가 달라질 수도 있습니다.
#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... |