报错:未能加载文件或程序集Microsoft.office.interop.excel,Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c” 或它的某一个依赖项。找到的程序清单定义与程序集引用不匹配。异常来自HRESU...
分类:
其他好文 时间:
2014-09-22 02:16:21
阅读次数:
479
zookeeper中节点数量理论上仅受限于内存,但一个节点下的子节点数量受限于request/response 1M数据 (size
of data / number of znodes)
zookeeper的watch机制用于数据变更时zookeeper的主动通知。watch可以被附加到每一个节点上,那么如果一个应用有10W个节点,那zookeeper中就可能有10W个watch(甚至更多...
分类:
其他好文 时间:
2014-09-21 23:54:21
阅读次数:
275
NUMBER:? ? ????number:38位;number(p,s):p:精度,s:刻度(小数位数),在Oracle数据库中,number数据类型代表int,double,float等数字类型数据 举例: 1234.567 number(6,2) --------> 1234.57 0.00123...
分类:
数据库 时间:
2014-09-21 23:10:11
阅读次数:
208
js一般有两种不同数据类型的值: 基本类型(包括undefined,Null,boolean,String,Number),按值传递; 引用类型(包括数组,对象),按址传递,引用类型在值传递的时候是内存中的地址。克隆或者拷贝分为2种: 浅度克隆:基本类型为值传递,对象仍为引用传递。 深度克隆...
分类:
Web程序 时间:
2014-09-21 22:36:51
阅读次数:
355
HashMap底层用哈希算法实现,下面看一下哈希算法的整体概括:
当map.put(“key”,”values”);的时候,底层是这样的:
static final Entry[] EMPTY_TABLE = {};
transient Entry[] table = (Entry[]) EMPTY_TABLE;
/**
* The number of key-...
分类:
其他好文 时间:
2014-09-21 16:37:10
阅读次数:
361
基本的报错注入 1、单引号报错-GET-字符型 错误信息:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax...
分类:
数据库 时间:
2014-09-21 12:47:10
阅读次数:
263
首先暴力打表就很容易发现有循环节,于是一开始的写法是直接暴力找循环节,结果一直WA,
原因是有的循环并不是从1,1开始的,详细有证明戳这里:http://acm.hdu.edu.cn/discuss/problem/post/reply.php?postid=19818&messageid=1&deep=0
于是借鉴了大神的思路,因为%7,故可用v[7][7]来记录 f(n) = (A * f...
分类:
其他好文 时间:
2014-09-21 11:56:10
阅读次数:
222
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 which...
分类:
其他好文 时间:
2014-09-21 08:55:00
阅读次数:
190
Problem Description
You play a game with your friend. He draws several lines on the paper with n×m square grids (see the left figure). After that, he writes down the number of lines passing through...
分类:
其他好文 时间:
2014-09-21 02:54:39
阅读次数:
381
项目截图
需要导入的基本包有Spring所有的包加上Apache支持上传的包
web.xml
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="...
分类:
编程语言 时间:
2014-09-21 00:31:29
阅读次数:
480