【推送唤醒(Remote Notifications)】
在iOS6和之前,推送的类型是很单一的,无非就是显示标题内容,指定声音等。用户通过解锁进入你的应用后,appDelegate中通过推送打开应用的回调将被调用,然后你再获取数据,进行显示。这和没有后台获取时的打开应用后再获取数据刷新的问题是一....
分类:
移动开发 时间:
2014-05-23 06:17:45
阅读次数:
265
擅长排列的小明
II描述小明十分聪明,而且十分擅长排列计算。有一天小明心血来潮想考考你,他给了你一个正整数n,序列1,2,3,4,5......n满足以下情况的排列:1、第一个数必须是12、相邻两个数之差不大于2你的任务是给出排列的种数。输入多组数据。每组数据中输入一个正整数n(n#include#...
分类:
其他好文 时间:
2014-05-23 03:01:21
阅读次数:
326
Unity3D点选Object+F Object在当前视角居中CTRL+1/2
Scene/Game视图的切换MonoDevelopCTRL+K 删除光标所在行的该行后面的代码CTRL + ALT +C 注释/不注释该行CTRL+ DOWN
像鼠标滚轮一样向下拖CTRL + UP 像鼠标滚轮一样向上...
分类:
其他好文 时间:
2014-05-23 02:39:51
阅读次数:
237
【题目】
Given a collection of numbers that might contain duplicates, return all possible unique permutations.
For example,
[1,1,2] have the following unique permutations:
[1,1,2], [1,2,1], and [2,1,1].
【题意】
给定一个候选数集合,候选集中可能存在重复数,返回所有的排列
【思路】
...
分类:
其他好文 时间:
2014-05-22 17:32:17
阅读次数:
247
昨晚把BaseScreen就敲好了, 也找到了屏幕放缩的最优和最简方式. 不多说, 看代码:
public BaseScreen(final SnakeGo game) { super(new ScalingViewport(Scaling.fit,
CommonConsts.Screen.WIDT...
分类:
其他好文 时间:
2014-05-22 14:52:32
阅读次数:
206
一、IBIS模型的获取a)直接找芯片供应商b) 从网上下载
i.到Google网站直接搜索某个型号的IBIS模型;ii.到器件厂商的官方网站下载;iii.从专门提供IBIS模型的网站搜索下载。c)仿真器件的SPICE
模型或直接测量二、IBIS模型的转化过程将模型的IBIS格式转化为DML格式,可以...
分类:
其他好文 时间:
2014-05-21 20:41:12
阅读次数:
283
【题目】
Given a collection of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T.
Each number in C may only be used once in the combination.
Note:
All numbers (including target) will be ...
分类:
其他好文 时间:
2014-05-21 15:55:25
阅读次数:
259
Tautology
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 9078
Accepted: 3477
Description
WFF 'N PROOF is a logic game played with dice. Each die has six...
分类:
其他好文 时间:
2014-05-21 13:53:44
阅读次数:
259
POJ【数论/组合/博弈论】题目列表
POJ【数论/组合/博弈论】题目列表
原来的列表比较水,今天换了一个难一些的列表,重新开始做~
红色的代表已经AC过,蓝色的代表做了但是还没过。这句话貌似在我空间里的每份列表里都有额。
博弈论
POJ 2234 Matches Game
POJ 2975 Nim
POJ 2505 A multiplication game
POJ...
分类:
其他好文 时间:
2014-05-21 11:09:40
阅读次数:
346
Reverse a linked list from position m to n. Do it in-place and in one-pass.
For example:
Given 1->2->3->4->5->NULL, m = 2 and n =
4,
return 1->4->3->2->5->NULL.
Note:
Given m, n satisfy the fol...
分类:
其他好文 时间:
2014-05-21 07:18:02
阅读次数:
301