码迷,mamicode.com
首页 >  
搜索关键字:node connectivity    ( 28115个结果
压力测试
服务器压力测试。。。。node环境下的多机器人跑...
分类:其他好文   时间:2014-05-27 03:17:51    阅读次数:169
湖南省第九届大学生程序设计竞赛
Interesting Calculator CSU 过了 TOJ超时了 先记一下 #include #include #include using namespace std; int a[100]; bool b[100010]; int c[100010]; int d[100010]; int x, y; int cas = 1; struct node { int x, t,...
分类:其他好文   时间:2014-05-22 12:42:02    阅读次数:249
OpenWrt下交叉编译Node.js(HG255D)
编译可在路由下运行的node.js...
分类:Web程序   时间:2014-05-22 06:38:07    阅读次数:399
笔试算法题(13):反转链表 & 左旋转字符串
出题:反转链表(递归和非递归解法);分析:有递归跟非递归实现,注意对原始链表头节点的处理,因为其他节点都指向下一个节点,其需要指向NULL;解题: 1 struct Node { 2 int v; 3 Node *next; 4 }; 5 Node* NonRecur...
分类:其他好文   时间:2014-05-22 05:20:04    阅读次数:310
4.在二元树中找出和为某一值的所有路径
Find paths whose node values equal to N in binary tree.
分类:其他好文   时间:2014-05-22 05:13:14    阅读次数:280
Linus Torvalds 指针
《对话LinusTorvalds:大多黑客甚至连指针都未理解》http://www.csdn.net/article/2013-01-10/2813559-two-star-programming“不懂指针”的开发者代码示例: 1 typedef struct node 2 { 3 ...
分类:其他好文   时间:2014-05-22 04:40:17    阅读次数:245
把NodeJS注册成Windows服务
为了让NodeJS开发的网站能在服务器端正常运行,最好把NodeJS需要运行的代码注册成Windows服务,服务器如果重启也不需要重新去启动NodeJS。1、编写一个执行NodeJS脚本的bat文件(run.bat),如下:@echo offd:cd D:\[目录]node [需要执行的文件名].j...
分类:Windows程序   时间:2014-05-22 03:36:20    阅读次数:413
9.链表中倒数第k个结点
Find the inverse Kth node of a linked list.
分类:其他好文   时间:2014-05-22 03:29:46    阅读次数:247
leetcode Populating Next Right Pointers in Each Node
/**根据完美二叉树或者非完美二叉树都可以,利用左右子树的根节点的next节点信息来连接next*/public void connect(TreeLinkNode root){ if(root==null) return; //利用父节点的next...
分类:其他好文   时间:2014-05-22 03:03:39    阅读次数:183
复数运算
#include #include using namespace std; struct node   { int shi; int xu; int data; }; int main() {     int shinum=0;     int xunum=0;     int n;     cin>>n;     node*num=ne...
分类:其他好文   时间:2014-05-20 15:28:05    阅读次数:256
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!