$this->assign('jumpUrl',U('Index/index'));$this->success(L('login_ok'));
分类:
Web程序 时间:
2014-07-05 17:34:10
阅读次数:
221
1 /** 2 * Definition for binary tree 3 * public class TreeNode { 4 * int val; 5 * TreeNode left; 6 * TreeNode right; 7 * TreeNo...
分类:
其他好文 时间:
2014-07-05 16:53:34
阅读次数:
177
在计算机科学中,树是一种重要的非线性数据结构,直观地看,它是数据元素(在树中称为结点)按分支关系组织起来的结构。二叉树(Binary Tree)是每个节点最多有两个子树的有序树。通常子树被称作"左子树"(left subtree)和"右子树"(right subtree)。二叉树常被用于实现二叉查找树和二叉堆。值得注意的是,二叉树不是树的特殊情形。在图论中,二叉树是一个连通的无环图,并且每一个顶点的度不大于3。有根二叉树还要满足根结点的度不大于2。有了根结点后,每个顶点定义了唯一的根结点,和最多2个子结点。...
分类:
其他好文 时间:
2014-07-05 11:01:30
阅读次数:
267
深入理解maven及应用(一):生命周期和插件
参考官方url:http://maven.apache.org/guides/index.html
一个优秀的构建系统必须足够灵活,应该能够让项目在不同的环境下都能成功构建。maven为了支持构建的灵活性,内置了三大特性,即:属性、profile和资源过滤。
1、maven属性
maven属性分6类:
1、内置属性:如${bas...
分类:
其他好文 时间:
2014-07-04 08:56:17
阅读次数:
191
[LeetCode]Balanced Binary Tree...
分类:
其他好文 时间:
2014-07-04 07:54:30
阅读次数:
199
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=&problem=4147
题意:给定一个字符串,以及若干单词,求有几种方式能用单词组成字符串
我先是dp方程推得有问题不知怎么修改搞得卡了很久,然后就是数组开得太小一直RE
tr...
分类:
其他好文 时间:
2014-07-04 07:40:01
阅读次数:
278
The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the total number of bits in the code, print the sequence of...
分类:
其他好文 时间:
2014-07-04 07:35:58
阅读次数:
215
步骤/方法
分三个步骤
在头文件中声明函数例如
afx_msg void onNum(UINT uID)
在.cpp文件中添加函数体
void CCalculatorDlg::OnNum(UINT uID)
{
UINT index=uID-IDC_NUM_0;
CString num;
num.Format(_T("%d"),index);
A...
分类:
其他好文 时间:
2014-07-04 00:38:58
阅读次数:
307
如果出现:
nested push animation can result in corrupted navigation bar
Finishing up a navigation transition in an unexpected state. Navigation Bar subview tree might get corrupted.
一般这种情况是在自定义的t...
分类:
其他好文 时间:
2014-07-04 00:36:55
阅读次数:
223
此DataTable指的是SpryMedia专为HTML Table设计和开发的页面插件,官方站点是:http://legacy.datatables.net/index。
关于oSettings.aiDisplayMaster, oSettings.aiDisplay与oSettings.aoData
无论是从JSON中获取的行数据,还是从DOM元素中获取的行数据,在表初始化之后,皆存储...
分类:
其他好文 时间:
2014-07-04 00:29:38
阅读次数:
384