POJ 1659 Frogs' Neighborhood (生成树问题)
题目链接:http://poj.org/problem?id=1659
题意:根据序列构造图(图论基础题)
#include
#include
#include
using namespace std;
const int M=20;
struct node
{
int degree;
int num;
bool operator < (const no
原创
2013-09-18 00:09:44 ·
1123 阅读 ·
0 评论