摘要: #include #include #include using namespace std; int getresult(int num,stack &st,int &min,int &cursum) { if (num - cursum st; int min = num; int elem = 0; int currsum = 0; in... 阅读全文
posted @ 2016-09-08 15:56 随风9 阅读(178) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std; struct node { struct node *next; int value; }; node *CreateListNode(int value) { if(value==NULL) return NULL; node *pNode=(node*)mall... 阅读全文
posted @ 2016-09-08 15:31 随风9 阅读(212) 评论(0) 推荐(0) 编辑