------
什么是异常:Python用异常对象(exception object)来表示异常情况.如果异常信息未被处理或捕捉。
程序就会用回潄来终止执行
>>> 1/0
Traceback (most recent call last): #Traceback: 一种错误信息
File "", line 1, in ?
ZeroDivisionError: integer division or modulo by zero
每个异常都是一些类的实例,这些实例可以被引发,并且可以用很...
分类:
编程语言 时间:
2014-09-24 22:54:38
阅读次数:
350
一、SQLite3简介 SQLite3是一款开源的嵌入式关系类型数据库, 可移植性好、易使用、内存开销小。 SQLite3是无类型的,意味着可以保持任何类型的数据到任意表任意字段。 SQLite3常用的5中数据类型: text/integer/float/boolean/blob。 二、添加库 在I...
分类:
数据库 时间:
2014-09-24 20:21:37
阅读次数:
255
第三十一题The following is a simple C program to read and print an integer. But it is not working properly. What is(are) the mistake(s)? #include int m...
分类:
其他好文 时间:
2014-09-24 00:25:25
阅读次数:
277
Gold TransportationTime Limit: 2000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:322864-bit integer IO format:%lld Java class ...
分类:
其他好文 时间:
2014-09-24 00:11:35
阅读次数:
292
二、去空格函数1、LTRIM() 把字符串头部的空格去掉。2、RTRIM() 把字符串尾部的空格去掉。三、取子串函数1、leftstr()LEFTstr (, )返回str 左起 integer_expression 个字符。2、RIGHTstr()RIGHTstr (, )返回str 右起 int...
分类:
其他好文 时间:
2014-09-23 23:22:14
阅读次数:
216
Fibonacci TreeTime Limit: 2000msMemory Limit: 32768KBThis problem will be judged onHDU. Original ID:478664-bit integer IO format:%I64d Java class name...
分类:
其他好文 时间:
2014-09-23 22:50:25
阅读次数:
252
FiringTime Limit: 5000msMemory Limit: 131072KBThis problem will be judged onPKU. Original ID:298764-bit integer IO format:%lld Java class name:MainYou...
分类:
其他好文 时间:
2014-09-23 22:49:15
阅读次数:
215
题目信息:
1005. Spell It Right (20)
时间限制
400 ms
内存限制
32000 kB
代码长度限制
16000 B
判题程序
Standard
作者
CHEN, Yue
Given a non-negative integer N, ...
分类:
其他好文 时间:
2014-09-23 19:20:05
阅读次数:
177
1.http://www.rqnoj.cn/problem/1program mingming;var a:array [1..1000] of integer; i,j,k,n:longint;begin fillchar(a,0,sizeof(a)); k:=0; read(n)...
分类:
其他好文 时间:
2014-09-23 17:31:54
阅读次数:
192
SparseArray-用Array的方式实现Integer-Object的map优:节约内存,因为避免了装箱/拆箱,数据结构不依赖Entry劣:速度不及HashMapdip、pxdip(device independent pixels)-设备独立像素,所有设备的数值都是 宽*高=320dip*4...
分类:
其他好文 时间:
2014-09-23 15:44:54
阅读次数:
146