码迷,mamicode.com
首页 >  
搜索关键字:one    ( 27922个结果
Python 2.X-关于函数返回的数值类型
在使用同一个函数,相同的参数的时候,参数在传递的过程中使用了不同的形式(有无小数点)决定了该函数返回的值的类型。 # -*- coding:utf-8 -*- def return_types(one, two): return (one / two) int_type = return_types
分类:编程语言   时间:2016-01-31 02:36:15    阅读次数:174
自学html--one
一、.html .htm .shtml三者的区别:1、.htm与.html没有本质上的区别,表示的是同一种文件,只是适用于不同的环境之下。2、DOS仅能识别8+3的文件名,所以*.htm的命名方法可以被DOS识别,而*.html的文件命名方式不能被之识别。3、在UNIX系统中,网页必须使用.html
分类:Web程序   时间:2016-01-30 22:37:28    阅读次数:306
【HDOJ】4297 One and One Story
综合性很强的题目。存在环,可以用tarjan处理,然后需要求LCA。并查集+RMQ可以搞。非常不错的题目。 1 /* 4297 */ 2 #include <iostream> 3 #include <sstream> 4 #include <string> 5 #include <map> 6 #
分类:其他好文   时间:2016-01-30 18:23:08    阅读次数:163
HDU 2952 Counting Sheep
题目链接 Problem Description A while ago I had trouble sleeping. I used to lie awake, staring at the ceiling, for hours and hours. Then one day my grandmo
分类:其他好文   时间:2016-01-30 18:12:36    阅读次数:197
Count and Say (Array Length Encoding) -- LeetCode
The count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ... 1 is read off as "one 1" or 11.11 is read off
分类:其他好文   时间:2016-01-30 09:35:35    阅读次数:317
mydqldump
【mydqldump】 One way to create a snapshot of the data in an existing master database is to use the mysqldump tool to create a dump of all the databases
分类:其他好文   时间:2016-01-29 15:52:48    阅读次数:143
Gray Code -- LeetCode
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 num
分类:其他好文   时间:2016-01-29 11:43:39    阅读次数:133
1.27 Java基础总结 ①访问修饰符访问权限②类和方法的基本声明和使用1.27 Java基础总结 ①访问修饰符访问权限②类和方法的基本声明和使用
1.27 Java基础总结 ①访问修饰符访问权限②类和方法的基本声明和使用 成员变量(属性)①类中添加成员变量 访问修饰符 类型 变量名 private String name ②实例化对象调用类的构造方法类构造对象,Teacher one = new Teacher(); 有static的可以直接
分类:编程语言   时间:2016-01-29 00:04:11    阅读次数:206
关于shell脚本设置SUID的问题。
我写了个脚本quit.sh,如下: 1 #/bin/bash 2 if [ $# -lt 1 ];then 3 echo"You must input at least one parameter!" 4 exit 1 5 fi 6 7 if [ $1 == "q" ];then 8 echo "q
分类:系统相关   时间:2016-01-28 16:41:06    阅读次数:159
The process of container handles the servlet request
1. User clicks a link that has a URL of Servlet. Client Browse Servlet URL 2. Container (Apache Tomcat is one of the example) sees that the request is
分类:其他好文   时间:2016-01-28 10:46:21    阅读次数:128
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!