- 博客(3)
- 收藏
- 关注
原创 1004 Counting Leaves (30)(30 分)
A family hierarchy is usually presented by a pedigree tree. Your job is to count those family members who have no child. Input Each input file contains one test case. Each case starts with a line co...
2018-08-03 16:50:37 248
原创 关于1002 A+B for Polynomials (25)(25 分)部分正确的问题 (已解决)
用两个结构体数组存下A和B,A+B的和存在结构体数组C中。 但是第二个测试点一直不通过 (>﹏<),请帮忙看一下代码: #include<iostream> #include<vector> using namespace std; struct PNode{ int ex; float co; }; //结点相加或复制一个结点 PNode PAdd(PNod...
2018-07-29 16:03:05 2755 1
原创 08-图9 关键活动 (30分)
.注意:可能存在多终点情况,所以求出最大的最晚完成时间之后,应该把每个最终结点的最晚完成时间都设置成那个最大值。 #include<iostream> #include<cstdio> #include<vector> #include<queue> #include<algorithm> using namespace std; ...
2018-05-17 20:55:22 347 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人