蒻菜_羊羊羊的专栏

编程是人造的学科,而数学是神造的学科.

Android四大组件

一、Activity详解 Activty的生命周期的也就是它所在进程的生命周期。   一个Activity的启动顺序: onCreate()——>onStart()——>onResume() 当另一个Activity启动时: 第一个Activ...

2015-04-29 15:47:19

阅读数:301

评论数:0

POJ1157 LITTLE SHOP OF FLOWERS(动态规划DP)

LITTLE SHOP OF FLOWERS Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 19011   Accepted: 8791 Description ...

2015-04-28 12:09:28

阅读数:735

评论数:0

POJ1463 Strategic game(树形DP)

Strategic game Time Limit: 2000MS   Memory Limit: 10000K Total Submissions: 6722   Accepted: 3095 Description Bob enjoy...

2015-04-27 20:20:51

阅读数:580

评论数:0

POJ2342 Anniversary party(树形DP)

Anniversary party Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 4850   Accepted: 2751 Description There ...

2015-04-27 18:50:21

阅读数:245

评论数:0

POJ2251 Dungeon Master(搜索BFS)

Dungeon Master Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 18557   Accepted: 7216 Description You are ...

2015-04-16 19:58:34

阅读数:254

评论数:0

POJ1088 滑雪(递归 + 记忆化搜索)

滑雪 Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 80871   Accepted: 30152 Description Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,...

2015-04-16 11:55:02

阅读数:416

评论数:0

POJ1837 Balance(动态规划)

Balance Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 11431   Accepted: 7127 Description Gigel has a strange "balance&...

2015-04-13 19:58:09

阅读数:247

评论数:0

POJ1276 Cash Machine(动态规划)

Cash Machine Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 28982   Accepted: 10375 Description A Bank pl...

2015-04-13 19:51:13

阅读数:294

评论数:0

算法导论(LCS最长公共子序列)

真动态规划版(自底而下): #include using namespace std; const int maxn = 10001; int m,n; char b[maxn][maxn]; //回溯时保存路径 int c[maxn][maxn]; //最长子序列 void LCS(cha...

2015-04-13 09:40:42

阅读数:298

评论数:0

哈希表的C++实现

#include using namespace std; typedef int KeyType; //设关键字域为整形,需要修改类型时,只需修改这里就可以 const int NULLKEY=0; //NULLKEY表示该位置无值 ...

2015-04-06 15:42:02

阅读数:273

评论数:0

hdu1754 I Hate It(线段树)

I Hate It Time Limit: 9000/3000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 44413    Accepted Submission(s):...

2015-04-02 13:11:02

阅读数:269

评论数:0

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