结构体
大橘为重eleven
每天都因为自己太菜了而自闭
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
家庭房产
7-1 家庭房产 (25 分) 给定每个人的家庭成员和其自己名下的房产,请你统计出每个家庭的人口数、人均房产面积及房产套数。 输入格式: 输入第一行给出一个正整数N(≤1000),随后N行,每行按下列格式给出一个人的房产: 编号 父 母 k 孩子1 … 孩子k 房产套数 总面积 其中编号是每个人独有的一个4位数的编号;父和母分别是该编号对应的这个人的父母的编号(如果已经过世,则显示-1);k(0≤...原创 2019-04-21 14:16:12 · 451 阅读 · 0 评论 -
Trees on the level
题目描述: Trees are fundamental in many branches of computer science. Current state-of-the art parallel computers such as Thinking Machines’ CM-5 are based on fat trees. Quad- and octal-trees are fundamen...原创 2019-08-07 20:10:52 · 220 阅读 · 0 评论 -
Elven Postman
题目描述: Elves are very peculiar creatures. As we all know, they can live for a very long time and their magical prowess are not something to be taken lightly. Also, they live on trees. However, there is...原创 2019-08-07 20:22:15 · 278 阅读 · 0 评论 -
POJ3169_Layout(差分约束)
题目描述: Like everyone else, cows like to stand close to their friends when queuing for feed. FJ has N (2 <= N <= 1,000) cows numbered 1…N standing along a straight line waiting for feed. The cows ...原创 2019-08-21 19:41:22 · 166 阅读 · 0 评论 -
Subway
题目描述: You have just moved from a quiet Waterloo neighbourhood to a big, noisy city. Instead of getting to ride your bike to school every day, you now get to walk and take the subway. Because you don’t...原创 2019-08-21 20:19:26 · 316 阅读 · 0 评论 -
Qin Shi Huang's National Road System(次小生成树)
题目描述: During the Warring States Period of ancient China(476 BC to 221 BC), there were seven kingdoms in China ---- they were Qi, Chu, Yan, Han, Zhao, Wei and Qin. Ying Zheng was the king of the kingdo...原创 2019-08-21 20:44:26 · 421 阅读 · 0 评论
分享