引用 以上摘自《Java Language Specification Second Edition》CHAPTER 4 ...
分类:
编程语言 时间:
2016-08-12 13:28:06
阅读次数:
177
第3课 模块 1、模块(module) Python中一个.py文件就是一个模块,可以调用其它文件中的程序。 例:first.py second.py 2、搜索路径 Python会按照如下顺序搜索它需要的模块 1)程序所在文件夹;2)Pythonpath中包括的路径;3)标准库安装路径 3、模块包 ...
分类:
编程语言 时间:
2016-08-11 19:20:11
阅读次数:
160
1.int a; (&a) can be used just like a pointer, with no doubt. 2.int a; cout<<(&a)<<endl; Programme Run first,output: 0028FDF0; Programme Run Second,ou ...
分类:
其他好文 时间:
2016-08-10 12:41:14
阅读次数:
152
35. In python, file operation syntax is similar to c. open(file,'r',……) //the first parameters is necessary, other is optional ,the second parameters ...
分类:
编程语言 时间:
2016-08-09 23:22:08
阅读次数:
278
1370 - Bi-shoe and Phi-shoe PDF (English) Statistics Time Limit: 2 second(s) Memory Limit: 32 MB Bamboo Pole-vault is a massively popular sport in Xzh ...
分类:
其他好文 时间:
2016-08-08 14:05:33
阅读次数:
137
CF简介
题目链接:705A
题面:
A. Hulk
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
Dr. Bruce Banner hates his e...
分类:
编程语言 时间:
2016-08-08 11:06:30
阅读次数:
520
Partition an integers array into odd number first and even number second. 剑指offer的一道题,把所有奇数移动到偶数前面,其实是partition的双端解法,利用双指针。先检测两边合格的元素,都不合格,则交换,继续。 需要注 ...
分类:
其他好文 时间:
2016-08-07 12:33:24
阅读次数:
167
There are n bulbs that are initially off. You first turn on all the bulbs. Then, you turn off every second bulb. On the third round, you toggle every ...
分类:
其他好文 时间:
2016-08-06 23:19:21
阅读次数:
162
在学习ab工具之前,我们需了解几个关于压力测试的概念 吞吐率(Requests per second)概念:服务器并发处理能力的量化描述,单位是reqs/s,指的是某个并发用户数下单位时间内处理的请求数。某个并发用户数下单位时间内能处理的最大请求数,称之为最大吞吐率。计算公式:总请求数 / 处理完成 ...
分类:
其他好文 时间:
2016-08-05 13:56:47
阅读次数:
183
/** * 启动,秒杀倒计时 * totalSecond:剩余秒数 * showTime(tm):回调函数,其中tm={day:"",hour:"",min:"",second:""} */function timer(totalSecond,showTime) { var secSkillTime ...
分类:
Web程序 时间:
2016-08-04 13:19:22
阅读次数:
152