he Himalayas
Time Limit: 2 Seconds Memory Limit: 65536 KB
As an artist, Bob usually need to travel around the world. He made a lot of sketch of scenery on his journey. A famous spot he ha...
分类:
其他好文 时间:
2014-09-09 12:48:18
阅读次数:
214
"I do not object to harsh criticism," said Helen Keller, "so long as I am treated like a human being who has a mind of her own." The Story of My Lif.....
分类:
其他好文 时间:
2014-09-06 22:25:33
阅读次数:
288
题目链接:http://poj.org/problem?id=2488
A Knight's Journey
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 31012
Accepted: 10613
Description
Background ...
分类:
其他好文 时间:
2014-09-06 14:55:03
阅读次数:
206
Description
After 4 years' waiting, the game "Chinese Paladin 5" finally comes out. Tomato is a crazy fan, and luckily he got the first release. Now he is at home, ready to begin his journey. But b...
分类:
其他好文 时间:
2014-09-05 18:21:51
阅读次数:
299
下了决心要学Java,几个同事都建议我去学Android,自己也觉得能做点应用放手机上玩玩也比较有动力。沈逸有篇文章里面写道:搞C的看不起搞C++的. 搞C++的看不起搞java的. 搞java的看不起搞.net的. 搞.net的看不起搞js的. 搞js的看不起搞html的. 搞html的看不起美工...
分类:
移动开发 时间:
2014-08-31 14:27:01
阅读次数:
243
1348 - Aladdin and the Return Journey PDF (English) Statistics Forum Time Limit: 2 second(s)Memory Limit: 32 MBFinally the Great Magical Lamp was in.....
分类:
其他好文 时间:
2014-08-24 03:07:33
阅读次数:
242
DescriptionBackgroundOur knight lives on a chessboard that has a smaller area than a regular 8 * 8 board,but it is still rectangular.Can you help this...
分类:
其他好文 时间:
2014-08-14 03:46:57
阅读次数:
305
A Knight's JourneyTime Limit:1000MSMemory Limit:65536KTotal Submissions:30656Accepted:10498DescriptionBackgroundThe knight is getting bored of seeing ...
分类:
其他好文 时间:
2014-08-14 00:58:47
阅读次数:
307
~~~~
线段树区间合并~
两种操作:
1、输出满足连续区间最左边的值。
2、更新一段连续区间。
题目链接:http://poj.org/problem?id=3667
~~~~
#include
#include
#include
#define INF 0x7fffffff
#define lson rt<<1,s,m
#define rson rt<<1|1,m+1,e
#de...
分类:
其他好文 时间:
2014-08-12 00:48:13
阅读次数:
166
简单的递归回溯法,锻炼基本的编程能力。
这类题是对代码能力的要求比对思想的要求高点。
而且要审题,题目要求安lexicographically 顺序输出,不小心递归的顺序就会输出错误了。
棋盘是由数字列或者行,和字母列或者行组成的,故此输出结果要注意。
#include
#include
const int MAX_N = 27;
bool board[MAX_N][MAX_N...
分类:
其他好文 时间:
2014-08-03 18:05:45
阅读次数:
301