题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=233题目类型: 数据结构, 二叉树题意与背景:同二叉树一样,四叉树也是一种数据结构,是一种每个节点... Read More
posted @ 2012-10-20 23:12 godjob Views(1712) Comments(0) Diggs(0) Edit
转的题目链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=104&page=show_problem&problem=489递归求解,可以不用建树。#include<iostream>#include<sstream>#include<string>#include<algorithm>usingnamespacestd;constintminn=100000005;intinorder[10002];i Read More
posted @ 2012-10-20 23:10 godjob Views(273) Comments(0) Diggs(0) Edit