The first place of 2^nProblem DescriptionLMY and YY are mathematics and number theory lovers. They like to find and solve interesting mathematic probl...
分类:
其他好文 时间:
2015-02-06 13:03:01
阅读次数:
188
10.6 - Apple and our customers place a high value on simple, refined, creative, well thought through interfaces. They
take more work but are worth it. Apple sets a high bar. If your user interface i...
分类:
其他好文 时间:
2015-02-05 11:17:58
阅读次数:
152
1 // Playground - noun: a place where people can play 2 3 import UIKit 4 5 6 //使用关键字class和struct来分别表示类和结构体 7 8 struct SomeStruct { 9 ...
分类:
编程语言 时间:
2015-02-05 00:44:23
阅读次数:
241
// Playground - noun: a place where people can playimport UIKit//=================================================================//函数//// func 函数名...
分类:
编程语言 时间:
2015-02-05 00:36:13
阅读次数:
235
1 // Playground - noun: a place where people can play 2 3 import UIKit 4 5 var str = "Hello, World!" 6 7 //1 定义变量常量/常量 8 // define const ...
分类:
编程语言 时间:
2015-02-05 00:34:52
阅读次数:
282
index.jsp ----------------------------- Place your content here here is index jsp get header info a.jsp ------------------------------ a.jsp页面...
分类:
Web程序 时间:
2015-02-04 10:55:18
阅读次数:
119
https://oj.leetcode.com/problems/remove-duplicates-from-sorted-array/Given a sorted array, remove the duplicates in place such that each element appea...
分类:
其他好文 时间:
2015-02-03 22:34:48
阅读次数:
208
Given a m x n matrix,
if an element is 0, set its entire row and column to 0. Do it in place.
解题思路:题目很简单,可就是没想到有什么高效的方法.我遍历了两遍vector,显得有点复杂.
#include
#include
using namespace std;
void setZeroes(v...
分类:
其他好文 时间:
2015-02-03 21:26:02
阅读次数:
168
今天用CDHtmlDialog创建了一个简单的浏览器程序,遇到了一个问题,记录一下。
问题描述:当超链接的打开方式为_blank的时候,会弹出一个服务器忙的对话框,如图:
网页内容
百度
TODO: Place controls here.
确定 取消
点击百度链接,出现以下对话框:
如果网页代码中的a标签的打开方式不是_blank则能正常进行...
分类:
Web程序 时间:
2015-02-03 19:36:22
阅读次数:
198
创建一个playGround,然后看一下代码,跟着打,别复制粘贴。 1 // Playground - noun: a place where people can play 2 3 import UIKit 4 5 // HelloWorld 6 var str = "Hello,...
分类:
编程语言 时间:
2015-02-03 14:49:53
阅读次数:
191