题目1042:Coincidence
时间限制:1 秒
内存限制:32 兆
特殊判题:否
提交:1689
解决:898
题目描述:
Find a longest common subsequence of two strings.
输入:
First and second line of each input case co...
分类:
其他好文 时间:
2014-12-18 01:42:32
阅读次数:
162
经常遇到要用Python访问SSL网站,这是一个简单的代码,几行就搞定了!import socket import ssl sock = ssl.wrap_socket(socket.socket())sock.connect(('www.test.com', 443))#其中www.test.co...
分类:
编程语言 时间:
2014-12-18 00:00:02
阅读次数:
332
pthread lock和trylock示例代码,在linux上完成代码编写,然后适配到android设备上而不做代码的修改。...
分类:
移动开发 时间:
2014-12-17 21:02:44
阅读次数:
263
原博客已经全部转移到qiaomiao.blog.51cto.com大家好,感谢大家支持,为了更好汇总优质博客,原巧妙绝情51cto博客http://qiaomiao209.blog.51cto.com博客,已经全部转移到巧妙绝情-李靖51cto博客http://qiaomiao.blog.51cto.com.另外大家还可访问我的百度博客http://hi.baidu.co..
分类:
其他好文 时间:
2014-12-17 18:59:59
阅读次数:
141
1. 仅更新单个库只想更新某个特定的库,不想更新它的所有依赖,很简单:composer update foo/bar此外,这个技巧还可以用来解决“警告信息问题”。你一定见过这样的警告信息:Warning: The lock file is not up to date with the latest...
分类:
Web程序 时间:
2014-12-17 18:24:18
阅读次数:
227
某次做项目要实现一个功能: 按星期选择一个连续的时间范围 比如:周一到周五,周六到周日 或 周六到周三聪明的朋友马上想出办法:用两个选项为周一到周日的下拉列表实现,对 那样可以,但是我觉得不够友好,所以利用业余时间写下了这个jQuery小插件。 源码:http://files.cnblogs.co....
分类:
Web程序 时间:
2014-12-17 18:06:59
阅读次数:
244
获取帮助a.查看svn的所有命令:命令:svn helpb.查看svn某一个命令的帮助:命令:svn 命令 help例如:svn checkout help常用命令: checkout(检出)命令 -- 将资源从SVN上,下载并关联到本地目录。可以用checkout的缩写co,命令的缩写可通过sv....
分类:
系统相关 时间:
2014-12-16 20:51:44
阅读次数:
208
configuartion对话框中有个tabstops,这表示每一栏的宽度。好像只对“All file detail(按第三个button或对tabstop右键选full)栏起作用” ---什么是tabstop: 对每一个dialog都可点help, 也可在index中输入dialog 要想显示co...
分类:
其他好文 时间:
2014-12-16 20:43:36
阅读次数:
383
#define __USE_LARGEFILE64
#define _LARGEFILE64_SOURCE
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include
#include
#include
#include
#include
#include
#include
#include
#inclu...
分类:
编程语言 时间:
2014-12-16 19:16:01
阅读次数:
201
1.不管它提示什么,我们都直接看错误日志,因为错误日志里面的描述最详细。
在MySQL的安装目录下找到 my.ini配置文件
看日志保存路径
2.
我的错误是[ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
这是因为我手贱了 把库里面的m...
分类:
数据库 时间:
2014-12-16 19:13:39
阅读次数:
205