码迷,mamicode.com
首页 >  
搜索关键字:rac node    ( 38851个结果
UVA 712 - S-Trees
题目如下: S-Trees  A Strange Tree (S-tree) over the variable set is a binary tree representing a Boolean function .Each path of the S-tree begins at the root node and consists ...
分类:其他好文   时间:2014-06-05 11:04:37    阅读次数:248
POJ - 1111 Image Perimeters
题意:求'X'围成的周长 思路:按理说每增加一个就是周长加4,但是要减去重复的地方,这里我是用BFS做的,如果是BFS的模板思路的话是不行的,应该要先取出再标记 #include #include #include #include #include using namespace std; const int MAXN = 30; struct node { int x,y; ...
分类:其他好文   时间:2014-06-05 06:23:39    阅读次数:221
UVA Tree
题目如下: Tree  You are to determine the value of the leaf node in a given binary treethat is the terminal node of a path of least value from the root of thebinary tree to any le...
分类:其他好文   时间:2014-06-05 05:27:11    阅读次数:268
hdu 1863 畅通工程
题目:         链接:点击打开链接 题意:         中文题 算法: 思路:         赤裸裸的最小生成树。。 代码: #include #include using namespace std; struct node{ int u,v,w; } e[110]; int p[110]; int n,m,sum,ans; int cmp(node...
分类:其他好文   时间:2014-06-05 03:50:23    阅读次数:232
duplicate报ORA-01017权限问题
duplicate报ORA-01017权限问题   环境: OS:RedHat EnterPrise Linux 5.8 x64 Cluster:Oracle Grid 11.2.0.4 Database:Oracle Database EnterPrise 11.2.0.4 Archive:RAC+DG          今天在配置DG的过程中,前期环境都已经准备好了,就差最后一步...
分类:其他好文   时间:2014-06-04 23:37:04    阅读次数:341
socket.io+angular.js+express.js做个聊天应用(二)
接着上一篇 我用的开发工具是sublime  打开之前创建的工程。 打开www 修改并添加代码 #!/usr/bin/env node var debug = require('debug')('my-application'); var app = require('../app'); var io=require("socket.io").li...
分类:Web程序   时间:2014-06-03 04:02:54    阅读次数:308
socket.io+angular.js+express.js做个聊天应用(一)
node,express开发环境等安装假设已经搞好了。 justhacker@justhacker-ThinkPad-Edge-E440:~/projects/nodejs$ express -e chattingnode create : chattingnode create : chattingnode/package.json create : chattin...
分类:Web程序   时间:2014-06-03 02:31:27    阅读次数:285
leetcode -day24 Maximum Depth of Binary Tree & Binary Tree Zigzag Level Order Traversal
1、Maximum Depth of Binary Tree 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 leaf node. clas...
分类:其他好文   时间:2014-06-02 23:13:22    阅读次数:290
【HDOJ】1429 胜利大逃亡(续)
BFS+状态压缩,做了很多状态压缩了。今晚把八数码问题给搞定了。 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 typedef struct node_st { 8 int x, y, ...
分类:其他好文   时间:2014-06-02 17:14:38    阅读次数:232
js DOM
1. Node 类型 js 中所有的节点类型都继承自 Node 类型,因此所有节点类型都共享着相同的基本属性和方法。 nodeType属性,用于表明节点的类型。节点类型由在 Node 类型中定义的下列12个数值常量表示, 任何节点类型必居其一: nodeNam...
分类:Web程序   时间:2014-05-31 19:31:02    阅读次数:383
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!