2013年12月15日

mysql数据库导出导入

摘要: MYSQL的命令行模式设置:我的电脑->属性->高级系统设置->环境变量->系统变量->选择Path,在后面添加“;path\mysql\bin;”其中path为MYSQL的安装路径。然后cmd进入MYSQL的方法:mysql -h hostname -u username -p按ENTER键,等待... 阅读全文

posted @ 2013-12-15 20:15 jec 阅读(265) 评论(0) 推荐(0) 编辑

2013年12月14日

C#DateTimeFormatInfo类

摘要: CultureInfo类格式列表DateTimeFormatInfo类格式列表 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 DateTime dt = DateTime.Now; 6 DateTimeFormatInfo dfi = new DateTimeFormatInfo(); 7 CultureInfo ci = new CultureInfo("nl-BE"); 8 9 /... 阅读全文

posted @ 2013-12-14 00:49 jec 阅读(3375) 评论(0) 推荐(0) 编辑

2013年12月13日

C#NumberFormatInfo类

摘要: 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 //retrieve current culture info by cloning it so that 6 //we can manipulate its NumberFormat member 7 CultureInfo ci = Thread.CurrentThread.CurrentCulture.Clone() as CultureInfo; 8 ... 阅读全文

posted @ 2013-12-13 23:41 jec 阅读(827) 评论(0) 推荐(0) 编辑

2013年12月3日

有向图连通分量SCC

摘要: 在无向图中,如果从顶点vi到顶点vj有路径,则称vi和vj连通。如果图中任意两个顶点之间都连通,则称该图为连通图,否则,称该图为非连通图,则其中的极大连通子图称为连通分量,这里所谓的极大是指子图中包含的顶点个数极大。直观地说,极大就是不能再大,或者说再大也不能超过自己。因此,极大连通子图就是: 设... 阅读全文

posted @ 2013-12-03 23:51 jec 阅读(750) 评论(0) 推荐(0) 编辑

asp.net:Parser Error & HTTP 错误 500.21 - Internal Server Error

摘要: 解决方法:出现以上这样的问题,是由于你发布的应用程序,没有放在建立虚拟目录的根目录,比如你建立的虚拟目录为 folderRoot 而你把你要发布的应用程序放在 forderRoot 下的 forder 文件夹中就会出现以上问题,有两种办法可以解决此问题: 1. 将发布的应用程序直接放在虚拟目录。 2. 将要发布的应用程序中的 bin 文件夹剪切出来,放置到上一级目录就可以解决此问题。HTTP 错误 500.21 - Internal Server Error处理程序“PageHandlerFactory-Integrated”在其模块列表中有一个错误模块“Man... 阅读全文

posted @ 2013-12-03 23:07 jec 阅读(397) 评论(0) 推荐(0) 编辑

2013年12月2日

poj2481

摘要: CowsTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 10785Accepted: 3572DescriptionFarmer John's cows have discovered that the clover growing along the ridge of the hill (which we can think of as a one-dimensional number line) in his field is particularly good. Farmer John has N cows (we 阅读全文

posted @ 2013-12-02 22:53 jec 阅读(216) 评论(0) 推荐(0) 编辑

Codeforces Beta Round #19D(Points)线段树

摘要: D. Pointstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPete and Bob invented a new interesting game. Bob takes a sheet of paper and locates a Cartesian coordinate system on it as follows: point (0, 0) is located in the bottom-left corner, Ox ax 阅读全文

posted @ 2013-12-02 13:13 jec 阅读(371) 评论(0) 推荐(0) 编辑

2013年12月1日

hdu4428(Coder)线段树

摘要: CoderTime Limit: 20000/10000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2547Accepted Submission(s): 1013Problem Description In mathematics and computer science, an algorithm describes a set of procedures or instructions that define a procedure. The term has become. 阅读全文

posted @ 2013-12-01 14:05 jec 阅读(207) 评论(0) 推荐(0) 编辑

2013年11月30日

poj2886

摘要: Who Gets the Most Candies?Time Limit: 5000MSMemory Limit: 131072KTotal Submissions: 8527Accepted: 2581Case Time Limit: 2000MSDescriptionN children are sitting in a circle to play a game.The children are numbered from 1 to N in clockwise order. Each of them has a card with a non-zero integer on it in 阅读全文

posted @ 2013-11-30 13:51 jec 阅读(361) 评论(0) 推荐(0) 编辑

关系

摘要: 1.1序偶及有序n元组 有两个元素x和y按一定得次序排列组成的有序序列称为序偶或有序对,记作(与集合{x,y}不同);1.2笛卡尔积 设A和B为集合,称集合{|a属于AΛb属于B}为A和B的笛卡尔积,记作AxB。当A=B时,记为A2。 Ax(BυC)=(AxB)υ(AxC) Ax(B∩C)=(AxB)∩(AxC)2.1关系 任一序偶的集合确定了一个二元关系R,R中的任一序偶可记作属于R或aRb。不在R中的任一序偶可记作不属于R或aR非b。若aRb,我们说a和 b具有关系R 令R为二元关系,DR={x|至少存在一个y使得(xRy)}为定义域,RR={y|至少存在一个x使得(xRy)... 阅读全文

posted @ 2013-11-30 13:35 jec 阅读(612) 评论(0) 推荐(0) 编辑

导航