BroadcastReceiver 用于接收程序(包括yon)...
分类:
其他好文 时间:
2014-06-18 11:55:01
阅读次数:
188
题目
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 numbers such that they add up to the...
分类:
其他好文 时间:
2014-06-18 12:05:44
阅读次数:
244
介绍了uboot中增加一个解压缩命令的方法,中间加入开启debug打印的方法,最后介绍如何在uboot中将解压缩编译连接进去。...
分类:
其他好文 时间:
2014-06-17 23:14:07
阅读次数:
525
maven 是一个项目管理和构建自动化工具,本文主要讲apache-maven-3.2.1的安装。...
分类:
其他好文 时间:
2014-06-18 12:36:15
阅读次数:
217
Problem Description
FatMouse prepared M pounds of cat food, ready to trade with the cats guarding the warehouse containing his favorite food, JavaBean.
The warehouse has N rooms. The i-th room con...
分类:
其他好文 时间:
2014-06-17 22:47:38
阅读次数:
300
http://poj.org/problem?id=3128
大致题意:输入一串含26个大写字母的字符串,可以把它看做一个置换,判断这个置换是否是某个置换的平方。
思路:详解可参考置换群快速幂运算
研究与探讨。
可以先正着考虑一个置换的平方出现什么情况。对于置换中的循环,若其长度为偶数,平方以后一定分成了两个长度相等的循环,若长度是奇数,平方以后仍是一个循环,长度不变。因...
分类:
其他好文 时间:
2014-06-17 23:13:25
阅读次数:
291
函数上指int div(int a ,intb) th...
分类:
其他好文 时间:
2014-06-17 21:53:41
阅读次数:
234
命令模式(command pattern) 撤销(undo) 详解本文地址: http://blog.csdn.net/caroline_wendy参考命令模式: http://blog.csdn.net/caroline_wendy/article/details/31379977命令模式可以用于执行撤销(undo)操作.具体方法:1. 对象类中需要保存状态, 如level.package co...
分类:
其他好文 时间:
2014-06-17 22:19:07
阅读次数:
229
??
var d=new Date();
document.write("从 1991/02/02 至今已过去 " + d.getTime() + " 毫秒");
从 1991/02/02 至今已过去 1402917686044 毫秒...
分类:
其他好文 时间:
2014-06-17 22:46:57
阅读次数:
235
poj 3169 Layout(图论-差分约束)...
分类:
其他好文 时间:
2014-06-18 11:32:08
阅读次数:
217
public class computer
{
private int i = 1;
public void run() throws LanPingExpion, MaoYanExcetion
{
if (i ==2 )
throw new LanPingExpion("蓝屏了");
if (i ==3) {
throw new M...
分类:
其他好文 时间:
2014-06-18 12:34:15
阅读次数:
184
介绍了lzma的基本信息 ,对比其他主要的压缩方法的时间消耗和压缩率,最后介绍了如何分析lzma文件的头信息内容,头信息的各代表位...
分类:
其他好文 时间:
2014-06-17 21:52:58
阅读次数:
250
模板到不行。。连更新都没有。。。存个模板。
理解留到小结的时候再写。
#include
#include
#include
#include
#include
#include
#include
#include
#include
#pragma comment(linker, "/STACK:1024000000");
#define EPS (1e-8)
#define...
分类:
其他好文 时间:
2014-06-17 22:29:20
阅读次数:
304
Base64加密方式是将原文经过简单的字符转换,转换成不容易被肉眼看出的字符编码,Base64加密常用在HTTP环境下传递较长的标识信息确保不破坏HTTP的请求格式,Base64的加密原理是将3个8位二进制转换为4个6位二进制,不足6位时高位补0 ,以确保其值为64个可能,这就是Base64来源。如下图就是Base64标准中的编码表。
取个例子:
需要加密的原文是“ABC”这三个字...
分类:
其他好文 时间:
2014-06-17 22:45:45
阅读次数:
362
“WARN Please initialize the log4j system properly“的解决办法...
分类:
其他好文 时间:
2014-06-17 22:18:27
阅读次数:
375