全部文章
Red John has committed another murder. But this time, he doesn’t leave a red smiley behind. What he leaves behind is a puzzle for Patrick Jane to solve. He also texts Teresa Lisbon that if Patrick is...
分类:其他 时间:2014-04-14 02:26:32 收藏:0 阅读:474
.h文件 #include #include struct node{ int data; struct node * next; }; struct queue{ struct node * front; struct node * rear; }; struct queue * initQueue(); struct queue * enQueue(struct queu...
分类:其他 时间:2014-04-14 04:13:09 收藏:0 阅读:442
.h文件 #include #include struct queue{ int data[MAXQSIZE]; int front; int rear; }; int initQueue(struct queue * q); int enQueue(struct queue * q,int elem); int deQueue(struct queue * q); voi...
分类:其他 时间:2014-04-14 02:25:33 收藏:0 阅读:474
@echo off SETLOCAL ENABLEDELAYEDEXPANSION set delPath=D:\PathWantToDelete set suffix=.svn for /f %%i in ('dir /s /b /A:H %delPath%') do ( if "%%~xi" == "%suffix%" ( del "%%i\*" /q /a rd "%%...
分类:其他 时间:2014-04-14 02:52:17 收藏:0 阅读:385
山东省第一届ACM省赛C题,数学题,排序...
分类:其他 时间:2014-04-14 04:12:09 收藏:0 阅读:590
很多时候我们需要将字节数组转化为16进制字符串来保存,尤其在很多加密的场景中,例如保存密钥等。因为字节数组,除了写入文件或者以二进制的形式写入数据库以外,无法直接转为为字符串,因为字符串结尾有\0,当然肯定还有其他原因。 下面提供几种Java中使用的方案: 方案一:直接利用BigInteger的方法,应该是最简单的方案了。 /** * 利用签名辅助类,将字符串字节数组 * @pa...
分类:编程语言 时间:2014-04-14 01:33:04 收藏:0 阅读:490
MongDB的MapReduce相当于MySQL中的“group by”,所以在MongoDB上使用Map/Reduce进行并行“统计”很容易。     使用MapReduce要实现两个函数Map函数和Reduce函数,Map函数调用emit(key,value),遍历collection中的所有记录,将key和value传递给Reduce函数进行处理。Map函数和Reduce函数可以使用JS来...
分类:数据库技术 时间:2014-04-14 01:32:07 收藏:0 阅读:606
Javascript实现的Stopwatch...
分类:编程语言 时间:2014-04-14 02:57:10 收藏:0 阅读:395
Balloons Time Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述 Both Saya and Kudo like balloons. One day, they heard that in the central park, there will be thousands of peop...
分类:其他 时间:2014-04-14 02:03:37 收藏:0 阅读:389
基本使用: 配置代码中使用日志文件输出路径配置方式。 补充知识点配置文件总结示例 Log4j由三个重要的组件构成:日志信息的优先级,日志信息的输出目的地,日志信息的输出格式。 日志信息的优先级从高到低有ERROR、WARN、INFO、DEBUG,分别用来指定这条日志信息的重要程度; 日志信息的输出目的地指定了日志将打印到控制台还是文件或数据库或email或其他等中; 而输出...
分类:其他 时间:2014-04-14 02:24:35 收藏:0 阅读:417
1314859314860314861323994
上一页3239936下一页
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!