。。安软件的时候故障重启,之前写的丢失了,不补了,续着写。dict.iter* 方法iteritems(),iterkeys(),itervalues()与它们对应的非迭代方法一样,不同的是它们返回一个迭代子(iterator),而不是一个列表。这里返回的iterator不可以直接使用,我们可以通过...
分类:
其他好文 时间:
2015-05-01 19:51:39
阅读次数:
131
先来点文字性的描写叙述:MVC对于我们来说,已经不陌生了,它起源于20世纪80年代针对smalltalk语言的一种软件设计模式,如今已被广泛应用。近年来,随着java的盛行,MVC的低耦合性、高重用性、可维护性、软件project的可管理性等诸多长处使其在java平台中非常受欢迎,其间,也诞生了很多...
分类:
其他好文 时间:
2015-05-01 19:49:10
阅读次数:
164
Suppose that a website contains two tables, the Customers table and the Orders table. Write a SQL query to find all customers who never order anything. Table: Customers....
分类:
其他好文 时间:
2015-05-01 18:48:26
阅读次数:
124
一、Qt windows 环境安装的安装
第一步:
下载官方安装包,地址:http://www.qt.io/zh-hans/download-open-source/根据你电脑配置选在还是得安装包。下载下来之后双加按照提示安装。当安装成功之后,将qtcreator加入windows的环境变量。方法:右键 计算机 >> 属性 >> 高级系统设置 >> 环境变量 >> 系统变量中找到 path 将qt的环境安装目录添加进去 结尾一定要加“ ;...
分类:
其他好文 时间:
2015-05-01 18:47:22
阅读次数:
207
这里是大魔王平时折♂腾♀的纪实~
@加得越多,完成进度就慢~学会使用浏览器的开发人员工具学会使用git学会使用虚拟机学会使用Linux的控制台的一些命令ls
rm
mkdir
chmod
cat
vim在linux下学会使用vim,gcc,g++ @@在window下学会使用简单的bat脚本 @@在linux下学会使用简单的shell脚本 @@学会刷机学会把一部非安卓的智能机刷成安卓机学会安装双系...
分类:
其他好文 时间:
2015-05-01 18:48:44
阅读次数:
206
题目地址:HDU 3966
树链剖分模板题。不多说、、
代码如下:#include
#include
#include
#include
#include
#include
#include
#include
#include
u...
分类:
其他好文 时间:
2015-05-01 18:46:16
阅读次数:
179
hdoj 1007 最近点对...
分类:
其他好文 时间:
2015-05-01 18:48:19
阅读次数:
131
1.题目Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Panama" is a palindrome."race a car" is not a pali...
分类:
其他好文 时间:
2015-05-01 18:46:29
阅读次数:
129
在安装mpfr时出现以下错误:
-bash: ./mpfr-3.1.2/make: No such file or directory[root@localhost opt]# ./mpfr-3.1.2/make
-bash: ./mpfr-3.1.2/make: No such file or directory
[root@localhost opt]# /opt/mpfr-3.1.2/mak...
分类:
其他好文 时间:
2015-05-01 18:45:18
阅读次数:
236
css3 anination-time-function属性中当值为cubic-bezier时的公式说明...
分类:
其他好文 时间:
2015-05-01 18:47:18
阅读次数:
237
题目标题:
计算阶乘n!是一件可怕的事情,因为当n并不是很大时,n!将是一个很大的值。例如13! = 6227020800,已经超过了我们常用的unsigned int类型的取值范围。请设计一个程序,使其可以计算100以内的数的阶乘,结果用字符串的形式输出
详细描述:
接口说明
原型:
void CalcNN(int n, char *pOut)
输入参数:
...
分类:
其他好文 时间:
2015-05-01 18:46:36
阅读次数:
182
Can not issue data manipulation statements with executeQuery()
出错地方:st.executeQuery("insert into student values(“1”,“2”,“3”)") ;
如果你的SQL 语句是 update,insert等更新语句,用statement的execute()
...
分类:
其他好文 时间:
2015-05-01 18:44:53
阅读次数:
179
配置mpc-1.0.1时提示此错误configure: error: GMP version >= 4.3.2 required查找了很多镜像站点,现在能找到的最低版本就是:mpc-1.0.1wget ftp://gnu.mirror.iweb.com/mpc/mpc-1.0.1.tar.gz遇到这个问题就去下载:gmp-4.3.2或者是更高的版本wget ftp://gnu.mirror.iweb...
分类:
其他好文 时间:
2015-05-01 18:43:32
阅读次数:
249
https://github.com/navasmdc/MaterialDesignLibrary
分类:
其他好文 时间:
2015-05-01 18:42:59
阅读次数:
382
很显然n方的复杂度过不了。于是考虑优化最值的查询,可以考虑用堆或者单调队列来做。堆: 1 #include 2 #include 3 #include 4 #include 5 using namespace std; 6 7 const int INF = 99999999; 8 con...
分类:
其他好文 时间:
2015-05-01 18:42:10
阅读次数:
134
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:
其他好文 时间:
2015-05-01 18:42:06
阅读次数:
121
https://github.com/pnikosis/materialish-progress
分类:
其他好文 时间:
2015-05-01 18:44:24
阅读次数:
234