Submission #849308

# Submission time Handle Problem Language Result Execution time Memory
849308 2023-09-14T12:30:39 Z Muaath_5 Longest Trip (IOI23_longesttrip) C++17
0 / 100
2 ms 612 KB
#include <bits/stdc++.h>
#define ll long long
#define ld long double

using namespace std;

const ll N = 257, 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);
		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
1 Incorrect 0 ms 344 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 344 KB Incorrect
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 2 ms 344 KB Output is correct
2 Correct 1 ms 344 KB Output is correct
3 Correct 1 ms 344 KB Output is correct
4 Correct 0 ms 344 KB Output is correct
5 Correct 1 ms 344 KB Output is correct
6 Incorrect 1 ms 344 KB Incorrect
7 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Correct 2 ms 344 KB Output is correct
2 Correct 1 ms 344 KB Output is correct
3 Correct 0 ms 344 KB Output is correct
4 Correct 1 ms 612 KB Output is correct
5 Correct 0 ms 344 KB Output is correct
6 Incorrect 0 ms 344 KB Incorrect
7 Halted 0 ms 0 KB -