/**
* spring 配置资源路径时候,classpath:/,classpath:,不带前缀的区别,
* 其实没区别,spring 规定 "classpath:" pseudo-URL,伪url路径,在处理这种路径前缀
* 时候,会把这个伪url去掉。
* @author doctor
*
* @time 2014年12月2日 下午6:28:12
*/
public cla...
分类:
编程语言 时间:
2014-12-02 22:43:35
阅读次数:
243
A题:who is the best?
题目地址:HDU 5123
水题。
哈希,然后枚举找最大的,从小的开始找。
代码如下:
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace std;...
分类:
其他好文 时间:
2014-12-01 20:55:53
阅读次数:
295
时间date 显示当前时间time cmd 显示 cmd的运行时间地点locate 根据文件名,迅速找到文件。基于系统构建的索引find 根据各种规则找到文件,更强大,但比较慢whereis cmd 找到命令所在位置人物whoami 显示当前用户名who 显示登陆到系统的用户w 显示登陆用户,以及....
分类:
系统相关 时间:
2014-11-30 22:51:42
阅读次数:
238
题目链接http://acm.hdu.edu.cn/showproblem.php?pid=5123水题一个,直接hash;代码#include#includeint main(void){ int i,j,k,n,t; int a[110]; int hash[110]; ...
分类:
其他好文 时间:
2014-11-30 21:29:29
阅读次数:
187
who is the best?
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768
K (Java/Others)
...
分类:
其他好文 时间:
2014-11-30 09:17:29
阅读次数:
147
12646. ORCHARDConstraintsTime Limit: 3 secs, Memory Limit: 256 MBDescriptionAlex and Bert are brothers who had been working for many years in a big or...
分类:
其他好文 时间:
2014-11-29 14:26:53
阅读次数:
139
JS PHP,采用tp框架/* AJAX加载更多 */ public function ajax_more() {//实例化模型 $doctor_evalue_reply = M('doctor_evalue_reply');//获取ajax传值...
分类:
其他好文 时间:
2014-11-27 21:55:09
阅读次数:
185
# id # 显示当前用户和用户组的 ID
# who # 显示目前登入系统的用户信息
#su 改变使用者身份
[root@localhost/]#su Chenlly
[Chenlly@localhost/]
#cat /etc/passwd 档案结构
root:x:0:0:root:/root:/bin/bash
chenlly:x:1000:1000:chenlly,,...
分类:
系统相关 时间:
2014-11-26 18:56:06
阅读次数:
338
Traits不是一种语法特性,而是一种模板编程技巧。Traits在C++标准库,尤其是STL中,有着不可替代的作用。 如何在编译期间区分类型 下面我们看一个实例,有四个类,Farm、Worker、Teacher和Doctor,我们需要区分他们是脑力劳动者还是体力劳动者。以便于做出不同的行动。 这里的...
分类:
其他好文 时间:
2014-11-26 01:25:33
阅读次数:
237
环境说明: 升级之前mac系统安装的是java 7 在eclipse能够正常使用,升级以后无法使用
目的: 删除java 7 回到java6环境 重新配置 eclipse installJre路径的java包
操作如下:
mac下切换到root权限:
topwqp:~ wangqiupeng$ sudo -i
Password:
topwqp:~ root# who...
分类:
编程语言 时间:
2014-11-25 23:32:00
阅读次数:
175