Error The project was not built due to “Problems encountered while deleting resources.”. Fix the problem, then try refreshing this project and rebuild...
分类:
其他好文 时间:
2014-10-23 15:54:04
阅读次数:
218
欢迎交流 1.1.26public class TestApp { public static void main(String[] args) { int a = StdIn.readInt(); int b = StdIn.readInt(); ...
分类:
其他好文 时间:
2014-10-22 20:16:11
阅读次数:
215
https://wiki.archlinux.org/index.php/Unified_Extensible_Firmware_Interface#EFI_System_Partitionhttps://wiki.archlinux.org/index.php/Beginners‘_Guide_(简体中文)#Grub_2https://wiki.archlinux.org/index.php/Beginners%27_guide_(简体中文)http://www.linuxsir.org/b..
分类:
移动开发 时间:
2014-10-22 16:05:22
阅读次数:
1650
根据loadrunner官方文档tutorial试验“Solving Common Playback Problems”时,将所遇见问题总结如下。问题主要有:1.录制与回放后loadrunner无法找出动态值,即2次log的不同之处。2.关联后仍然无法回放成功。解决:录制前,设置的working d...
分类:
其他好文 时间:
2014-10-21 19:11:47
阅读次数:
248
source:https://oj.leetcode.com/problems/find-minimum-in-rotated-sorted-array/Suppose a sorted array is rotated at some pivot unknown to you beforehand...
分类:
编程语言 时间:
2014-10-21 05:39:49
阅读次数:
190
https://oj.leetcode.com/problems/remove-duplicates-from-sorted-array/用一个cnt记录不重复的部分,后面每遇到不重复的cnt++即可。class Solution {public: int removeDuplicates(i...
分类:
编程语言 时间:
2014-10-20 03:23:10
阅读次数:
241
https://oj.leetcode.com/problems/3sum-closest/和3sum类似。不同的是这次需要逼近一个值,实际上跟相等类似,用l和r指针不断移动,然后反复取最小即可。class Solution {public: int n,m; int threeSumC...
分类:
编程语言 时间:
2014-10-19 11:19:59
阅读次数:
156
https://oj.leetcode.com/problems/gas-station/计算每个加油站的加油差diff[]。得到一个数组。从贪心的角度来说,如果我们找到一个最大子串,那么从他的起点l开始走,能够连续一直走并且累积最大量的汽油。一个猜想是:如果这些汽油不足以走完全程,那么无论从哪里都...
分类:
编程语言 时间:
2014-10-19 02:42:38
阅读次数:
177
关于aapt.exe已停止工作aapt是用来编译R.java文件的编译器,关联资源文件,aapt.exe已停止工作,基本上是说资源文件报错,命名不能大写,还有注意点9图片,和一般图片重名。这些常见的基本上通过控制台或者error日志,problems视图中都有提示能找出对应的问题。最近我合并代码..
分类:
其他好文 时间:
2014-10-16 22:40:34
阅读次数:
226
https://oj.leetcode.com/problems/3sum/先排序。然后枚举i属于[0,n-3]的这些数作为三元组的第一个数,令x=0-a[i]。这样就变成从[i+1,n)找出两个数加起来和等于x。由于这些数是有序数,可以使用l,r指针对在两侧向中间逼近。这利用了一个事实:如果al+...
分类:
编程语言 时间:
2014-10-16 20:09:43
阅读次数:
250