摘要: 本质和最长有序子序列一样 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->#include #include typedef struct _mouse { int size; int speed; int id;}Mouse;M... 阅读全文
posted @ 2009-04-15 21:20 断桥残雪 阅读(134) 评论(0) 推荐(0)
摘要: 我觉得算不得完全意义的动态规划 求直线交点,把直线分2组,和第N条平行(N-M条)、不平行(M条)(0#include #include int res[21][200];void add(int i, int val){ int j; int r; for (j = 1; j val) break; } if (j > res[i][0]) { re... 阅读全文
posted @ 2009-04-15 09:43 断桥残雪 阅读(160) 评论(0) 推荐(0)