自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(3)
  • 收藏
  • 关注

原创 Graph Algorithms: Implementation& DFS& Strong Component& BFS & Dijkstra & Bellman Ford

#include #include #include #include #include using namespace::std; class Node; class Edge { public: Edge(Node* start, Node* end, int _cost = 0):from(start),to(end),cost(_cost) {} Node *

2012-06-28 01:27:36 531

原创 汉诺塔(hanoi)算法实现

#include #include #include #include #include #include using namespace::std; class Solution { public: Solution():n(2) { stack tower1; stack tower2; stack tower3; hanoi.push_back(tower1); ha

2012-06-13 10:31:06 2797

原创 Chapter 8. Customizing new and delete

1. Static class members(member variable and function) must be defined outside the class definition (unless they'reconst and integral 2. Set a user specific handler for new. namespace std { ty

2012-06-02 09:50:07 434

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除