终于等到你MarkDown on CSDN :-)...
分类:
其他好文 时间:
2015-04-20 09:29:20
阅读次数:
250
coins
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1080 Accepted Submission(s): 309
Problem Description
"Yakexi, this is the ...
分类:
其他好文 时间:
2015-04-20 09:30:59
阅读次数:
152
14184. Incognito
Constraints
Time Limit: 1 secs, Memory Limit: 256 MB
Description
Spies use attributes to disguise themselves to make sure that they are not recognized. For example, ...
分类:
其他好文 时间:
2015-04-20 09:30:38
阅读次数:
147
题目:统计起始日期之间有多少个2月29。#include
#include using namespace std;class Date
{
private:
int month;
int day;
int year; static int getMonthFromString(const string &s)
{...
分类:
其他好文 时间:
2015-04-20 09:29:38
阅读次数:
172
Kakuro Extension Extension
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 468 Accepted Submission(s): 240
Problem Description
Y...
分类:
其他好文 时间:
2015-04-20 09:31:17
阅读次数:
149
一、 Tomcat JNDI
JNDI(java nameing and drectory interface),是一组在Java应用中访问命名和服务的API,所谓命名服务,即将对象和名称联系起来,使得可以通过名称访问并获取对象。
简单原理介绍:点击访问
tomcat已经集成该服务(内置并默认使用DBCP连接池),简单来说就是键值对的mapping,而且在tomcat服务器启动的首页c...
分类:
其他好文 时间:
2015-04-20 09:28:49
阅读次数:
225
OS X是下了基本安全模块BSM。审计系统的作用是跟踪用户和进程的操作。类似于Windows系统里面的日志功能。
出于安全性考虑,审计系统必须在内核层次执行,在OS X中,审计是通过Mach实现的。
默认情况下,审计日志存放在/var/audit目录下。命名方式是start_time.stop_time。其中的start_time是起始时间戳,精度为秒。最后一个日志文件的stop_time是no...
分类:
其他好文 时间:
2015-04-20 09:29:10
阅读次数:
264
lazy gege
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 902 Accepted Submission(s): 348
Problem Description
Gege hasn't tidied...
分类:
其他好文 时间:
2015-04-20 09:28:17
阅读次数:
132
时间限制:2000ms
单点时限:1000ms
内存限制:256MB
描述
给定字符串,求它的回文子序列个数。回文子序列反转字符顺序后仍然与原序列相同。例如字符串aba中,回文子序列为”a”, “a”, “aa”, “b”, “aba”,共5个。内容相同位置不同的子序列算不同的子序列。输入
第一行一个整数T,表示数据组数。之后是T组数据,每组数据为一行字符串。输出
对于每组数据输出一行,...
分类:
其他好文 时间:
2015-04-20 09:30:35
阅读次数:
158
1795. Husband in a Shop
Time limit: 1.0 second
Memory limit: 64 MB
Mark comes home after a day of hard work. His wife, instead of feeding him, sends him to buy some bread. When Mark comes t...
分类:
其他好文 时间:
2015-04-20 09:28:45
阅读次数:
148
好久没有更新啦,继续继续。
最近这个项目陷入了一个使用语言的怪圈。任何东西都想着原来的写法怎么能翻译到新的JDK 的写法。这其实就走入了歧途哇哇哇。
看下面这个例子,是一个很简单的例子。一般情况下我们都会这么写这样的逻辑。
public static void main(String ... args) {
List list = new ArrayList<>();
...
分类:
其他好文 时间:
2015-04-20 09:29:25
阅读次数:
118
注意:本人未使用 ffmpeg 的全部依赖库,比如AAC 音频编码库(libfaac-dev),MP3 编码库(ibmp3lame-dev),具体的配置为:
./configure --enable-shared --enable-gpl --enable-version3 --enable-nonfree --enable-x11grab --enable-libx264 --enable-...
分类:
其他好文 时间:
2015-04-20 09:28:45
阅读次数:
360
On the Benefits of Umbrellas
Time Limit: 1000MS
Memory Limit: 65536KB
64bit IO Format: %I64d & %I64u
Submit Status
Description
A group of school leavers had their g...
分类:
其他好文 时间:
2015-04-20 09:29:07
阅读次数:
133
Sandro's Biography
Time Limit: 1000MS
Memory Limit: 65536KB
64bit IO Format: %I64d & %I64u
Submit Status
Description
Leogius was searching in a library for a book r...
分类:
其他好文 时间:
2015-04-20 09:28:24
阅读次数:
196
Domain-Specific LanguagesMichael HungerWHENEVER YOU LiSTEN TO A DiSCUSSiON BY ExPERTS in any domain, be it chess players, kindergarten teachers, or insurance agents, you’ll notice that their vocabulary...
分类:
其他好文 时间:
2015-04-20 09:29:41
阅读次数:
120
Do Lots of Deliberate PracticeJon JaggerDELiBERATE PRACTiCE iS NOT SiMPLY PERFORMiNG A TASK. If you ask yourself, “Why am I performing this task?” and your answer is, “To complete the task,” then you’r...
分类:
其他好文 时间:
2015-04-20 09:29:31
阅读次数:
137
Don’t Be Afraid to Break ThingsMike LewisEVERYONE WiTH iNDUSTRY ExPERiENCE has undoubtedly worked on a project where the codebase was precarious at best. The system is poorly factored, and changing one...
分类:
其他好文 时间:
2015-04-20 09:26:24
阅读次数:
124