Found the solution myself in the end. The problem
was not with theLinearLayout,but with theScrollView(seems weird, considering the
fact that theScroll...
分类:
移动开发 时间:
2014-05-08 13:42:02
阅读次数:
321
IntroductionThis article is part of the ongoing
series I’ve been writing recently, but can be read as a standalone article. I’m
going to do a better j...
分类:
其他好文 时间:
2014-05-08 13:01:13
阅读次数:
599
一次通过: 1 public class Solution { 2 public int
romanToInt(String s) { 3 int sum = 0; 4 int[] num = new int[s.length()]; 5 if...
分类:
其他好文 时间:
2014-05-08 08:24:26
阅读次数:
233
抠细节的题目,很多次过,特别是 Integer.MIN_VALUE 与
Integer.MAX_VALUE的绝对值并不一样大 1 public class Solution { 2 public int atoi(String
str) { 3 int result=0; 4...
分类:
其他好文 时间:
2014-05-08 05:44:17
阅读次数:
343
class Solution {private: vector result;public:
vector wordBreak(string s, unordered_set &dict) { vector > dp;
result.clear(); ...
分类:
其他好文 时间:
2014-05-08 01:00:03
阅读次数:
361
运行环境: 在本地的VirtualBox下运行的Ubuntu 14.04 LTS 0.
查看一下Server的IP地址 ifconfig 我的Server IP是192.168.0.108 1. 安装Nginx 首先更新 APT 包管理
,然后安装Nginx sudo apt-get updates...
分类:
数据库 时间:
2014-05-07 17:28:04
阅读次数:
489
Subsets IGiven a set of distinct integers, S,
return all possible subsets.Note:Elements in a subset must be in non-descending
order.The solution set m...
分类:
其他好文 时间:
2014-05-07 11:13:33
阅读次数:
299
@MultipartConfig
//一定加入这一句,才可以使用Part上传文件,而且不加进去还可能出现其他错误,比如不能读取request里面的参数
分类:
其他好文 时间:
2014-05-07 11:00:34
阅读次数:
330
最近在学scala语言,scala代码如下:
import scala.collection.JavaConversions._
object Solution {
def solution(A: Array[Int]): Int = {
// write your code in Scala 2.10
// sort
scala.uti...
分类:
其他好文 时间:
2014-05-07 04:20:38
阅读次数:
352
Exchange2013的全新安装:安装Exchange2013先决性条件:·需要.NetFramework4.5以上的支持。Exchange2013安装程序会提示需要.NetFramework4.0的支持,事实上是需要.NetFramework4.5。也可以直接安装.NetFramework4.5.1。·如果是AD环境中没有存在别的Exchange组织,是全新的Exc..
分类:
其他好文 时间:
2014-05-06 15:48:59
阅读次数:
305