题目如下:
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
Node中的锚点和坐标系
所有的Node会被添加到一个Scene中,而Scene就是所有Node的根节点(树根)...
分类:
其他好文 时间:
2014-06-05 09:18:04
阅读次数:
239
题意:求'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
Cocos2d-x 3.final Node节点分析
1。每个Node都有绘图的基本属性,如锚点,坐标,尺寸,透明度等。
2。每个Node都有变换的属性,如缩放、扭曲、旋转等。
3。每个Node都有摄像机属性(因为Cocos2d-x所有Node都是3D图形的2D投影,一些变换和特效实际上是改变了摄影机的位置);
4。每个Node都可以有子节点管理方法,如添加子节点,删除子节点,获取所有子节点,当前节点的tag(每个Node都是一颗树,你懂的....)
5。每个Node都有任务管理,如Schedule计划任务...
分类:
其他好文 时间:
2014-06-05 06:21:41
阅读次数:
209
题目如下:
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
链接:http://poj.org/problem?id=3259
Description
While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one-way path t...
分类:
其他好文 时间:
2014-06-05 05:26:33
阅读次数:
240
题目:
链接:点击打开链接
题意:
中文题
算法:
思路:
赤裸裸的最小生成树。。
代码:
#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
【题目】
Given a non-negative number represented as an array of digits, plus one to the number.
The digits are stored such that the most significant digit is at the head of the list.
【题意】
给定一个非负整数,这个表示为一个数字数组。计算这个整数加1后的值。
【思路】
从低位到高位依次相加,注意处理进...
分类:
其他好文 时间:
2014-06-05 01:24:44
阅读次数:
250
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
原创地址: http://www.cnblogs.com/Alandre/
(泥沙砖瓦浆木匠),需要转载的,保留下! Thanks
The reasonable man adapts himself to the world;the unreasonable one persists in trying to adapt the world to himself. —萧...
分类:
编程语言 时间:
2014-06-04 22:51:46
阅读次数:
457