首页 > 2015年04月20日 > 全部分享
ZOJ 3795 Grouping(强联通分量 + 缩点 + Dp)
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
textcolor 设置selecter 报错: <item> tag requires a 'color' attribute or child tag defining a drawab
如果是textview的textcolor属性设置成selecter,则需要这么写这个selecter: 注意,是android:color 如果是background属性,则需要这么写这个selecter: 注意,是android:drawable...
分类:其他   时间:2015-04-20 09:29:30    收藏:0  评论:0  赞:0  阅读:1257
hdu 3348 coins(贪心)
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
Sicily 14184. Incognito
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日
题目:统计起始日期之间有多少个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
hdu 3344 Kakuro Extension Extension
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
【MyBatis】MyBatis Tomcat JNDI原理及源码分析
一、 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系统审计子系统详解
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
hdu 3349 lazy gege
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
URAL1795. Husband in a Shop(模拟,首次探访俄罗斯的oj)
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
JDK8的随笔(07)_行云流水般的Lambda表达式
好久没有更新啦,继续继续。 最近这个项目陷入了一个使用语言的怪圈。任何东西都想着原来的写法怎么能翻译到新的JDK 的写法。这其实就走入了歧途哇哇哇。 看下面这个例子,是一个很简单的例子。一般情况下我们都会这么写这样的逻辑。 public static void main(String ... args) { List list = new ArrayList<>(); ...
分类:其他   时间:2015-04-20 09:27:17    收藏:0  评论:0  赞:0  阅读:226
OpenCV-2.4.2 安装三步曲
注意:本人未使用  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
URAL - 1788 On the Benefits of Umbrellas(水题)
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
URAL - 1786 Sandro's Biography
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
阿里云部署Node.js服务器(Windows环境)
花了大半个月做的网站终于要上线了,周围的同学们很多都在使用阿里云的服务器,我也入手了一台。 考虑到自己不是很适应ubuntu的命令行界面,于是买了个windows的,上网搜了一下,似乎都是用linux来部署nodejs的,所以只能自己摸索着来,所幸的是nodejs本身就相当于web服务器,所以不需要apache之类的额外配置一,配置环境首先是要安装node环境,可以到官网上下载安装包,安装好之后进...
分类:Windows开发   时间:2015-04-20 09:26:35    收藏:0  评论:0  赞:0  阅读:285
Domain-Specific Languages
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 Practice
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 Things
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
【ThinkingInJava】12、适配器设计模式
/** * 书本:《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
1916条   上一页 1 ... 76 77 78 79 80 ... 96 下一页
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!