import sqlite3db = r"test.db"drp_tb_sql = "drop table if exists staff"crt_tb_sql = """create table if not exists staff( id integer primary key autoinc...
分类:
数据库 时间:
2014-11-14 22:25:49
阅读次数:
253
procedure TForm.ADetailDataControllerCollapsing( ADataController: TcxCustomDataController; ARecordIndex: Integer; var AAllow: Boolean);var I: Integ...
分类:
其他好文 时间:
2014-11-14 14:10:26
阅读次数:
324
获取Windows系统特殊性目录路径 ? ? ? ? ? ? ? uses?ShlObj ? 获取方法: function GetPath(FID: Integer): string; var ? pidl: PItemIDList; ? path: array[0..MAX_PATH] of Char; begin ? SHGetS...
Given two sorted integer arrays A and B, merge B into A as one sorted array.Note:You may assume that A has enough space (size that is greater or equal...
分类:
其他好文 时间:
2014-11-14 09:15:31
阅读次数:
143
The Bottom of a GraphTime Limit: 3000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:255364-bit integer IO format:%lld Java clas...
分类:
其他好文 时间:
2014-11-13 23:45:17
阅读次数:
286
Slim SpanTime Limit: 5000msMemory Limit: 65536KBThis problem will be judged onPKU. Original ID:352264-bit integer IO format:%lld Java class name:MainG...
分类:
其他好文 时间:
2014-11-13 22:15:06
阅读次数:
280
Given an unsorted integer array, find the first missing positive integer.For example,Given[1,2,0]return3,and[3,4,-1,1]return2.Your algorithm should ru...
分类:
其他好文 时间:
2014-11-13 22:11:38
阅读次数:
141
对于这一道题乍一看比较简单,但实际操作中要考虑到是否有溢出,因此操作的结果应存在一个long类型的变量中,然后检测该变量是否溢出,若溢出则为0; 1 package ReverseInteger; 2 3 import java.util.ArrayList; 4 import java.util....
分类:
其他好文 时间:
2014-11-13 22:09:15
阅读次数:
178