The gray code is a binary numeral system where two successive values differ in only one bit.
Given a non-negative integer n representing the total number of bits in the code, print the sequence of gr...
分类:
其他好文 时间:
2014-05-07 06:10:17
阅读次数:
370
travel the binary tree by level 5 ( from down to top and from left to right every level )
个人信息:就读于燕大本科软件工程专业 目前大三;
本人博客:google搜索“cqs_2012”即可;
个人爱好:酷爱数据结构和算法,希望将来从事算法工作为人民作出自己的贡献;
博客内容:tr...
分类:
其他好文 时间:
2014-05-07 05:40:19
阅读次数:
401
昨晚Debug了好久始终找不出哪里错了,今早再一看发现自己已荣升逗比Beta 2.0 Version.
个人感觉此题为HDU 4003 的弱化版。
把每棵子树都看成一类商品,在每类商品中至多选一件。则问题转化为最基本的分组背包问题。
dp[s][c][k] c == 1时,表示在s结点不返回时走K的最大收益,c == 0时,表示在s结点重新返回时走k步的最大收益。
可以dfs从底到顶更新d...
分类:
移动开发 时间:
2014-05-07 04:52:22
阅读次数:
500
上次发布一淘HD应用,头一天发布,第二天就上线,私下还在想,是不是苹果采用什么优化的解决方案了,导致审核速度加快了。这两天发布新版,一直碰到Invaild Binary问题,才想明白,原来大家都被这个问题绊住了,导致上传的应用少,所以审核速度变快了。一开始碰到Invaild Binary,网上搜索了下,看到一些资料说Icon问题,可能会导致Invaild Binary,碰巧这次发布修改了Icon问...
分类:
移动开发 时间:
2014-05-07 04:21:15
阅读次数:
508
需要安装的软件
1、java jre
2、java JDK EE版本
3、UltraEdit
网站:http://www.oracle.com/technetwork/java/javase/downloads/index.html
本人安装java目录为C:\Java\jdk1.8.0_05\bin。
javac----编译器
java----字节码解释器
jar---jar包压...
分类:
编程语言 时间:
2014-05-07 03:41:06
阅读次数:
458
题目
Given a binary tree, return the preorder traversal of its nodes' values.
For example:
Given binary tree {1,#,2,3},
1
2
/
3
return [1,2,3].
Note: Recursiv...
分类:
其他好文 时间:
2014-05-07 03:30:19
阅读次数:
254
转载自:http://blog.csdn.net/showhilllee/article/details/19541493
提交完成后进入加急审核页面。
链接:https://developer.apple.com/appstore/contact/appreviewteam/index.html
在i would like to里选择加急审核...
分类:
移动开发 时间:
2014-05-06 22:50:03
阅读次数:
500
1、
??
Candy
There are N children standing in a line. Each child is assigned a rating value.
You are giving candies to these children subjected to the following requirements:
Each child must h...
分类:
其他好文 时间:
2014-05-06 22:41:02
阅读次数:
427
自己需要就做了一个app
放到了各大市场,给有需要的人
360:http://zhushou.360.cn/detail/index/soft_id/1716634...
分类:
移动开发 时间:
2014-05-06 18:37:20
阅读次数:
326
CodeIgniter(以下简称"CI")是一款国外优秀的PHP轻量级MVC框架,它支持PHP4和PHP5,是开发中小型可拓展性需求高的Web应用程序的利器。目前你所见到的这个博客程序,正是采用CI进行的编写。
秉承MVC架构的思想,CI中的所有控制器都需要经过单点入口文件index.php(默认)来加载调用。也就是说,在默认情况下,所有CI开发项目的URL都形如以下这种形式:
htt...
分类:
数据库 时间:
2014-05-06 15:21:57
阅读次数:
744