码迷,mamicode.com
首页 >  
搜索关键字:nth node    ( 28024个结果
为什么我要用 Node.js? 案例逐一介绍
JavaScript 高涨的人气带来了很多变化,以至于如今使用其进行网络开发的形式也变得截然不同了。就如同在浏览器中一样,现在我们也可以在服务器上运行 JavaScript ,从前端跨越到后端,这样巨大的反差让人难以想象,因为仅仅在几年前 Javascript 还如同 Flash 或者 Java a...
分类:Web程序   时间:2014-05-01 13:11:46    阅读次数:764
在SQL Server实现最短路径的搜索
开始这是去年的问题了,今天在整理邮件的时候才发现这个问题,感觉顶有意思的,特记录下来。在表RelationGraph中,有三个字段(ID,Node,RelatedNode),其中Node和RelatedNode两个字段描述两个节点的连接关系;现在要求,找出从节点"p"至节点"j",最短路径(即经过的...
分类:数据库   时间:2014-05-01 11:41:38    阅读次数:483
hdu 1233 还是畅通工程
简单最小生成树,继续我的kruskal#include#include#include#includeusing namespace std;const int MAX=1000000;struct node{ int left,right,cost;}road[MAX];bool cmp(n...
分类:其他好文   时间:2014-05-01 09:28:42    阅读次数:333
[leetcode]Remove Nth Node From End of List @ Python
原题地址:http://oj.leetcode.com/problems/remove-nth-node-from-end-of-list/题意:Given a linked list, remove thenthnode from the end of list and return its he...
分类:编程语言   时间:2014-05-01 06:42:15    阅读次数:332
node.js 创建第一个web应用
安装node.js从http://nodejs.org/ 下载安装程序进行安装。安装后从开始菜单启动:Node.js command prompt安装web开发框架Express如果需要代理访问网络,先用下面的命令设置代理:> npm config set proxy=http://192.168....
分类:Web程序   时间:2014-05-01 01:48:43    阅读次数:375
uva 11988 这题可以看出c++中string效率的底下
用c语言实现 #include #include #include using namespace std; typedef struct node { char x; struct node *next; }chan; chan *root = new chan; char a[100010]; int main() { while(scanf("%...
分类:编程语言   时间:2014-04-29 13:47:20    阅读次数:358
arcgis webapp builder 安装试用
ArcGIS WebApp Builder 是针对开发人员的,用于快速构建基于HTML5/Javascript 技术的美观的 Web应用的一个工具。用过Flex版本的AppBuilder应该很清楚它的特点:快速、高效、灵活、美观,GIS开发人员的利器。 以下是截图 接下来我们说一说配置部署过程 1、ArcGIS WebApp Builder服务器端基于node.js。所以在安...
分类:移动开发   时间:2014-04-29 13:27:22    阅读次数:564
wustoj 1318 区间的连通性 (最短路)
floyd求最短路。 注意图是有向图。。。 #include #include #include using namespace std; struct node { int x,y,id; }edge[205]; int dis[205][205]; int main() { int c,T,n,a,b,op; while(scanf("%d",&T...
分类:其他好文   时间:2014-04-29 13:21:23    阅读次数:313
poj 2431 Expedition 贪心+最大堆
当油量不够时从走过的油站中选最大加油量的 #include #include #include #include using namespace std; #define MAX_N 10005 struct node{ int dist,fuel; }t[MAX_N]; bool cmp(const node &a,const node &b) { return a.dist<b.dis...
分类:其他好文   时间:2014-04-28 10:44:43    阅读次数:335
Linux 内核 hlist 详解
在Linux内核中,hlist(哈希链表)使用非常广泛。本文将对其数据结构和核心函数进行分析。 和hlist相关的数据结构有两个:hlist_head 和 hlist_node //hash桶的头结点 struct hlist_head { struct hlist_node *first;//指向每一个hash桶的第一个结点的指针 }; //hash桶的普通结点 struct hl...
分类:系统相关   时间:2014-04-27 21:24:06    阅读次数:579
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!