Apache
Access Control
访问控制...
分类:
其他好文 时间:
2014-05-07 03:56:02
阅读次数:
300
【Question】
Given an array S of n integers, are there elements a, b, c in S such
that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.
Note:
Elements in ...
分类:
其他好文 时间:
2014-05-06 14:57:29
阅读次数:
318
1、配置文件是什么
配置文件是随安装程序一起被安装到计算机上的文件,里面存放着安装好的应用程序运行时所需要的参数。
应用程序配置文件是标准的XML文件,XML标记和属性是区分大小写的。它可以按需要更改,开发人员可使用配置文件来更改设置,而不必重新编译应用程序。配置文件的根节点是 configuration。我们经常用的是appSettings,它是由.NET预定义配置节点。...
分类:
其他好文 时间:
2014-05-07 04:03:47
阅读次数:
260
这几天搞了一下Oracle数据库,可能用sql server习惯了,感觉好不方便。PL的界面友好度比sql server差远了 ,既然都收购了PL了
为什么不给它做好一点呢?各种不便。郁闷
向Oracle服务器插入一条数据
--不管什么格式通通用''引号引起来。不过INTEGER格式的还是别用引号
insert into T_SITE VALUES(
8, --注意主键别与表里的其他主键冲...
分类:
数据库 时间:
2014-05-07 03:24:59
阅读次数:
319
由于最近刚接手做静态库的同事的工作,这样难免的集成调试啊,但是集成之后老是出现linker command failed with exit code 1这个错误,查了许多资料,最后终于解决了,今天就这个问题做个探讨,以防止以后犯同样的错误,我先说下我这个项目里面错误的解决办法,然后再笼统的说下其他的解决办法。。
好,这是我出现 linker command failed with...
分类:
移动开发 时间:
2014-05-07 04:12:07
阅读次数:
431
./cbbackup http://192.168.1.112:8091 /backups/20140505 -u Administrator -p password -b misc
scp -r /backups/* root@58.61.xx.xx:/backups
./cbrestore /backups/20140505 http://Administrator:password@58...
分类:
其他好文 时间:
2014-05-06 19:07:13
阅读次数:
433
题目:
链接:http://acm.hdu.edu.cn/showproblem.php?pid=2087
题意:
给出字符串s1和s2,找出s1中有多少个s2。
算法:
KMP字符串匹配。
思路:
简单,看代码吧。(需要注意的就是字符串用要scanf输入)
代码:
#include
#include
#include
using namespac...
分类:
其他好文 时间:
2014-05-07 04:46:37
阅读次数:
304
http://acm.hdu.edu.cn/showproblem.php?pid=3038
这是一道并查集题目,这并查集感觉好难写,构思花了我很长很长时间,不过打码时间很短。考虑清楚之后明显快多了
#include
#include
#include
#include
#include
#include
#include
#define N 200010
using names...
分类:
其他好文 时间:
2014-05-07 04:03:06
阅读次数:
331
最近正在进行《Effective C++》的第二遍阅读,书里面多个条款涉及到了shared_ptr智能指针,介绍的太分散,学习起来麻烦,写篇blog整理一下。
LinJM @HQU
2014/05/05
shared_ptr是一个智能指针。在C++ 11颁布之前,它包含在TR1(Technical Report 1)当中,现在囊括在C++11的标准库中。
智能指针
智能指...
分类:
其他好文 时间:
2014-05-07 05:50:43
阅读次数:
437
android之popwindow操作,两种方式,简单易学!...
分类:
移动开发 时间:
2014-05-07 03:33:44
阅读次数:
397
2013山东省第四届ACM大学生程序设计竞赛 Alice and Bob 山东省赛 规律 sdut2608...
分类:
其他好文 时间:
2014-05-06 19:05:47
阅读次数:
494