会员
众包
新闻
博问
闪存
云市场
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
MrYu4
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
2014年4月28日
Codeforces Round #243 (Div. 2) Problem B - Sereja and Mirroring 题解
摘要: http://codeforces.com/contest/426/problem/B 题意大概就是对称有关,要注意的是,当行数为奇数的时候,答案就是行数本身 #include#include#include#include#define maxn 1005u...
阅读全文
posted @ 2014-04-28 08:16 MrYu4
阅读(14)
评论(0)
推荐(0)
编辑
2014年4月27日
HDU2062题解 01背包而已
摘要: RT,a56爆大奖在线娱乐就不解释了,题目连接http://acm.hdu.edu.cn/showproblem.php?pid=2602。 初学01背包的人可以做做#include#include#include#include#define maxn 1005using n...
阅读全文
posted @ 2014-04-27 21:37 MrYu4
阅读(5)
评论(0)
推荐(0)
编辑
快速排序————引用自啊哈磊《每周一算法》
摘要: 快速排序 #include int a[101],n;//定义全局变量,这两个变量需要在子函数中使用void quicksort(int left,int right){ int i,j,t,temp; if(left>right) ...
阅读全文
posted @ 2014-04-27 18:27 MrYu4
阅读(16)
评论(0)
推荐(0)
编辑
上一页
1
···
3
4
5
6
7
公告