一、现在我们在网站设计(三)的基础上,来编写about.html页面。这个页面要用到的知识点是利用JavaScript和DOM实现选择性地显示和隐藏某些DIVabout.html页面在前面我们为了看导航栏菜单项高亮显示时,已经写了部分内容,只是那时写的代码没有实现div显示和隐藏,现在就在之前编写的...
分类:
编程语言 时间:
2014-05-20 02:43:52
阅读次数:
433
Two elements of a binary search tree (BST) are
swapped by mistake.Recover the tree without changing its structure.Note:A
solution using O(n) space is ...
分类:
其他好文 时间:
2014-05-17 14:45:17
阅读次数:
290
QuicklinksIf you know what this isall about and
you just need the update site details:name:GNU ARM Eclipse
Plug-insURL:http://gnuarmeclipse.sourceforg...
分类:
系统相关 时间:
2014-05-17 14:44:41
阅读次数:
499
原题:
题目解析:这个问题的实质是要我们按成访问二叉树的结点,并返回每层访问的结果,这里要求走Z字,其实就是一行正向一行反向。
/*
the kernel idea is visit a binary search tree in level and
the additional work we have to label the end of one level.
*/
v...
分类:
其他好文 时间:
2014-05-15 23:18:46
阅读次数:
515
转自:http://www.xinotes.net/notes/note/261/ 1 2 3
10 11 12 Try close this window.13 学习一下~!~
Here is a brief introduction and package of
dotfiles for linux/unix user.I think there are enough informative description
about the package.Here is th...
分类:
编程语言 时间:
2014-05-15 12:01:37
阅读次数:
370
题目链接:点击打开链接
题意:给定n个点 m个询问
下面n-1行给定一棵树
m个询问 x y
问把树转成以x为根 y的父节点是谁
第一种情况lca==y那就是x的第 dep[x] - dep[y] -1 父亲,依次向上爬山坡,利用倍增的二进制加速。
第二种就是Father[y];
#include"cstdio"
#include"iostream"
#include"queue"
...
分类:
其他好文 时间:
2014-05-15 09:11:44
阅读次数:
397
Single Number II
Total Accepted: 14472 Total
Submissions: 44420My Submissions
Given an array of integers, every element appears three times except for one. Find that single one.
Note:
Y...
分类:
其他好文 时间:
2014-05-15 01:23:42
阅读次数:
273
本文讲述SharePoint 2013 中文站点更新列表字段的标题(Title)不能work的解决方案...
分类:
其他好文 时间:
2014-05-15 01:13:19
阅读次数:
295
An problem about date
时间限制:2000 ms | 内存限制:65535 KB
难度:2
描述
acm的iphxer经常忘记某天是星期几,但是他记那天的具体日期,他希望你能写个程序帮帮他。
输入每行有三个整数 year,month,day,日期在1600年1月1日到9600年1月1日之间;
输出输出对应的星期,用一个整...
分类:
其他好文 时间:
2014-05-15 00:19:14
阅读次数:
380