Submission #984274

# Submission time Handle Problem Language Result Execution time Memory
984274 2024-05-16T12:25:52 Z CSQ31 Connecting Supertrees (IOI20_supertrees) C++17
0 / 100
1 ms 348 KB
#include "supertrees.h"
#include<bits/stdc++.h>
using namespace std;
#define sz(a) (int)(a.size())
int construct(vector<vector<int>> p) {
	int n = sz(p);
	vector<vector<int>> answer;
	for (int i=0;i<n;i++){
		for(int j=0;j<n;j++){
			if(p[i][j] == 3)return 0;
		}
	}
	return 1;
}
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB WA in grader: construct returned 1 without calling build
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB WA in grader: construct returned 1 without calling build
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 348 KB WA in grader: construct returned 1 without calling build
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 1 ms 348 KB WA in grader: construct returned 1 without calling build
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB WA in grader: construct returned 1 without calling build
2 Halted 0 ms 0 KB -
# Verdict Execution time Memory Grader output
1 Incorrect 0 ms 344 KB WA in grader: construct returned 1 without calling build
2 Halted 0 ms 0 KB -