2014年11月25日

nyoj-47-过河问题|POJ-1700-Crossing River

摘要: http://acm.nyist.net/JudgeOnline/problem.php?pid=47http://poj.org/problem?id=1700解题思路:求最少需要多少时间才能都通过。先将每个人过河所需的时间升序排序1#include2#include3#include45inta... 阅读全文

posted @ 2014-11-25 20:49 angle_qqs 阅读(238) 评论(0) 推荐(0)

nyoj-914-Yougth的最大化

摘要: http://acm.nyist.net/JudgeOnline/problem.php?pid=914Yougth的最大化时间限制:1000ms | 内存限制:65535KB难度:4描述Yougth现在有n个物品的重量和价值分别是Wi和Vi,你能帮他从中选出k个物品使得单位重量的价值最大吗?输入有... 阅读全文

posted @ 2014-11-25 20:15 angle_qqs 阅读(149) 评论(0) 推荐(0)

nyoj-1103-区域赛系列一多边形划分

摘要: http://acm.nyist.net/JudgeOnline/problem.php?pid=1103区域赛系列一多边形划分时间限制:1000ms | 内存限制:65535KB难度:2描述Give you a convex(凸边形), diagonal n-3 disjoint divided ... 阅读全文

posted @ 2014-11-25 20:12 angle_qqs 阅读(379) 评论(0) 推荐(0)

导航