Exemplo n.º 1
0
void testsuite_destroy(testsuite_t* suite) {
	for (unsigned int i = 0; i < suite->testSize; i++) {
		testcase_destroy(suite->testCases[i]);
	}
	delete suite->testCases;
	delete suite;
}
Exemplo n.º 2
0
int main() {
	testcase t;
	t = read_input();
	hopcroft_karp(t);
	printf("%d\n", t->matching);
	testcase_destroy(t);
	return 0;
}