#include #include #include using namespace std;int a[505], b[505];int dp[505], path[505];int Susake_lcs[505][505], Susake_lcis[505][505];void Susake_L...
分类:
其他好文 时间:
2014-08-26 13:20:36
阅读次数:
208
使用了极光推送的 jar 包项目在从 SVN 中检出后,如果不重新对 jar 包和 Bulid Path 进行配置就会抛出java.lang.NoClassDefFoundError: cn.jpush.android.api.JPushInterface的错误,进行如下操作即可消除这种错误:删除 ...
分类:
移动开发 时间:
2014-08-26 11:15:45
阅读次数:
189
在win平台上Eclipse中启动Tomcat时,报如下错误,原因是java.library.path中找不到Tomcat的tcnative-1.dll库,才会报出TheAPRbasedApacheTomcatNativelibrarynotfound信息:TheAPRbasedApacheTomcatNativelibrarywhichallowsoptimalperformancein
productionenvironmentswasnotf..
分类:
其他好文 时间:
2014-08-26 03:08:45
阅读次数:
281
今天在导入公司的一个小demo时候发现了一个很有意思的错误。
An internal error occurred during: "Launching New_configuration". Path for project
must have only one segment.
于是上网搜寻了一下怎么解决:
具体的解决方法有两种:
一、Run Confi...
分类:
移动开发 时间:
2014-08-26 00:33:05
阅读次数:
240
Available commands:ascii Set transfer mode to ASCIIbinary Set transfer mode to binarycd path ...
分类:
其他好文 时间:
2014-08-26 00:16:45
阅读次数:
504
settings里设置好media_rootimport osHERE = os.path.dirname(os.path.dirname(__file__))MEDIA_ROOT = os.path.join(HERE, "media").replace('\\', '/')MEDIA_URL =...
分类:
其他好文 时间:
2014-08-26 00:10:55
阅读次数:
456
To follow the path: look to the master,(寻找大师) follow the master,(跟随大师) walk with the master,(与大师同行) see through the master,(观摩大师) become the master.(成...
分类:
其他好文 时间:
2014-08-26 00:06:05
阅读次数:
231
自己写一些小代码的时候总是用fprintf来写log,感觉这样不太科学,还是写一个通用的简单带log level的log类,以后就拿来复用吧。这个类实现了非常简单的功能:如果指定了log文件path和name创建一个log文件,并将各种level的写入文件中,否则都打印到屏幕,格式如下:
[DEBUG] : xxxxx
[WARN] : xxxx
[MSG] : xxxxx
代码:
//...
分类:
其他好文 时间:
2014-08-25 22:57:15
阅读次数:
274
LeetCode: TriangleGiven a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For exa...
分类:
其他好文 时间:
2014-08-25 22:48:14
阅读次数:
306
LeetCode: Binary Tree Maximum Path SumGiven a binary tree, find the maximum path sum.The path may start and end at any node in the tree. For example:G...
分类:
其他好文 时间:
2014-08-25 22:34:54
阅读次数:
184