码迷,mamicode.com
首页 >  
搜索关键字:up    ( 7825个结果)
leetCode(31):Combination Sum III
Find all possible combinations of k numbers that add up to a number n, given that only numbers from 1 to 9 can be used and each combination should be a unique set of numbers. Ensure that numbers wi...
分类:其他好文   时间:2015-07-07 11:07:18    阅读次数:94
ListView 条目加载上滑下滑首尾缩放动画实现
要实现这个效果,只需要再适配器getView之前,给每个条目的view设置相应的动画即可。首先需要2个动画的xml文件。在res下新建anim文件夹:(res/anim)第一个动画xml文件:up_from_bottom.xml down_from_top.xml 在listvi...
分类:其他好文   时间:2015-07-07 11:04:29    阅读次数:118
LeetCode107 Binary Tree Level Order Traversal II
题目: Given a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root). For example: Given binary tree {3,9,20,#,...
分类:其他好文   时间:2015-07-07 09:38:19    阅读次数:127
猴子向右看,FOJ上某题 单调栈
N (1 i (1 i  Each monkey is looking to his left toward those with higher index numbers. We say that monkey i "looks up" to monkey j if i ij. For each monkey i, we would like to know the index of th...
分类:其他好文   时间:2015-07-06 21:50:51    阅读次数:153
POJ 1564 Sum It Up(DFS)
Sum It UpTime Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionGiven a specified total t and a list of n integer...
分类:其他好文   时间:2015-07-06 21:39:52    阅读次数:136
Two Sum
Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two nu...
分类:其他好文   时间:2015-07-06 21:18:48    阅读次数:101
android 玩愤怒的小鸟等游戏的时候全屏TP失败
1.tp driver的tpd_down()和tpd_up()函数不需要进行报告id号码。自己主动顶级赛;2.tpd_up()功能只需要报告BTN_TOUCH和mt_sync信息,其他信息未报告,如下面:static void tpd_up(int x, int y,int *count){ in....
分类:移动开发   时间:2015-07-06 19:20:00    阅读次数:135
start_kernel——boot_cpu_init及PER_CPU
init/main.c/* * Activate the first processor. */static void __init boot_cpu_init(void) { int cpu = smp_processor_id(); /* Mark the boot cpu "present", "online" etc for SMP and UP case */...
分类:其他好文   时间:2015-07-06 16:12:41    阅读次数:323
Linux下如何查看系统启动时间和运行时间(转)
1.uptime命令输出:16:11:40 up 59 days, 4:21, 2 users, load average: 0.00, 0.01, 0.002.查看/proc/uptime文件计算系统启动时间cat /proc/uptime输出: 5113396.94 575949.85第一数字即...
分类:系统相关   时间:2015-07-06 13:46:08    阅读次数:168
LeetCode112 PathSum Java题解
题目: Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum. For example: Given the below binary tree...
分类:编程语言   时间:2015-07-06 12:18:44    阅读次数:94
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!