This submission is migrated from previous version of oj.uz, which used different machine for grading. This submission may have different result if resubmitted.
#pragma GCC target("avx2")
#pragma GCC optimize("O3")
#include <bits/stdc++.h>
#define ll long long
#define ld long double
using namespace std;
const ll N = 1005, INF = 7e15;
bool are_connected(vector<int> A, vector<int> B);
vector<int> longest_trip(int N, int D)
{
if (D == 1) {
vector<int> ans(N-1);
iota(ans.begin(), ans.end(), 0);
return ans;
}
else if (D == 2) {
}
else {
// you have two paths and the other points
// if p1
}
return {};
}
# | 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... |