自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 ZOJ Problem Set - 1093Monkey and Banana

 简单DP  #include#include#includeusing namespace std;struct point{ int x; int y; int value; int wi;}mp[10000];int cmp(point a,point b){ if(a.x==b.x)return a.y<b.y; re

2010-03-03 20:50:00 411

原创 POJ Problem Set - 1088.滑雪

http://acm.pku.edu.cn/JudgeOnline/problem?id=1088388K16MSC++1420B2010-02-24 19:53:01#include#includeusing namespace std;struct vip{ int high; int dp;}mp[120][

2010-02-24 19:46:00 540

原创 ZOJ Problem Set - 3301 Make Pair

浙大月赛由于zoj貌似不存代码,那俺就贴博客上好了……http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3301 #includeusing namespace std;struct point { int num; int value;}po[10050];struct part

2010-02-23 16:19:00 753

原创 ZOJ Problem Set - 1091 Knight Moves

BFS+STL-queue教学级题目 #include#includeusing namespace std;struct point{ int x; int y; int step;}st,et;int mp[10][10];queuemv;void visit(){ point pp; if(mv.front().x+10&&mp[m

2010-02-23 15:49:00 548

原创 TOJ 1138. Binomial Showdown

In how many ways can you choose k elements out of n elements, not taking order into account? Write a program to compute this number.Input SpecificationThe input file will contain one or more test

2010-01-28 20:37:00 610

原创 TOJ 1296 Prime Distance

The branch of mathematics called number theory is about properties of numbers. One of the areas that has captured the interest of number theoreticians for thousands of years is the question of primali

2010-01-23 20:10:00 568

空空如也

空空如也

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

TA关注的人

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