#include
#include
#include
using namespace std;
int n,m;
char S[2100],P[2100];
int main()
{
#ifdef xxz
freopen("in.txt","r",stdin);
#endif // xxz
ios::sync_with_stdio(false);
cin.tie(0...
分类:
其他好文 时间:
2015-02-09 18:20:33
阅读次数:
138
原文网址:http://www.cnblogs.com/fusae-blog/p/4256794.htmlAPUE第三章的最后面给出的函数,现在还用不着,所以,先留个名字,待到时候用着了再补上好了。dup和dup2函数:用来复制文件描述符的sync函数,fsync函数和fdatasync函数:大致的...
分类:
其他好文 时间:
2015-02-08 21:52:41
阅读次数:
202
vi/etc/exports#需要在root权限下在该文件中按照如下格式插入:需要共享文件的绝对路径可以接受该文件的服务器IP(rw,no_root_squash,sync)保存文件重启NFS:servicenfsrestart或是/etc/init.d/nfsrestart启动protmap:serviceprotmaprestart登录到接收共享目录的服务器vi/etc/exp..
分类:
系统相关 时间:
2015-02-07 23:06:29
阅读次数:
230
陈科肇
===========
1.描述
要使用Nexus,你需要配置Maven去检查Nexus而非公共的仓库。为此你必须到用户特定settings.xml配置mirror(镜像),比如:默认的用户特定settings.xml位于C:\Users\Administrator\.m2\下。
2.使用Nexus中央代理仓库
settings.xml文件中设置:
.
....
分类:
其他好文 时间:
2015-02-06 23:16:50
阅读次数:
388
Problem Description
As a unicorn, the ability of using magic is the distinguishing feature among other kind of pony. Being familiar with composition and decomposition is the fundamental course ...
分类:
移动开发 时间:
2015-02-06 21:52:01
阅读次数:
226
1). 检查子目录.git/hook下面是否有 commit-msg 文件,
https://gerrit-review.googlesource.com/tools/hooks/commit-msg
2). 如果是repo sync 下来的代码,只要检查子目录中是否存在 commit-msg 如果不存在,修改工程目录下面 .repo/manifest.xml,添加review项指定即可。
...
分类:
其他好文 时间:
2015-02-06 18:51:26
阅读次数:
377
socket阻塞与非阻塞,同步与异步1. 概念理解 在进行网络编程时,我们常常见到同步(Sync)/异步(Async),阻塞(Block)/非阻塞(Unblock)四种调用方式:同步:所谓同步,就是在发出一个功能调用时,在没有得到结果之前,该调用就不返回。也就是必须一件一件事做,等前一件做完了才能....
分类:
其他好文 时间:
2015-02-06 08:16:12
阅读次数:
340
可以手工下载插件,通过jenkins的web管理控制台的,系统管理->管理插件->高级菜单来上传安装插件插件手工下载地址:http://mirror.xmission.com/jenkins/plugins/(不推荐,需要自己寻找版本号)不过有时手工下载的插件无法安装成功,以scp插件为例子,尝试了多个版本的..
分类:
其他好文 时间:
2015-02-05 15:10:37
阅读次数:
1365
The collection includes a hooded jacket, an infinity scarf, and a blazer that look like everyday pieces, but essentially act as a mirror when hit with...
分类:
其他好文 时间:
2015-02-05 13:31:42
阅读次数:
143
Symmetric Tree
Total Accepted: 43063 Total
Submissions: 137255My Submissions
Question
Solution
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around it...
分类:
其他好文 时间:
2015-02-05 11:18:16
阅读次数:
133