PalindromeTime Limit: 3000MS Memory Limit: 65536KTotal Submissions: 51799 Accepted: 17834DescriptionA palindrome is a symmetrical string, that is, a string read identically from left to right as well ...
分类:
其他好文 时间:
2014-07-15 12:36:31
阅读次数:
200
题目:C.DZYLovesSequences(LIS升级)题意:在n个数中,最多改变一个数字,并求能够达到的最长严格上升子序列(连续)长度分析:考虑第i个数,能否改变后拼接前后两个字串,并维护当前最大值状态:left[i]:表示以i为终点的最长严格上升子序列长度right[i]:表示以i为起点的最长..
分类:
其他好文 时间:
2014-07-15 11:30:54
阅读次数:
272
语法:border-radius:none| {1,4} [ / {1,4} ]?相关属性: border-top-right-radius , border-bottom-right-radius , border-bottom-left-radius , border-top-left-radi...
分类:
Web程序 时间:
2014-07-15 08:29:29
阅读次数:
395
/images/lodding1.gif" id="lodding" style="margin-right:10px;margin-top:0px;"/>正在处理,请稍候...
分类:
其他好文 时间:
2014-07-14 21:44:18
阅读次数:
282
//将字符串反转,但单词不倒置。Right here waiting for you! -> you! for waiting here Right#define _CRT_SECURE_NO_WARNINGS#include #include int main() { char str[25...
分类:
其他好文 时间:
2014-07-14 19:42:46
阅读次数:
278
Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).
For example:
Given binary tree {3,9,20,#,#,15,7},
...
分类:
其他好文 时间:
2014-07-14 17:31:14
阅读次数:
229
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).
For example:
Given binary tree {3,9,20,#,#,15,7},
3
/ 9 20
...
分类:
其他好文 时间:
2014-07-14 17:29:03
阅读次数:
166
这个练习主要简单的展示了据对定位和相对定位;
在此说下html的定位:
1.static定位
这个是默认的方式,对static而言,left和right是不生效的。
2.relative定位(相对定位)
元素框偏离自身流对应的位置(靠left和top定位),元素仍然保持为定位前的形状,它原本所占的空间仍保留,从这一角度看,好像该元素仍然在文档流/标准流中一样。
注意:relativ...
分类:
Web程序 时间:
2014-07-14 13:32:46
阅读次数:
277
基本概念结点的层次(Level)从根开始定义,根为第一层,根的孩子为第二层。二叉树的高度:树中结点的最大层次称为树的深度(Depth)或高度。二叉树在计算机科学中,二叉树是每个结点最多有两个子树的有序树。通常子树的根被称作“左子树”(left subtree)和“右子树”(right subtree...
分类:
其他好文 时间:
2014-07-13 23:45:49
阅读次数:
284
以面向对象的思想和简单工厂模式,写一个C++计算器程序,代码如下:
#include
using namespace std;
class Operation {
public:
Operation(double left, double right)
{
lhs = left;
rhs = right;
}
const doub...
分类:
其他好文 时间:
2014-07-13 18:01:20
阅读次数:
354