其他
文章平均质量分 66
半盒果酱
运筹优化
展开
-
Given an N layers triangle in mathematic like the graph below
Description Given an N layers triangle in mathematic like the graph below. There are many ways that you could walk from the top to the bottom of the triangle. Every step, you can walk from one point原创 2016-05-11 20:48:21 · 389 阅读 · 0 评论 -
栈--括号匹配
#include using namespace std; class Ele{ private: public: char data; Ele* next; //Ele(void); //~Ele(void); void setData(int d){ data=d; } void setNext(Ele* p){ next=p; } }; class Stack{原创 2016-05-11 21:59:32 · 241 阅读 · 0 评论