文件名称:PATA1053

  • 所属分类:
  • Windows编程
  • 资源属性:
  • 上传时间:
  • 2017-12-03
  • 文件大小:
  • 3.03mb
  • 下载次数:
  • 0次
  • 提 供 者:
  • l***
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

给定一个带有根R的非空树,并赋给每个树节点TI的权重WI。从R到L的路径的重量被定义为从R到任何叶节点L的路径上所有节点的权重之和。(Given a non-empty tree with root R, and with weight Wi assigned to each tree node Ti. The weight of a path from R to L is defined to be the sum of the weights of all the nodes along the path from R to any leaf node L.

Now given any weighted tree, you are supposed to find all the paths with their weights equal to a given number. For example, let's consider the tree showed in Figure 1: for each node, the upper number is the node ID which is a two-digit number, and the lower number is the weight of that node. Suppose that the given number is 24, then there exists 4 different paths which have the same given weight: {10 5 2 7}, {10 4 10}, {10 3 3 6 2} and {10 3 3 6 2}, which correspond to the red edges in Figure 1.)
相关搜索: Windows编程
C++

(系统自动生成,下载前可以参看下载内容)

下载文件列表

文件名大小更新时间
PATA1053\.vs\PATA1053\v15\.suo 37376 2017-12-02
PATA1053\.vs\PATA1053\v15\Browse.VC.db 5783552 2017-12-02
PATA1053\.vs\PATA1053\v15\ipch\53ce2b74a4a191b2.ipch 3604480 2017-12-02
PATA1053\.vs\PATA1053\v15\ipch\befcc7d53817e334.ipch 3670016 2017-12-02
PATA1053\PATA1053\PATA1053.cpp 1392 2017-12-02
PATA1053\PATA1053\PATA1053.vcxproj 8091 2017-12-02
PATA1053\PATA1053\PATA1053.vcxproj.filters 1315 2017-12-02
PATA1053\PATA1053\ReadMe.txt 1512 2017-12-02
PATA1053\PATA1053\stdafx.cpp 279 2017-12-02
PATA1053\PATA1053\stdafx.h 284 2017-12-02
PATA1053\PATA1053\targetver.h 296 2017-12-02
PATA1053\PATA1053\x64\Debug\PATA1053.log 339 2017-12-02
PATA1053\PATA1053\x64\Debug\PATA1053.obj 256822 2017-12-02
PATA1053\PATA1053\x64\Debug\PATA1053.pch 3342336 2017-12-02
PATA1053\PATA1053\x64\Debug\PATA1053.tlog\CL.command.1.tlog 1366 2017-12-02
PATA1053\PATA1053\x64\Debug\PATA1053.tlog\CL.read.1.tlog 20650 2017-12-02
PATA1053\PATA1053\x64\Debug\PATA1053.tlog\CL.write.1.tlog 816 2017-12-02
PATA1053\PATA1053\x64\Debug\PATA1053.tlog\link.command.1.tlog 1200 2017-12-02
PATA1053\PATA1053\x64\Debug\PATA1053.tlog\link.read.1.tlog 3424 2017-12-02
PATA1053\PATA1053\x64\Debug\PATA1053.tlog\link.write.1.tlog 434 2017-12-02
PATA1053\PATA1053\x64\Debug\PATA1053.tlog\PATA1053.lastbuildstate 189 2017-12-02
PATA1053\PATA1053\x64\Debug\stdafx.obj 12164 2017-12-02
PATA1053\PATA1053\x64\Debug\vc141.idb 338944 2017-12-02
PATA1053\PATA1053\x64\Debug\vc141.pdb 438272 2017-12-02
PATA1053\PATA1053.sln 1436 2017-12-02
PATA1053\x64\Debug\PATA1053.exe 117248 2017-12-02
PATA1053\x64\Debug\PATA1053.ilk 975356 2017-12-02
PATA1053\x64\Debug\PATA1053.pdb 1208320 2017-12-02
PATA1053\.vs\PATA1053\v15\ipch
PATA1053\PATA1053\x64\Debug\PATA1053.tlog
PATA1053\.vs\PATA1053\v15
PATA1053\PATA1053\x64\Debug
PATA1053\.vs\PATA1053
PATA1053\PATA1053\x64
PATA1053\x64\Debug
PATA1053\.vs
PATA1053\PATA1053
PATA1053\x64
PATA1053

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org