随笔分类 -  递归

摘要:#include using namespace std;char a[100][10000];int p1,p2,b[100],n,k;bool p(int p1,int p2){int i,j; if(p1==n-1)return 1;else{ for(i=p2;i>t; while(t--)... 阅读全文
posted @ 2014-07-17 17:15 冷夏的博客园 阅读(190) 评论(0) 推荐(0)
摘要:DescriptionA fractal is an object or quantity that displays self-similarity, in a somewhat technical sense, on all scales. The object need not exhibit... 阅读全文
posted @ 2014-07-16 15:25 冷夏的博客园 阅读(386) 评论(0) 推荐(1)
摘要:DescriptionThere is a rectangular room, covered with square tiles. Each tile is colored either red or black. A man is standing on a black tile. From a... 阅读全文
posted @ 2014-07-16 15:22 冷夏的博客园 阅读(181) 评论(0) 推荐(0)
摘要:原题 http://poj.org/problem?id=1011答案(比较全)http://www.cnblogs.com/mycapple/archive/2012/08/14/2638430.html#commentformSticksTime Limit: 1000MSMemory Limi... 阅读全文
posted @ 2014-07-16 13:35 冷夏的博客园 阅读(366) 评论(0) 推荐(0)