- 博客(1)
- 收藏
- 关注
原创 使用双向循环链表解决约瑟夫问题
#includeusing namespace std;class monkey {public:int No;monkey *next, * pre;monkey( int info, monkey* preValue = 0, monkey *nextValue = 0) {No = info;pre = preValue;next = nextValue;}monkey() {};};cla
2016-09-30 23:09:52 703
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人