02 2012 档案
110104_LC-Display(液晶显示屏)
摘要:http://www.programming-challenges.com/pg.php?page=downloadproblem&probid=110104&format=html UVA 706_LC-Display(液晶显示屏) http://uva.onlinejudge.org/index 阅读全文
posted @ 2012-02-29 10:59 pcoda 阅读(417) 评论(0) 推荐(0)
110103_The Trip
摘要:http://www.programming-challenges.com/pg.php?page=downloadproblem&probid=110103&format=html UVA 10137_The Trip http://uva.onlinejudge.org/index.php?op 阅读全文
posted @ 2012-02-28 17:52 pcoda 阅读(211) 评论(0) 推荐(0)
110102_Minesweeper
摘要:http://www.programming-challenges.com/pg.php?page=downloadproblem&probid=110102&format=html UVA 10189_Minesweeper http://uva.onlinejudge.org/index.php 阅读全文
posted @ 2012-02-28 16:50 pcoda 阅读(249) 评论(0) 推荐(0)
110101_The 3n+1 problem
摘要:http://www.programming-challenges.com/pg.php?page=downloadproblem&probid=110101&format=html UVA 100_The 3n+1 problem http://uva.onlinejudge.org/index. 阅读全文
posted @ 2012-02-28 15:58 pcoda 阅读(210) 评论(0) 推荐(0)
poj2318 TOYS
摘要:http://poj.org/problem?id=2318 //叉积应用 #include<cstdio>#include<iostream>#include<cstring>using namespace std;#define N 5010struct P{ int x1; int x2;}p 阅读全文
posted @ 2012-02-25 20:39 pcoda 阅读(168) 评论(0) 推荐(0)
poj1118 Lining Up
摘要:http://poj.org/problem?id=1118 求在一条线上的点最多的点的个数 自己的代码 n^3 #include<cstdio>#include<iostream>#include<algorithm>using namespace std; struct P{ int x; in 阅读全文
posted @ 2012-02-25 18:29 pcoda 阅读(867) 评论(0) 推荐(0)
poj3176 Cow Bowling
摘要:http://poj.org/problem?id=3176 树塔问题,求最大和 #include<cstdio>#include<cstring>#include<iostream>using namespace std;#define N 360#define max(a,b) (a)>(b)? 阅读全文
posted @ 2012-02-25 18:13 pcoda 阅读(179) 评论(0) 推荐(0)
poj3589 Number-guessing Game
摘要:http://poj.org/problem?id=3589 #include<cstdio>#include<cstring>#include<iostream>using namespace std;int main(){ char s1[5],s2[5]; int b[5],T,i,j; in 阅读全文
posted @ 2012-02-25 18:06 pcoda 阅读(237) 评论(0) 推荐(0)
poj1835 宇航员
摘要:http://poj.org/problem?id=1835 一道模拟题,刚开始由于确定方向的问题不知道咋写了,幸亏同学提醒打表,才搞出来了 #include<cstdio>#include<iostream>using namespace std;int hl[6][6]={{1,5,1,1,2, 阅读全文
posted @ 2012-02-25 18:02 pcoda 阅读(386) 评论(0) 推荐(0)