朋友的FTP启动不了,叫我帮他看,启动时出现以下错误信息:500 OOPS: bad bool
value in config file for:
anonymous_enable看似配置文件错误,看了一下配置相应的行:anonymous_enable=NO语句没什么错误,不过把这行注释后又到下一行...
分类:
其他好文 时间:
2014-05-09 08:51:30
阅读次数:
287
戳我去解题Write an efficient algorithm that searches for
a value in anmxnmatrix. This matrix has the following properties:Integers in
each row are sorted f...
分类:
其他好文 时间:
2014-05-09 08:27:24
阅读次数:
241
internal class CacheHelper { /// /// Insert
value into the cache using /// appropriate name/value pairs /// //...
分类:
其他好文 时间:
2014-05-09 04:19:56
阅读次数:
246
? 组函数:– 类型和语法– 使用AVG、SUM、MIN、MAX、COUNT–
在组函数中使用DISTINCT关键字–
组函数中的NULL值何谓组函数组函数会对行集进行计算,为每个组提供一个结果。与单行函数不同,组函数用于对行集进行计算,从而为每个组提供一个结果。这些集合可以包含整个表,也可以包含表...
分类:
数据库 时间:
2014-05-09 03:37:18
阅读次数:
422
dp[i]:以第i个字符为max,左边的可以构成的上升子序列的个数 。
dp2[i];以第i个字符为max,右边的可以构成的下降子序列的个数 。
num[i][j];在第i个位置以字符j为结尾的上升子序列的个数
num2[i][j];在第i个位置以字符j为开头的下降子序列的个数
很容易的推出状态转移:
int x=str[i-1]-'a';
for(j=0;j
...
分类:
其他好文 时间:
2014-05-09 02:24:33
阅读次数:
289
题意:求长度不超过K的最大的连续序列的和
思路:采用单调队列,我们要求的是Max{sum[i]-sum[j]}(i-j#include
#include
#include
#include
using namespace std;
const int MAXN = 1000005;
const int INF = 0x3f3f3f3f;
int n,k;
int arr[MAXN],s...
分类:
其他好文 时间:
2014-05-09 01:57:07
阅读次数:
264
function addServerUrlToJson() { var json_tem =
[{"name":"a","value":1}]; var arr = { "name" : "aaa", "value" : "bbb" ...
分类:
Web程序 时间:
2014-05-09 00:16:33
阅读次数:
654
ODPS中的TaskContext类有几个write函数write(Record
record)用来输出到默认输出表write(Record record, String label)用来输出的label的输出表write(Record
key, Record value) 用来Map后输出到中间表
分类:
其他好文 时间:
2014-05-09 00:14:26
阅读次数:
335
问题一:value = [array objectAtIndex:n];
//得到一个数组中的对象[arry removeObjectAtIndex:n];
//卸载那个对象因为value得到了那个对象,但是由于另外一个拥有者release了该对象,所以其实value现在成了摇摆指针(无效数据)问题...
分类:
其他好文 时间:
2014-05-09 00:02:03
阅读次数:
366
org.hibernate.NonUniqueObjectException: a different
object with the same identifier value was already associated with the session:
[org.fzegplat.hiber...
分类:
其他好文 时间:
2014-05-08 23:32:26
阅读次数:
503