摘要:
POJ_2989 求极大团的数量,我的程序是参照维基上的伪代码写的http://en.wikipedia.org/wiki/Bron%E2%80%93Kerbosch_algorithm。#include<stdio.h>#include<string.h>#define MAXN 130int N, M, a[MAXN], g[MAXN][MAXN];void input(){ memset(g, 0, sizeof(g)); for(int i = 0; i < M; i ++) { int x, y; scanf("%d%d", & 阅读全文