题目: You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stoppin ...
分类:
其他好文 时间:
2016-04-20 21:52:34
阅读次数:
124
转载:C++ (非MFC) 下的鼠标事件响应函数接口是什么? ...
分类:
其他好文 时间:
2016-04-20 21:50:16
阅读次数:
113
一个神奇的算法,在题目中看到的,单独拿出来整理枚举一个集合S(用一个二进制表示)的所有子集S0:for(int S0 = S; S0; S0 = (S0-1)&S){} ...
分类:
其他好文 时间:
2016-04-20 21:52:00
阅读次数:
490
FJNU 1152 Fat Brother And Integer(胖哥与整数) Time Limit: 1000MS Memory Limit: 257792K 【Description】 【题目描述】 Fat brother recently studied number theory, him ...
分类:
其他好文 时间:
2016-04-20 21:50:18
阅读次数:
128
本文转自:http://www.cnwyw.net/index.php/acrylic-dns-proxy-ping-bi-guang-gao/ 从开始菜单进行“Edit Configuration File”设置,将其中的“PrimaryServerAddress”和“SecondaryServe ...
分类:
其他好文 时间:
2016-04-20 21:48:51
阅读次数:
353
我昨天做了什么:做了项目的主界面 今天做了什么:做了项目记账的页面 遇到什么问题:不知道ListVi控件的属性,对两个界面之间的跳转实现不好 ...
分类:
其他好文 时间:
2016-04-20 21:49:10
阅读次数:
108
题目:Given a sorted linked list, delete all duplicates such that each element appear only once. For example, Given 1->1->2, return 1->2. Given 1->1->2-> ...
分类:
其他好文 时间:
2016-04-20 21:50:32
阅读次数:
106
【1】利益相关者 1.学生 学生通过这个系统查询成绩 2.教师 老师通过这个系统录入成绩 3.后台维护人员 处理系统的突发状况 【2】竞争需求分析 【3】功能分析 外围功能 杀手功能 ...
分类:
其他好文 时间:
2016-04-20 21:48:15
阅读次数:
123
There is a bag-like data structure, supporting two operations: Throw an element x into the bag. Take out an element from the bag. Given a sequence of ...
分类:
其他好文 时间:
2016-04-20 21:47:46
阅读次数:
121
举个例子 [length=1548]这个正则 就是匹配 length的值了(1548)(?<=exp)匹配之后的(?=exp)匹配表达式之前的^是边界,在行首例如 aa[length=1548] 就匹配不到了 [length]必须在行首\d+ 是一个以上的数字 那我觉得^\[length=\d+\] ...
分类:
其他好文 时间:
2016-04-20 21:48:55
阅读次数:
145
#include using namespace std; typedef enum { LINK, THREAD }PointerTag; template struct BinaryTreeNodeThd { T _data; BinaryTreeNodeThd* _left; BinaryTr ...
分类:
其他好文 时间:
2016-04-20 21:47:42
阅读次数:
179
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5667 费马小定理: 假如p是质数,且gcd(a,p)=1,那么 a^(p-1)≡1(mod p)。 即:假如a是整数,p是质数,且a,p互质(即两者只有一个公约数1),那么a的(p-1)次方除以p的余数 ...
分类:
其他好文 时间:
2016-04-20 21:46:32
阅读次数:
225
测试硬件: 华为畅享5 测试平台: 安卓5.1 测试项目Git地址: https://github.com/RABITBABY/We-have-bing 测试Apk来源地址: http://www.ard9.com/bgxx/2639088.html 测试结果: 不兼容,闪退。无法运行。 程序截图: ...
分类:
其他好文 时间:
2016-04-20 21:45:53
阅读次数:
180
关于JVM 的垃圾回收机制,我们一般都没过多深入,因为JAVA 和 C++ 的一个很大区别就是,JAVA 帮我们做了垃圾回收,而不用像C++ 那么样手动进行回收,当然任何自动的东西都存在一定弊端,比如机器人,即使自动程度很高,但是在处理某些感情问题上,肯定处理上就会有遗漏,开个玩笑啦, 下面我们先来 ...
分类:
其他好文 时间:
2016-04-20 21:47:05
阅读次数:
134
多语言就是程序的国际化。在Xcode中要实现程序的国际化,只需要简单配置,并修改相应的字符串键值对即可。 应用程序的国际化主要包括三个方面:A、程序名称国际化;B、程序内容国际化;C、程序资源国际化 1,Xcode新建项目后,info选项卡中找到Localization的项目,可以添加应用程序需要支 ...
分类:
其他好文 时间:
2016-04-20 21:45:45
阅读次数:
134
简介补间动画的原理:每次绘制视图时View所在的【ViewGroup】中的drawChild函数获取该View的Animation的值,然后调用canvas.concat (transformToApply.getMatrix()),通过【矩阵运算】完成动画帧,如果动画没有完成,继续调用【inval... ...
分类:
其他好文 时间:
2016-04-20 21:45:37
阅读次数:
233
Given a sorted linked list, delete all duplicates such that each element appear only once. For example,Given 1->1->2, return 1->2.Given 1->1->2->3->3, ...
分类:
其他好文 时间:
2016-04-20 21:46:10
阅读次数:
158