Tonight I deployed a new cloud service where I needed remote desktop to check on some things. After opening the connection via the Azure Management Po...
分类:
其他好文 时间:
2015-11-08 14:25:29
阅读次数:
637
QuestionGiven an arraynumscontainingn+ 1 integers where each integer is between 1 andn(inclusive), prove that at least one duplicate number must exist...
分类:
其他好文 时间:
2015-11-08 14:18:36
阅读次数:
239
日期查询:mysql> select * from member where birthday > '1962-01-01';mysql> select * from member order by lastname desc,birthday asc;+----+----------+------...
分类:
数据库 时间:
2015-11-08 14:01:05
阅读次数:
293
#include?<windows.h>
LRESULT?CALLBACK?WndProc(HWND,?UINT,?WPARAM,?LPARAM);
HINSTANCE?hInst;
/*?The?‘main‘?function?of?Win32?GUI?programs:?this?is?where?execution?starts?*/
in...
分类:
其他好文 时间:
2015-11-08 12:47:13
阅读次数:
234
QuestionA group of two or more people wants to meet and minimize the total travel distance. You are given a 2D grid of values 0 or 1, where each 1 mar...
分类:
其他好文 时间:
2015-11-07 15:56:15
阅读次数:
248
//: Playground - noun: a place where people can playimport UIKit/*:字符串* OC中的字符串是一个对象, Swift中的字符串是一个结构体* OC中的字符串以\0结尾, Swift中的字符串不是以\0结尾* Swift中的字符串比OC...
分类:
编程语言 时间:
2015-11-06 20:59:30
阅读次数:
293
//: Playground - noun: a place where people can playimport UIKit/*:for循环* 基本用法和OC一致* 条件表达式必须是bool类型的值* 条件表达式的()可以省略* 在OC中如果{}中只有一条语句, 那么{}可以省略, 而Swift...
分类:
编程语言 时间:
2015-11-06 20:52:02
阅读次数:
252
//: Playground - noun: a place where people can playimport UIKit/*:函数* 格式func 函数名称(形参名称1: 形参类型, ...) -> 返回值类型{ // 逻辑代码}* 没有参数没有返回值* 没有参数有返回值* 有参数没有返回....
分类:
编程语言 时间:
2015-11-06 20:49:38
阅读次数:
216
//: Playground - noun: a place where people can playimport UIKit/*:字典* 和OC的区别* 1. {} 替换为 []* 2. 去掉所有@* 可变字典 var* 不可变字典 let*/var dict = ["name": "lnj"....
分类:
编程语言 时间:
2015-11-06 20:47:44
阅读次数:
266
索引类型:主键索引,唯一索引,联合索引,普通索引,全文索引1. 一个列上建立索引后,如果是以like查询,百分号在左边则利用不上索引。好比 select a from t where bb like '%hehe';这种情况,bb有索引也用不上。。2. 如果利用or关键字的话,左右两边有一个字段没索...
分类:
数据库 时间:
2015-11-06 19:25:38
阅读次数:
247