码迷,mamicode.com
首页 >  
搜索关键字:single    ( 5020个结果
ios代理模式-(ViewControler之间传值)
1,新建Single View Application工程,新建SecondViewController2,在SecondViewController中设置代理 #import @protocol secondViewControllerDelegate - (NSString *)value;@....
分类:移动开发   时间:2015-05-27 18:50:59    阅读次数:139
《单页面应用》所获知识点
对象字面量: 指的是用大括号括起来的一组以逗号分隔的属性所定义的对象,属性用冒号设置值,而不是等号。对象字面量也可以包括数组,他是用方括号括起来的一组以逗号分隔的成员。var spa = { title:'Single page application'; author:['mike','jo...
分类:其他好文   时间:2015-05-26 21:06:27    阅读次数:116
MAC 苹果电脑开机密码忘了怎么办
开机启动时按“command+S”。这时进入单一用户模式(Single user model)。Mac OS的单一用户模式有准入特权(Root access privilege)而不要求根密码(root password)。出现像DOS一样的提示符 #root>。在#root>下逐步输入以下命令,注意空格区分大小写 第一步:执行硬盘检测(只读), 这一步可以省略 /sbin/fsck -y ...
分类:移动开发   时间:2015-05-26 16:17:06    阅读次数:162
[LeetCode][JavaScript]Regular Expression Matching
Regular Expression MatchingImplement regular expression matchingwith support for'.'and'*'.'.' Matches any single character.'*' Matches zero or more of...
分类:编程语言   时间:2015-05-25 14:25:56    阅读次数:734
leetcode刷题: 002 Add Two Numbers
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:其他好文   时间:2015-05-25 14:20:09    阅读次数:97
Code Review最佳实践
Code Review最佳实践 * [单一职责原则:](http://en.wikipedia.org/wiki/Single_responsibility_principle)一个类有且只能一个职责。我通常使用这个原则去衡量,如果我们必须使用“和”来描述一个方法做的事情,这可能在抽象层上出了问题。 * [开闭原则](http://en.wikipedia.org/wiki/Open/closed_princip...
分类:其他好文   时间:2015-05-24 14:16:08    阅读次数:176
只允许运行一个进程
// Copyright (c) // All rights reserved.////Describe : Only can run single program.//Author : Qing//Date : 2014-08-14#ifndef __SINGLE_PROGRAM_H_...
分类:系统相关   时间:2015-05-24 10:06:25    阅读次数:197
LeetCode: Single Number I && II
I title:Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime co...
分类:其他好文   时间:2015-05-23 20:03:35    阅读次数:162
hdu1212 Big Number &第六届山东省赛Single Round Math (同余定理,大数取模)
题目链接:Big Number   题目大意:每次输入两个数,第一个是高精度,第二个数小于100000;求 a mod b 根据同余定理: (a+b)% c = (a%c+ b%c)%c (a*b)%c =  ( a%c* b%c)%c 所以 对于大数,例如 :123 可以这样分解 123 =  (1*10+2)*10 + 3;  123 % c =   (  (...
分类:其他好文   时间:2015-05-23 14:16:41    阅读次数:138
求第N数大问题
问题:InputThe first line of input contains a single integer P, (1 ≤ P ≤ 1000), which is the number of data sets that follow. Each data set consists of a...
分类:其他好文   时间:2015-05-23 11:28:17    阅读次数:171
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!