1.github上版本和本地上版本冲突的方法,即提交时会提示如下错误:解决方法,提交时采用如下代码:git push -u origin master -f参考链接: http://blog.csdn.net/shiren1118/article/details/7761203
分类:
其他好文 时间:
2014-07-06 20:57:38
阅读次数:
172
本文描述了GitLab&Git Windows 客户端的新建分支、clone repo、SSH和HTTP认证、add、commit和push流程。
上周算法班的BEN老师花了1个小时讲自动机和KMP的关系,结果failed...明天又要上课了,花了半天时间看了下KMP,暂且停留在利用next求模式中的跳跃长度,自动机那个还不能理解。。。具体的可以百度阮一峰的KMP算法。看着什么前缀后缀,突然想到上下文无关文法乔姆斯基范式了。。。。又想到了NFA...
分类:
其他好文 时间:
2014-07-06 17:00:42
阅读次数:
170
DescriptionFarmer John is assigning some of his N (1 2 #include 3 #include 4 using namespace std; 5 int vis[1100009]; 6 int a,b; 7 struct node 8 { 9 ....
分类:
其他好文 时间:
2014-07-06 14:50:25
阅读次数:
155
队列queue也是一种线性结构,我们可以再其两端进行操作,它是一种属于先进先出的结构(FIFO)。 数据在只能在队尾进入,且只能在队首出去。 队列与栈差不多,基本操作如下: 1.queue::size() 2.queue::empty() 3.queue::push(typename ...
分类:
其他好文 时间:
2014-07-06 14:26:25
阅读次数:
189
栈是一种线性的结构,先进后出(FILO),我们只能在栈的一端对数据进行操作,数据的插入与删除只能在栈的一端进行。 在STL中的栈stack一共只有5中操作。 1.stack::empty() 2.stack::size() 3.stack::push(typename t) 4.sta...
分类:
其他好文 时间:
2014-07-06 14:24:34
阅读次数:
183
first,there are some default jdk in system.when we get the java 1.7.0 foldel,we should use it to instead of the default jdk.so just use sudo update-al...
分类:
编程语言 时间:
2014-07-06 14:22:35
阅读次数:
281
Determine whether an integer is a palindrome. Do this without extra space.
Some
hints:
Could negative integers be palindromes? (ie, -1)
If you are thinking of converting the integer to string...
分类:
其他好文 时间:
2014-07-05 10:44:29
阅读次数:
227
将输入的一行读到string中不需要像用数组那样,考虑给多少大小的空间,这可以使得做acm题更加方便。
c++98有两个函数可以读一行到string中,如下:
istream& getline (istream& is, string& str, char delim);
istream& getline (istream& is, string& str);
例子:
#in...
分类:
编程语言 时间:
2014-07-04 07:52:26
阅读次数:
285
php_memcached.dll csdn资源
memcached在windows7上的安装问题
错误:
通过cmd命令行进入到D:\webEve\memcached(下载后的解压目录)
运行 memcached.exe -d install
报错“ failed to install service or service already ins...