2012年8月23日

hdu1058 Humble Numbers 解题报告

摘要: 各种水 题目是简单使用动态规划 使用已有的动态规划进行推导先上代码123571 243571 2 3 4 657最后注意输出 即可/* Name: Copyright: Author:yujiaao Date: Description:hdu*/#include<iostream>#include<cstdio>using namespace std;int list[5845];int f_min(int a,int b,int c,int d){ int m=a<b?a:b; int n=c<d?c:d; return n<m?n:m;}int m 阅读全文

posted @ 2012-08-23 11:09 渔家傲 阅读(145) 评论(0) 推荐(0) 编辑

导航