Air RaidTime Limit:1000MSMemory Limit:10000KTotal
Submissions:6520Accepted:3877DescriptionConsider a town where all the streets
are one-way and each s...
分类:
其他好文 时间:
2014-06-06 23:19:59
阅读次数:
319
问题描述:
Let d(n) be defined as the sum of proper divisors of n (numbers less than n which divide evenly into n).
If d(a) = b and d(b) = a, where a b, then a and b are
an amicable pair and each ...
分类:
编程语言 时间:
2014-06-02 12:31:42
阅读次数:
298
Scope defines where in a program a variable is accessible. Ruby has four types of variable scope, local, global, instance and class....
分类:
其他好文 时间:
2014-06-02 10:37:39
阅读次数:
241
本文主要介绍Spring与Mybatis三种常用整合方法,需要的整合架包是mybatis-spring.jar,可通过链接http://code.google.com/p/mybatis/下载到。1、采用数据映射器(MapperFactoryBean)的方式,不用写mybatis映射文件,采用注解方...
分类:
编程语言 时间:
2014-06-02 08:03:55
阅读次数:
360
Given a linked list, return the node where the
cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it
without using extra space?借用博...
分类:
其他好文 时间:
2014-06-02 07:32:33
阅读次数:
291
经常写SQL语句的人应该知道Group by语句的主要用法是进行分类汇总,下面是一种它最常见的用法(根据部门、职位分别统计业绩):
SELECT a.dname,b.job,SUM(b.sal) sum_sal
FROM dept a,emp b
WHERE a.deptno = b.deptno
GROUP BY a.dname,b.job;
DNAME JOB...
分类:
数据库 时间:
2014-06-02 02:28:40
阅读次数:
289
SELECT * FROM msg_personchat_t WHERE send_userid='28' AND critime>'2014-03-30' AND critime...
分类:
数据库 时间:
2014-06-01 13:56:29
阅读次数:
210
利用mybatis-paginator实现分页
1、mybatis-paginator简介
mybatis-paginator是gethub上的一个开源项目、用于java后台获取分页数据、该开源项目还提供一个列表组件(mmgrid)用于前端展示。
该开源项目地址:https://github.com/miemiedev
2、该开源项目的使用说明:
Maven中加入依赖:...
分类:
数据库 时间:
2014-06-01 13:11:43
阅读次数:
373
e Where ?
root
pdb
备注
Control files and redo log files
Y
belongs to the CDB and not to a specific container...
分类:
数据库 时间:
2014-06-01 13:06:25
阅读次数:
332
Mysql存储过程知识,案例:create procedure delete_setting(in
p_settingid
integer)begin delete from setting where settingid=p_settingid;endselect `name`
from mysq...
分类:
数据库 时间:
2014-06-01 12:19:33
阅读次数:
569