自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 资源 (1)
  • 收藏
  • 关注

原创 两个一元多项式相加(链表 || 顺序表实现)

顺序表实现:#include #include #include #include #include using namespace std;#define maxsize 1000struct Data{ double coef; int exp;};struct List{ Data* elem; int length;};char s[100];

2015-09-23 17:24:00 13308 1

原创 HDU 1281

棋盘游戏Time Limit: 1000MS Memory Limit: 32768KB64bit IO Format: %I64d & %I64uDescription小希和Gardon在玩一个游戏:对一个N*M的棋盘,在格子里放尽量多的一些国际象棋里面的“车”,并且使得他们不能互相攻击,这当然很简单,但是Gardon限制了只有某些格子才可以放,小希还是很轻松的解决了这个

2015-09-07 21:06:23 399

原创 POJ 2392(多重背包)

Space ElevatorTime Limit: 1000MS Memory Limit: 65536KB 64bit IO Format: %I64d & %I64uDescriptionThe cows are going to space! They plan to achieve orbit by buildin

2015-09-06 22:03:59 402

原创 POJ 1787(完全背包+记录路径)

POJ - 1787Charlie's ChangeTime Limit: 1000MS Memory Limit: 30000KB 64bit IO Format: %I64d & %I64uDescriptionCharlie is a driver of Advanced Cargo Movement, Lt

2015-09-06 21:33:27 427

原创 ZOJ 1149(多重背包)

DividingTime Limit: 2000MS Memory Limit: 65536KB 64bit IO Format: %lld & %lluMarsha and Bill own a collection of marbles. They want to split the collection among themse

2015-09-06 20:34:12 364

原创 HDU 1150

HDU - 1150Machine ScheduleTime Limit: 1000MS Memory Limit: 32768KB 64bit IO Format: %I64d & %I64uDescriptionAs we all know, machine scheduling is a very class

2015-09-05 10:35:31 315

原创 HDU 2255(KM 模板题)

奔小康赚大钱Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5552    Accepted Submission(s): 2438Problem Description传说在遥远的地方有一个非常富裕的村落,有一

2015-09-04 22:05:16 379

原创 HDU 1533

Going HomeTime Limit: 10000/5000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3469    Accepted Submission(s): 1780Problem DescriptionOn a grid

2015-09-02 19:39:20 356

原创 连续增广路算法

const int maxn = 110;const int maxm = 5010;struct Edge{ int to, next, c, f;}edge[maxm*10];int head[maxn],dis[maxn],load[maxn],p[maxn];int n;bool flag[maxn];bool spfa(int start,int end){

2015-09-01 22:19:15 457

六种排序算法

冒泡,选择,归并,堆,插入,快速排序六种算法。

2016-01-08

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除