链接: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1752
Description
There are n webpages, each of which has its respective page rank. The content is constantly updated ...
分类:
其他好文 时间:
2014-06-09 23:32:22
阅读次数:
270
Description:Given an array of non-negative
integers, you are initially positioned at the first index of the array.Each
element in the array represents...
分类:
其他好文 时间:
2014-06-09 00:15:33
阅读次数:
193
1.看了网上的Sublime Text的快捷键。没感觉,太枯燥,没图。
下面以图为例,讲解先看标题栏1.点击文件 第一个创建一个文件,快捷键(Ctrl + N)2.点击转到 使用go to anything的快捷键是(Ctrl +
P) 作用用于查找文件.例子(index.html),因支持模...
分类:
其他好文 时间:
2014-06-09 00:08:30
阅读次数:
450
原文:div中显示某个网页 1.方法
2.ajax方法ajax+流实现无框架限制块刷新:主框架index页面:js:$(function(){$("#dialog").dialog({
width:500, height:550});$("#dialog").openDialog();$("#dia...
分类:
Web程序 时间:
2014-06-08 20:35:47
阅读次数:
329
看教材的时候写的DTD是用浏览器访问URL直接404,在eclipse中也没有代码提示,说明这个DTD已经不可用然后去看Struts2的官方JAVADOC,找到http://struts.apache.org/release/2.3.x/xwork-core/apidocs/index.html看了...
分类:
其他好文 时间:
2014-06-08 19:53:51
阅读次数:
212
【题目】
Given an index k, return the kth row of the Pascal's triangle.
For example, given k = 3,
Return [1,3,3,1].
Note:
Could you optimize your algorithm to use only O(k) extra space?
【题意】
给定行索引k, k从0开始,返回该索引指向的杨辉三角的行
要求只能使用O(k)的额外空间
【思路】
...
分类:
其他好文 时间:
2014-06-08 15:46:02
阅读次数:
272
链接: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1710
Description
有A、 B、 C 三个集合的,其中a∈A, b ∈ B, c ∈ C,求有多少种方式使得a + b = c。
Input
有多组测试数据,请处理到文件结束。
对于每组测试数据,有三行:
第...
分类:
其他好文 时间:
2014-06-08 15:14:00
阅读次数:
245
附网址:http://qt-project.org/doc/qt-5/qtquick-index.html
Qt Quick
Qt Quick组件是编写QML应用程序的标准库。Qt QML组件提供了QML的引擎和语言基础,Qt Quick组件则提供了QML创建用户图形界面的所有基本类型。它提供了一个可视化的画布,以及创造可视化组件、接收用户输入、创造数据模型和视图、延迟实例化对象等多种...
分类:
其他好文 时间:
2014-06-08 10:31:41
阅读次数:
381
链接: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1524
Description
给包含n个数的初始序列,A[1], A[2], ..., A[n]。
给q多个操作,操作如下:
1 a b v, 把[a, b] 的值改为v,即A[a] = A[a+1] = ... = A[b]...
分类:
其他好文 时间:
2014-06-08 08:22:06
阅读次数:
216
原文链接: What to tune in MySQL 5.6 after installation原文日期: 2013年09月17日翻译日期: 2014年06月01日翻译人员: 铁锚随着 大量默认选项的改进, MySQL 5.6比以前版本需要调优的选项大为减少. 在本文中我将讲述需要优化的配置项.InnoDB设置innodb_buffer_pool_size —— 默认值为 128M. 这是最...
分类:
数据库 时间:
2014-06-08 03:57:40
阅读次数:
365