源码://HeapSort.cpp#include using namespace
std;//about heap://the last leaf node is a[n-1]//the last non-leaf node is
a[n/2-1];// a[i]// ...
分类:
其他好文 时间:
2014-05-27 02:21:23
阅读次数:
240
LESS 是一个编写 CSS 的很好的方式
,使您可以使用变量,嵌套规则,混入以及其它许多有用的功能,它可以帮助您更好地组织你的 CSS 代码。最近我一直在研究 Node.js ,并想用
less-middleware 中间件,这样我可以很容易的在我的应用程序中使用 LESS 了。配置好以后,LES...
分类:
Web程序 时间:
2014-05-24 00:29:18
阅读次数:
389
string $sel[]=`ls -sl`;float $T[]=`xform -q -ws -t
$sel[0]`;float $R[]=`xform -q -ws -ro $sel[0]`;if (`exists ($sel[0]+"_Con")`==0)
{delete ($sel[0]+"...
分类:
其他好文 时间:
2014-05-23 23:23:38
阅读次数:
318
#includeusing namespace std;class node{public:
node():value(0),next(NULL){} ~node(){} int value; node* next;};///be careful
this ;node* cr...
分类:
其他好文 时间:
2014-05-23 23:06:05
阅读次数:
258
#includeusing namespace std;class node{public:
node():value(0),next(NULL){} ~node(){} int value; node* next;};///be careful
this ;node* cr...
分类:
其他好文 时间:
2014-05-23 23:03:01
阅读次数:
301
题目:Given a binary tree, determine if it is a valid
binary search tree (BST).Assume a BST is defined as follows:The left subtree of
a node contains onl...
分类:
其他好文 时间:
2014-05-23 12:20:50
阅读次数:
407
问题:对文件夹下所有文件进行批量读取,跳过文件头部分,读取每个文件数据部分的7,8,9列,保存到变量并且输出到文件。数据:文件夹11m\单个文件格式:DAV1
MARKER NAME66010M001 MARKER NUMBER 7 PR TD HR WS WD RI HI # / TYPES OF...
分类:
其他好文 时间:
2014-05-23 11:57:28
阅读次数:
446
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-05-23 11:54:10
阅读次数:
317
作为一个开发者,最关心的不外乎提高自己的软件开发水平。那要从何做起呢?积累技术知识(比如Node或者No-SQL)?死磕那些经典的算法问题(比如气泡排序或者网址缩短)?或者是打牢基础?作为一个程序员你的价值不是由你知道什么来衡量的,而是由你能做出什么来衡量的。两者看起来相似,但有着天壤之别。你的价值...
分类:
其他好文 时间:
2014-05-23 10:40:26
阅读次数:
241