//侧栏随动var rollStart = $('.feed-mail'), //滚动到此区块的时候开始随动 rollSet = $('.search,.weibo,.group,.feed-mail,.tags'); //添加rollStart之前的随动区块rollStart.before(...
分类:
Web程序 时间:
2014-07-07 08:08:31
阅读次数:
267
题目:Follow up for "Search in Rotated Sorted Array":What ifduplicatesare allowed?Would this affect the run-time complexity? How and why?Write a function...
分类:
其他好文 时间:
2014-07-07 00:14:37
阅读次数:
186
题目:Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e.,0 1 2 4 5 6 7might become4 5 6 7 0 1 2).You are given a target valu...
分类:
其他好文 时间:
2014-07-06 23:34:53
阅读次数:
273
第一步,进入管理中心,点击管理应用程序,点击search service 应用程序进入到搜索管理配置页面,点击内容源第二步,点击新建内容源,给内容源命名,在爬网内容类型中选sharepoint网站,输入sharepoint网址地址,注意下图 sps3的意思是对这个sharepoint网址进行人员搜索...
分类:
Web程序 时间:
2014-07-06 21:33:05
阅读次数:
221
第一步,进入管理中心,点击管理应用程序,点击search service 应用程序进入到搜索管理配置页面,选择内容源第二步,点击新建内容源,给内容源命名,在爬网内容类型中选网站,在爬网设置中选中仅对每个开始地址的第一个页面进行爬网,在这一步需要注意爬网设置的选择,如果选择自定义,服务器越距配置过大可...
分类:
其他好文 时间:
2014-07-06 20:58:23
阅读次数:
208
第一步,进入管理中心,点击管理服务器上的服务第二步,在服务器上选择需要承载搜索服务的服务器,并启动服务列表上的sharepoint server search第三步,从管理中心进入管理服务应用程序第四步,新建search service application 第五步,在弹出的新建窗口分别填好相应信...
分类:
其他好文 时间:
2014-07-06 20:56:13
阅读次数:
181
搜索中心新建好之后在搜索结果页上会默认有所有内容,人员,对话,视频这四个结果分类,每个分类会返回指定范围的搜索结果,这里我再添加了部门日志结果分类,搜索这个分类只会返回部门日志内容类型的搜索结果,要实现这个效果,步骤如下:第一步,进入管理中心,进入管理应用程序,点击Search Service 应用...
分类:
其他好文 时间:
2014-07-06 20:35:29
阅读次数:
162
自定义查询规则,可以根据搜索的关键字将指定的一个或一堆搜索结果提升到第一的位置,如我搜索周杰伦,可以指定搜索最靠前的结果是sharepoint网站内周杰伦的视频如下图:第一步,进入管理中心,点击管理应用程序,点击search service应用程序,进入搜索管理页面,点击查询规则第二步,选择一个结果...
分类:
其他好文 时间:
2014-07-06 20:23:54
阅读次数:
175
Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ord...
分类:
其他好文 时间:
2014-07-05 19:10:48
阅读次数:
219
(一)八皇后问题
(1)回溯法
#include
#include
#define MAXN 100
using namespace std;
int tot = 0, n = 8;
int C[MAXN];
void search(int cur) {
if(cur == n) ++tot; //递归边界,只要走到了这里,所有皇后必然不冲突
else for(in...
分类:
其他好文 时间:
2014-07-05 11:09:52
阅读次数:
356