背包
阿龙的圈子
仰望星空 脚踏实地
向前走 永不停
展开
-
POJ1276 Cash Machine
Language: Default Cash Machine Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 27946 Accepted: 9973 Description A Bank plans to install a machine for c原创 2014-11-07 16:05:39 · 715 阅读 · 0 评论 -
HDU 1114
#include #include #include using namespace std; #define INF 0x7ffffff #define maxn 10000+5 int dp[maxn]; int T,n,w1,w2,P,W; int main() { cin>>T; while(T--) { cin>>w1>>w2;原创 2015-01-24 16:36:54 · 640 阅读 · 0 评论