该方法去除两边的空白符 原理: 看看源码实现 public String trim() { int len = value.length; int st = 0; char[] val = value; /* avoid getfield opcode */ while ((st < len) && ...
分类:
编程语言 时间:
2017-03-08 21:13:47
阅读次数:
216
之前的排版简直辣眼睛,重写一遍好了 模板题是草地排水poj1273 网络流的基础思想就是瞎基本搜 但是搜要搜得有技巧,有特色 最简单的搜,无限深搜直到终点 稍微改进一下,宽搜先标号然后按层搜 再改进一下,把某些确定不再使用的点剔除 要点在于建立反向边给自己一个反悔的机会,用^1找到反向边 #incl ...
分类:
其他好文 时间:
2017-03-07 20:40:58
阅读次数:
186
当引入第三方的框架的时候 容易产生以下问题: The file “XXX.app” couldn’t be opened because you don’t have permission to view it. 如图: 造成的原因: info文件中的字段Executable file 与 buil ...
分类:
其他好文 时间:
2017-01-23 18:55:35
阅读次数:
186
Code Lock Problem Description A lock you use has a code system to be opened instead of a key. The lock contains a sequence of wheels. Each wheel has t ...
分类:
其他好文 时间:
2016-12-17 01:39:35
阅读次数:
467
题目描述 The cows have opened a new business, and Farmer John wants to see how well they are doing. The business has been running for N (1 <= N <= 100,000 ...
分类:
其他好文 时间:
2016-12-04 19:46:57
阅读次数:
274
Base项目是在Xcode7上创建的,升级Xcode8以后,编译时候提示错误: The file “base.app” couldn’t be opened because you don’t have permission to view it. 应该是由于Build Settings->Buil ...
分类:
移动开发 时间:
2016-11-18 11:36:53
阅读次数:
172
1、前言 今天使用Xcode6,突然提示我"the file “XXX” could not be opened because you don't have permission to view it" 说我没有权限. 如下图 2、解决方法 1、前言 今天使用Xcode6,突然提示我"the fi ...
分类:
其他好文 时间:
2016-10-26 06:56:44
阅读次数:
243
初学Spring在用Resource rs=new ClassPathResource("applicationContext.xml");时老是遇到这个错误。后来发现用ApplicationContext ctx=new FileSystemXmlApplicationContext("WebCo ...
分类:
其他好文 时间:
2016-10-17 20:43:58
阅读次数:
560
The door opened again, and the cold wind suddenly gusted through the room, rustling the papers on the desk, swirling my hair around my face. 门被再一次打开,寒 ...
分类:
其他好文 时间:
2016-10-10 01:53:58
阅读次数:
171
转:http://www.wangzhengdong.com/blog/error-domainnsurlerrordomain-code-999-the-operation-couldnt-be-completed.html – (void)webView:(UIWebView *)webView ...
分类:
Web程序 时间:
2016-10-08 19:43:37
阅读次数:
491