hdu 1171

题目连接:点击打开连接 php 题意:给出每种物品的价值和数量,将这些物品平分给A,B,使得A,B尽量相等并保证A不小于B ios 思路1 : 根据题意可得物品最多有100000件,数目很少,能够转化为01背包spa #include <iostream> #include <stdio.h> #include <algorithm> #include <string> #include <str
相关文章
相关标签/搜索