2013年7月18日

UVa 10131

摘要: 1 /* 2 3 * 类似于最长递减子序列 4 */ 5 #include 6 7 #include 8 #include 9 using namespace std;10 #define Max(x,y) (x>y?x:y)11 #define max 1000+512 struct nod... 阅读全文

posted @ 2013-07-18 19:43 Stomach_ache 阅读(120) 评论(0) 推荐(0) 编辑

UVa 562

摘要: 1 /* 2 3 * 泥马,WA了一天,这题应该是很简单的DP,不过就是做不出来,只好改用母函数。。。。。 4 */ 5 #include 6 7 #include 8 #include 9 #include10 using namespace std;11 #define max 100+5... 阅读全文

posted @ 2013-07-18 19:42 Stomach_ache 阅读(137) 评论(0) 推荐(0) 编辑

poj2109

摘要: 题目链接: http://poj.org/problem?id=2109代码很简单,但是还是学到了东西。。类型 长度 (bit) 有效数字 绝对值范围float 32 6~7 10^(-37) ~ 10^38double 64 15~16 10^(-307) ~10^308long double ... 阅读全文

posted @ 2013-07-18 12:01 Stomach_ache 阅读(137) 评论(0) 推荐(0) 编辑

导航