JSP: My JSP 'inOutKuPage.jsp' starting page 入出库单编号 入/出库 入库 出库 经办人 日期 入出库单编号 客户名称 经办人 入/出库 操作时间 操作 DAO:public class InOutPag...
分类:
其他好文 时间:
2014-08-23 17:39:31
阅读次数:
241
JSP: 登录 /equipOut.do" method="post"> 客户编号 客户名称 经办人 出库日期 设备编号 设备种类 备注 操作 删除 添加 DAO:public class EquipOutDao ex...
分类:
其他好文 时间:
2014-08-23 17:38:51
阅读次数:
286
1、举例,比方说我想取出横坐标0-900 纵坐标0-400的坐标范围: do_all_pos()-> do_all_pos([],0,0). do_all_pos(Result,Length,Height)when Length<900 andalso Height=<400-> NewResult=[{Length,Height}|Result...
分类:
其他好文 时间:
2014-08-23 02:31:50
阅读次数:
222
这么个所谓简单的题目弄了一下午加一晚上,呵呵,怎么也算不对。一定会有一个简单的方法。晚上去新都回来后,又坐在电脑面前思索这个问题。多次删除写出的眼看就要成功的代码,因为不够简洁。突然顿悟:1.串相联;假设数数当前位置为pos;2.k[pos]==‘w',不可能是最大。3.k[pos+1]=='w',...
分类:
其他好文 时间:
2014-08-22 23:48:29
阅读次数:
309
简单用法: #include using namespace __gnu_cxx;int a[1000];rope x;rope x(a,a + n);rope a(x);x->at(10);x[10];x->push_back(x) // 在末尾添加xx->insert(pos,x) // 在po...
分类:
其他好文 时间:
2014-08-21 20:58:24
阅读次数:
391
/usr/local/mysql/bin/mysqlbinlog -vv /var/lib/bin/mysql-bin.000008 --base64-output=DECODE-ROWS --start-pos=307问题:这个究竟是什么意思[root@ma mysql]# /usr/local/...
分类:
数据库 时间:
2014-08-21 16:55:44
阅读次数:
368
在使用数据库前,是启动数据库,启动数据库前是initdb(初始化数据库);一起来看一下initdb做了什么吧。初始化数据库的操作为: ./initdb -D /usr/local/pgsql/datainitdb把用户指定的选项转换成对应的参数,通过外部程序调用的方式执行postgres程序。pos...
分类:
数据库 时间:
2014-08-20 20:50:33
阅读次数:
3335
题意:给你一些区间,再查询一些点,问这些点与所有区间形成的最小距离的最大值。最小距离定义为:如果点在区间内,那么最小距离为0,否则为min(pos-L[i],R[i]-pos)。解法:当然要排个序,仔细想想会发现我们要找的区间的位置满足二分性质,即如果此时pos-L[mid] >= R[mid]-p...
分类:
其他好文 时间:
2014-08-20 10:24:56
阅读次数:
151
// 悬浮置顶; (function ($) { $.fn.crumbsFixedPosition = function (options) { var defaults = { cName: 'fixed_pos' } var ...
分类:
Web程序 时间:
2014-08-19 18:20:56
阅读次数:
263
var tips; var theTop = 10; /*这是默认高度,越大越往下*/var old = theTop;function moveTips() { var tt = 0; if (window.innerHeight) { pos = window.page...
分类:
移动开发 时间:
2014-08-18 20:20:22
阅读次数:
191