链接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&category=25&problem=2299&mosmsg=Submission+received+with+ID+14404690
题意:一个有向图,找一个最大的点集使得任意两点u、v间都存在一条路(单向或双向)...
分类:
其他好文 时间:
2014-10-23 16:25:21
阅读次数:
205
ViewController.h
#import
@interface ViewController : UIViewController
{
UIImage *_image;
NSInteger _index;
}
@endViewController.m
#import "ViewController.h"
#import "Person.h"
@interface...
分类:
其他好文 时间:
2014-10-23 14:26:57
阅读次数:
161
1 --==============================索引=============================== 2 --简单索引 3 --默认为:非聚集、非唯一、升序排列 4 CREATE INDEX IX_例一 5 ON 产品(产品名称) 6 7 --复合索引 8 --.....
分类:
数据库 时间:
2014-10-23 14:15:38
阅读次数:
138
在网上浏览时看到一些网站的URL使用#号后面传递一些字符作为参数,因为URL中#(井号)后的内容是不会被加入HTTP请求的,于是研究了一下,分享给大家。 URL:http://xxx.com/index.php?id=1#01234abcd 可以看出此处...
分类:
Web程序 时间:
2014-10-23 12:54:33
阅读次数:
155
一、在控制器加载到模版前public function index(){ $_SESSION['token'] = md5(microtime(true)); $this->display(); }二、在FORM表单中添加隐藏域 ...
分类:
Web程序 时间:
2014-10-23 12:20:23
阅读次数:
183
项目使用 springmvc4.x spring4.x hibernate4.x easyui 为了便于开发,扩展了easyui 的 datagrid 功能,下面直接贴上扩展代码:/** * context 指定为 项目上下文 * index 如果定义多组dataGrid,index指定为对应的参数...
分类:
其他好文 时间:
2014-10-23 01:19:12
阅读次数:
222
有时候在行编辑的时候,一个编辑框的值要根据其它编辑框的值进行变化,那么可以通过在开启编辑时,找到特定的Editor,为其添加事件//绑定事件, index为当前编辑行vareditors = $('#staffLogDetailGrid').datagrid('getEditors', index)...
分类:
其他好文 时间:
2014-10-23 01:18:36
阅读次数:
273
mysql基本操作1.mysql表复制mysql 表结构的复制create table t2 like t2mysql 表数据的复制insert into t2 select * from t12.mysql索引的操作2.1索引的增加alter table tb_name add index ind...
分类:
数据库 时间:
2014-10-22 23:22:27
阅读次数:
201
我用的是mysql绿色版。在http://www.oracle.com/index.html点击download下载masql。在MySQL Enterprise Edition目录下点击Download from Oracle eDelivery 进登录入进行下载。设置环境变量:在path环境中加...
分类:
数据库 时间:
2014-10-22 21:42:29
阅读次数:
318
1,先到Oracle网站下载Instant Client :http://www.oracle.com/technology/global/cn/software/tech/oci/instantclient/index.html根据你的操作系统选择不同的Instant Client版本下载回是一个...
分类:
数据库 时间:
2014-10-22 17:48:36
阅读次数:
224