![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
背包
Black_Glasses
这个作者很懒,什么都没留下…
展开
-
51nod-1354 选数字
1354 选数字 基准时间限制:1 秒 空间限制:131072 KB 分值: 80 难度:5级算法题 收藏 关注当给定一个序列a[0],a[1],a[2],...,a[n-1] 和一个整数K时,我们想找出,有多少子序列满足这么一个条件:把当前子序列里面的所有元素乘起来恰好等于K。样例解释:对于第一个数据,我们可以选择[3]或者[1(第一个1), 3]或者[1(第二个1), 3]或者[1,1,3]。...原创 2018-05-12 19:57:00 · 566 阅读 · 0 评论 -
hdu-1011 Starship Troopers
Starship TroopersTime Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 22165 Accepted Submission(s): 5869Problem DescriptionYou, the leader of Sta...原创 2018-06-01 16:29:45 · 217 阅读 · 0 评论 -
POJ - 1947 Rebuilding Roads
Rebuilding RoadsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 12667 Accepted: 5889#include <stdio.h> #include <iostream> #include <vector> using namespace std; const i...原创 2018-06-05 16:32:02 · 89 阅读 · 0 评论 -
hdu-5834 Magic boy Bi Luo with his excited tree
Magic boy Bi Luo with his excited treeTime Limit: 8000/4000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1737 Accepted Submission(s): 521Problem DescriptionBi...原创 2018-06-04 10:38:38 · 238 阅读 · 0 评论 -
ural-1018. Binary Apple Tree
1018. Binary Apple TreeTime limit: 1.0 secondMemory limit: 64 MBLet's imagine how apple tree looks in binary computer world. You're right, it looks just like a binary tree, i.e. any biparous branch sp...原创 2018-06-03 10:18:30 · 289 阅读 · 0 评论 -
ZOJ-3201Tree of Tree
Tree of TreeTime Limit: 1 Second Memory Limit: 32768 KBYou're given a tree with weights of each node, you need to find the maximum subtree of specified size of this tree.Tree Definition A tree is...原创 2018-06-02 23:13:24 · 335 阅读 · 0 评论 -
poj-3345Bribing FIPA
Bribing FIPATime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 5567 Accepted: 1762DescriptionThere is going to be a voting at FIPA (Fédération Internationale de Programmation Association) to de...原创 2018-06-01 20:41:59 · 151 阅读 · 0 评论