- 博客(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关注的人