Problem Description:
Suppose there are N people in ZJU, whose ages are unknown. We have some messages about them. The
i-th message shows that the age of person si is not smaller than the age of pers...
分类:
移动平台 时间:
2015-04-20 09:29:31
收藏:
0 评论:
0 赞:
0 阅读:
348
如果是textview的textcolor属性设置成selecter,则需要这么写这个selecter:
注意,是android:color
如果是background属性,则需要这么写这个selecter:
注意,是android:drawable...
分类:
其他 时间:
2015-04-20 09:29:30
收藏:
0 评论:
0 赞:
0 阅读:
1257
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:28:45
收藏:
0 评论:
0 赞:
0 阅读:
305
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:28:35
收藏:
0 评论:
0 赞:
0 阅读:
244
题目:统计起始日期之间有多少个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:28:25
收藏:
0 评论:
0 赞:
0 阅读:
177
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:28:15
收藏:
0 评论:
0 赞:
0 阅读:
257
一、 Tomcat JNDI
JNDI(java nameing and drectory interface),是一组在Java应用中访问命名和服务的API,所谓命名服务,即将对象和名称联系起来,使得可以通过名称访问并获取对象。
简单原理介绍:点击访问
tomcat已经集成该服务(内置并默认使用DBCP连接池),简单来说就是键值对的mapping,而且在tomcat服务器启动的首页c...
分类:
其他 时间:
2015-04-20 09:28:05
收藏:
0 评论:
0 赞:
0 阅读:
119
OS X是下了基本安全模块BSM。审计系统的作用是跟踪用户和进程的操作。类似于Windows系统里面的日志功能。
出于安全性考虑,审计系统必须在内核层次执行,在OS X中,审计是通过Mach实现的。
默认情况下,审计日志存放在/var/audit目录下。命名方式是start_time.stop_time。其中的start_time是起始时间戳,精度为秒。最后一个日志文件的stop_time是no...
分类:
其他 时间:
2015-04-20 09:27:55
收藏:
0 评论:
0 赞:
0 阅读:
297
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:27:45
收藏:
0 评论:
0 赞:
0 阅读:
214
时间限制:2000ms
单点时限:1000ms
内存限制:256MB
描述
给定字符串,求它的回文子序列个数。回文子序列反转字符顺序后仍然与原序列相同。例如字符串aba中,回文子序列为”a”, “a”, “aa”, “b”, “aba”,共5个。内容相同位置不同的子序列算不同的子序列。输入
第一行一个整数T,表示数据组数。之后是T组数据,每组数据为一行字符串。输出
对于每组数据输出一行,...
分类:
其他 时间:
2015-04-20 09:27:35
收藏:
0 评论:
0 赞:
0 阅读:
242
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:27:25
收藏:
0 评论:
0 赞:
0 阅读:
204
好久没有更新啦,继续继续。
最近这个项目陷入了一个使用语言的怪圈。任何东西都想着原来的写法怎么能翻译到新的JDK 的写法。这其实就走入了歧途哇哇哇。
看下面这个例子,是一个很简单的例子。一般情况下我们都会这么写这样的逻辑。
public static void main(String ... args) {
List list = new ArrayList<>();
...
分类:
其他 时间:
2015-04-20 09:27:17
收藏:
0 评论:
0 赞:
0 阅读:
226
注意:本人未使用 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:27:07
收藏:
0 评论:
0 赞:
0 阅读:
1083
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:26:55
收藏:
0 评论:
0 赞:
0 阅读:
159
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:26:45
收藏:
0 评论:
0 赞:
0 阅读:
235
花了大半个月做的网站终于要上线了,周围的同学们很多都在使用阿里云的服务器,我也入手了一台。
考虑到自己不是很适应ubuntu的命令行界面,于是买了个windows的,上网搜了一下,似乎都是用linux来部署nodejs的,所以只能自己摸索着来,所幸的是nodejs本身就相当于web服务器,所以不需要apache之类的额外配置一,配置环境首先是要安装node环境,可以到官网上下载安装包,安装好之后进...
分类:
Windows开发 时间:
2015-04-20 09:26:35
收藏:
0 评论:
0 赞:
0 阅读:
285
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:26:25
收藏:
0 评论:
0 赞:
0 阅读:
174
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:26:15
收藏:
0 评论:
0 赞:
0 阅读:
186
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:05
收藏:
0 评论:
0 赞:
0 阅读:
264
/**
* 书本:《Thinking In Java》
* 功能:适配器设计模式
* 文件:Processor.java
* 时间:2015年4月2日20:36:59
* 作者:cutter_point
*/
package Lesson9Interfaces.interfaceprocessor;
public interface Processor
{
String name();
O...
分类:
编程语言 时间:
2015-04-20 09:25:55
收藏:
0 评论:
0 赞:
0 阅读:
212