leetcode 202 Happy Number Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any positive integer
伸展树总结 最近做的一些Splay题及思路BZOJ 1588就是求一个数的前驱和后继,用Splay很简单POJ 3468很经典的线段树题目,用Splay做练习懒惰标记HDU 1890涉及区间翻转,注...
IT知识收藏.2015年1月、2月 ――个人收藏的近两个月的最新网文,经过整理IT类知识网址100个左右,今天共享一下希望大家喜欢……按来源分组程序员杂志你为什么不是史蒂夫・乔布斯 http://ww...
IOS--UILabel 用法详解 //创建uilabelUILabel*label1 = [[UILabelalloc]initWithFrame:CGRectMake(20,40,280,80)];//设置背景色label1.backgroundColor= [UIColorgrayColor];//设置t...
软件测试-理论常识篇 最近一直在学习测试方面的知识,也浏览了许多博客,通过这些博客也了解到了许多未曾接触过的关于测试方面的理论和原则以及一些常识性的东西,比如测试的不完全性...
《Effective C++》:条款36-条款37 条款36绝不重新定义继承而来的non-virtual函数条款37绝不要重新定义继承而来的缺省参数值
[LeetCode] Bitwise AND of Numbers Range Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of all numbers in this range, inclusive.For...
搭建内部openwrt Git仓库 一、下载官网源码win@server:~/project/pmt7620$mkdir openwrt-1407win@server:~/project/pmt7620/openwrt-1407$git clone git://git.openwrt.org/14.07/open...
超级采样 Supersampling 超级采样是一个spatial 抗锯齿的一种方法,用于消除走样(锯齿和像素化的边缘)从电脑游戏上的渲染的图片或者其他的电脑程序中产生。不像现实中的物体有连续光...
Android Webview实现图片、文件上传及启动相机功能 直接上代码,体会Webview强大的功能。webView.setWebChromeClient(webChromeClient);private String mCameraFilePath = null;private ValueCallback<Uri&...