会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
sola94
纵有疾风起 人生不言弃。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
22
下一页
2015年3月21日
HDU 2955 Robberies(01 背包)
摘要: #include#include#include#includeusing namespace std;struct Node{ int m; double p;};Node bank[200];double dp[100000];int main(){ int t,n; double p;...
阅读全文
posted @ 2015-03-21 16:18 sola94
阅读(92)
评论(0)
推荐(0)
2015年3月20日
FZU 2150 Fire Game(bfs)
摘要: #include #include #include#includeusing namespace std;struct Node{ int x,y; int rt;};Node node[200];int n,m;int cnt,gcnt,ans,ok,temp;char mat[12][12...
阅读全文
posted @ 2015-03-20 17:47 sola94
阅读(102)
评论(0)
推荐(0)
2015年3月19日
hdu 1421 搬寝室(dp)
摘要: #include#include#include#include#includeusing namespace std;#define INF 10000000int a[3000];int now[3000];int dp[2000+100][2000+100];int main(){ int ...
阅读全文
posted @ 2015-03-19 20:44 sola94
阅读(93)
评论(0)
推荐(0)
2015年3月18日
fzu 2148 Moon Game(计算几何)
摘要: http://acm.fzu.edu.cn/contest/problem.php?cid=134&sortid=9#include#include#include#include#includeusing namespace std;struct Node{ double x,y;};Node ...
阅读全文
posted @ 2015-03-18 12:37 sola94
阅读(126)
评论(0)
推荐(0)
hdu 1160 FatMouse's Speed(dp)
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1160#include #include #include #include #include using namespace std;struct Node{ int w,s,id,fa;};Node mi...
阅读全文
posted @ 2015-03-18 00:25 sola94
阅读(100)
评论(0)
推荐(0)
2015年3月15日
csu 1535: Pizza voting(思维)
摘要: http://acm.csu.edu.cn/OnlineJudge/showsource.php?id=97625#include#include#include#includeusing namespace std;int a[200000];int main(){ int n,m; int ...
阅读全文
posted @ 2015-03-15 21:09 sola94
阅读(165)
评论(0)
推荐(0)
csu 1530: Gold Rush(贪心)
摘要: http://acm.csu.edu.cn/OnlineJudge/showsource.php?id=97234#include#include#include#include#includeusing namespace std;int main(){ //freopen("output.tx...
阅读全文
posted @ 2015-03-15 21:03 sola94
阅读(217)
评论(0)
推荐(0)
2015年3月14日
hdu 2577 How to Type(dp)
摘要: 题意: 输入一行字符串 只包含大小写字母 可以使用shift 和 caps 键 切换大小写 问最少按几次键思路:if(str[i]>='A'&&str[i]#include#include#includeusing namespace std;int dp[200][5];char st...
阅读全文
posted @ 2015-03-14 13:12 sola94
阅读(100)
评论(0)
推荐(0)
2015年3月10日
hdu 2844 coins (多重背包)
摘要: #include#include#include#include#includeusing namespace std;int a[120],c[120];int dp[100000+100];int main(){ int n,m; int i,j,k; while(scanf("%d%d"...
阅读全文
posted @ 2015-03-10 21:20 sola94
阅读(107)
评论(0)
推荐(0)
2015年3月8日
hdu 1069 Monkey and Banana (最长上升子序列)
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1069#include#include#include#includeusing namespace std;struct Node{ int a,b,c,dp;};Node node[3000];int cmp...
阅读全文
posted @ 2015-03-08 20:00 sola94
阅读(104)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
22
下一页
公告