人是会思考的一棵苇草

Man is but a reed, the weakest in nature, but he is a thinking reed. All our dignity consists in tho...

排序:
默认
按更新时间
按访问量
RSS订阅

Some design tradeoffs

1,为什么STL stack的pop操作返回值类型是void,而不直接返回栈顶元素,用一个pop同时搞定top和pop两个函数的工作岂不是更加优雅高效? SGI的解释: One might wonder why pop() returns void, instead of value_type...

2012-05-28 20:55:14

阅读数 749

评论数 0

编程竞赛常见的问题类型(Programming Contest Problem Types )

Hal Burch conducted an analysis over spring break of 1999 and made an amazing discovery: there are only 16 types of programming contest problems! Fur...

2012-03-26 18:05:08

阅读数 746

评论数 0

面试题(二叉树相关)

// 二叉树有关的操作 #include "stdafx.h" #include "CommonDataStruct.h" #include #include #include ///////////////////////////...

2012-03-26 16:56:11

阅读数 2038

评论数 0

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