08 2016 档案
摘要:有n个重量和质量分别为wi,和vi的物品,从中选出总质量不超过W的物品,求价值最大值 input 4 2 3 1 2 3 4 2 2 5 output 7 #include<cstdio>#include<algorithm>#include<iostream>using namespace std
阅读全文
摘要:http://poj.org/problem?id=3253 Farmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he nee
阅读全文
摘要:X soldiers from the famous “FFF army'' is standing in a line, from left to right. You, as the captain of FFF, decides to have a number off, that is, e
阅读全文
摘要:http://poj.org/problem?id=3069 Saruman the White must lead his army along a straight path from Isengard to Helm’s Deep. To keep track of his forces, S
阅读全文
摘要:http://poj.org/problem;jsessionid=F0726AFA441F19BA381A2C946BA81F07?id=3617 Description FJ is about to take his N (1 ≤ N ≤ 2,000) cows to the annual"Fa
阅读全文

浙公网安备 33010602011771号