Submission #456098

# Submission time Handle Problem Language Result Execution time Memory
456098 2021-08-06T06:17:19 Z fuad27 Connecting Supertrees (IOI20_supertrees) C++14
0 / 100
1 ms 204 KB
#include "supertrees.h"
#include <vector>
#include<bits/stdc++.h>
using namespace std;

int construct(std::vector<std::vector<int>> p) {
	int n = p.size();
	if(n == 1) {
		build({{1}});
		return 1;
	}
	if(n == 2) {
		build({{1,1},{1, 1}});
		return 1;
	}
	vector<std::vector<int>> answer(n, vector<int> (n, 0));
	return 0;
}
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB b[0][0] is not 0
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB b[0][0] is not 0
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB b[0][0] is not 0
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB Answer gives possible 0 while actual possible 1
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB b[0][0] is not 0
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 204 KB b[0][0] is not 0
2 Halted 0 ms 0 KB -