码迷,mamicode.com
首页 >  
搜索关键字:actionbar up    ( 8653个结果
图片服务器和WEB应用服务器相分离的简单方案
只是简单说明一下原理,其它的自己探索吧:)一、两个域名:www.domain.com和img.domain.com二、在www域名的服务器中上传文件:up.html save.phpif(@$_GET['action']=="ok"){ $picname="upfile/".rand...
分类:Web程序   时间:2014-07-19 17:19:36    阅读次数:237
【leetcode刷题笔记】Path Sum
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.Fo...
分类:其他好文   时间:2014-07-18 18:28:44    阅读次数:231
poj2828 Buy ticket
DescriptionRailway tickets were difficult to buy around the Lunar New Year in China, so we must get up early and join a long queue…The Lunar New Year ...
分类:其他好文   时间:2014-07-18 18:17:12    阅读次数:280
1602实现移屏功能
这个题目主要是设置显示开/光及光标设置 这个地方与上一个题目没有多大的区别。 #include #define uchar unsigned char #define uint unsigned int uchar code table[]="GOOD GOOD STUDY!"; uchar code table1[]="DAY DAY UP ^_^!"; sbit lcden=P3...
分类:其他好文   时间:2014-07-18 18:11:09    阅读次数:245
android4.4之触摸点属性(down、move、up)
通常应用程序在处理触摸事件时一般会用到motionevent.getAction()来判断上报的触摸点是ACTION_DOWN、ACTION_MOVE或ACTION_UP,然后做出移动、缩放等处理逻辑。每一个触摸点属性是在哪里定义的呢?是驱动上报就标记了每个点的触摸属性吗? 直接给结论:对于触摸点的属性,在InputReader中的dispatchTouches()函数中定义,而不是驱动给的。 ...
分类:移动开发   时间:2014-07-18 18:08:59    阅读次数:320
金额大小写转换和input失去焦点触发事件
无标题文档 转为大写//onblur="lw.value = chineseNumber(up.value)"说明鼠标移开焦点出发事件转为小写
分类:其他好文   时间:2014-07-18 14:33:52    阅读次数:316
CodeForces114E——Double Happiness(素数二次筛选)
Double HappinessOn the math lesson a teacher asked each pupil to come up with his own lucky numbers. As a fan of number theory Peter chose prime numbe...
分类:移动开发   时间:2014-07-18 00:12:12    阅读次数:616
[leetcode]Set Matrix Zeroes
Set Matrix ZeroesGiven amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.Follow up:Did you use extra space?A straight...
分类:其他好文   时间:2014-07-17 23:34:02    阅读次数:486
【leetcode刷题笔记】Remove Duplicates from Sorted Array II
Follow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =[1,1,1,2,2,3],Your function should ret...
分类:其他好文   时间:2014-07-17 22:24:40    阅读次数:216
codeforces248(div1) B Nanami's Digital Board
q次询问,每次询问可以对矩阵某一个值改变(0变1,1变0) 或者是查询子矩阵的最大面积,要求这个这个点在所求子矩阵的边界上,且子矩阵各店中全为1 用up[i][j]表示(i,j)这个点向上能走到的最长高度  若(i,j)为0 则up[i][j]值为0 同理,维护down,left, right数组 则每次查询时,从up[i][j]枚举至1作为子矩阵的高度,然后途中分别向左右扩展。若up[i]...
分类:其他好文   时间:2014-07-17 20:35:30    阅读次数:320
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!