My kid's school cleared a large field on their property recently to convert it into a playing area. The field is polygonal. The school administration ...
分类:
其他好文 时间:
2014-08-20 10:25:06
阅读次数:
211
1、求阶乘 Console.WriteLine("输入一个数"); int n = Convert.ToInt32(Console.ReadLine()); int s = 1; for (int i = 1; i <= n; i++) { s = s * i; } Console.WriteLin...
分类:
其他好文 时间:
2014-08-19 18:11:35
阅读次数:
189
一、类型转换 1、自动转换(隐式转换) 2、强制转换(显示转换) 1)、用()。()内是转换后的数据类型,只能转换同一大类 例:float a; double b=3.14; a=(float)b; 2)、用convert。 例:float a; ...
分类:
其他好文 时间:
2014-08-19 16:26:54
阅读次数:
221
语句 顺序语句 分支语句 循环语句 1、初始条件 2、循环条件 3、循环体 4、状态改变 for(初始条件;循环条件;状态改变) { 循环体; } 穷举法 迭代法1、 Console.Write("请输入个数:"); int n = Convert.To...
分类:
其他好文 时间:
2014-08-19 16:23:14
阅读次数:
213
mb_convert_encoding("人人", "UTF-8", "HTML-ENTITIES");
分类:
Web程序 时间:
2014-08-19 14:13:44
阅读次数:
177
列表转化成数组,ArrayList convert to Array
分类:
其他好文 时间:
2014-08-18 21:42:32
阅读次数:
209
Edit Distance
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)
You have the following 3 operati...
分类:
其他好文 时间:
2014-08-18 20:35:02
阅读次数:
206
DateTime dateTimeMin = Convert.ToDateTime("2014-01-01"); DateTime dateTimeMax = Convert.ToDateTime(System.DateTime.Now ); TimeSpan ts = new...
分类:
其他好文 时间:
2014-08-18 20:09:52
阅读次数:
245
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.)...
分类:
其他好文 时间:
2014-08-18 16:21:57
阅读次数:
148
导出的格式形如:use ppdai_vd;goSELECT 'ppdai_vd' AS 数据库名, a.name as '表名' , isnull(e.value,'') as '表注释', CONVERT(VARCHAR(19), a.create_date ,23) AS '...
分类:
数据库 时间:
2014-08-18 14:15:42
阅读次数:
222