今天更新Android4.4W 版本SDK,更新完后顺便更新ADT,结果更新后报错,导致SDK不能用.出现类似以下的报错:
Android Native Development Tools is already installed, so an update will be performed instead.
Cannot complete the install because one...
分类:
移动开发 时间:
2014-07-23 00:07:17
阅读次数:
348
Problem Description
DouBiXp has a girlfriend named DouBiNan.One day they felt very boring and decided to play some games. The rule of this game is as following. There are k balls on the desk. Every...
分类:
其他好文 时间:
2014-07-23 00:05:27
阅读次数:
344
题目:DescriptionThere are only one case in each input file, the first line is a integerN (N ≤ 1,000,00)denoted the total operations executed by Mary.The...
分类:
其他好文 时间:
2014-07-22 23:37:37
阅读次数:
434
For the one pass solution... first I tried to build white\blue from red, but not working anyway. Then I referred someone' code, to build red\blue from...
分类:
其他好文 时间:
2014-07-22 22:42:54
阅读次数:
212
先看下一个简单的实现: 1 package org.masque.designpatterns.factorymethod.one; 2 /** 3 * 4 * Description: Sample子类的标示 5 * BeanEm.java Create on 2014年7月11日 下午2...
分类:
其他好文 时间:
2014-07-22 22:41:55
阅读次数:
263
题目大意:
有n个男屌丝事先按1,2,3,,,,,,n的顺序排好,每个人都有一个不开心值unhappy[i],如果第i个人第k个上台找对象,那么该屌丝男的不开心值就会为(k-1)*unhappy[i],因为在他前面有k-1个人嘛,导演为了让所有男屌的总不开心值最小,搞了一个小黑屋,可以通过小黑屋来改变男屌的出场顺序
注意:这个小黑屋是个栈,男屌的顺序是排好了的,但是可以通过入栈出栈来改变男屌的...
分类:
其他好文 时间:
2014-07-22 22:39:14
阅读次数:
264
Sorting It All Out
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 26911
Accepted: 9285
Description
An ascending sorted sequence of distinct values is one ...
分类:
其他好文 时间:
2014-07-22 22:38:36
阅读次数:
166
Problem DPiotr's AntsTime Limit: 2 seconds"One thing is for certain: there is no stopping them;the ants will soon be here. And I, for one, welcome ou....
分类:
其他好文 时间:
2014-07-22 22:36:53
阅读次数:
363
The partial sum problem
时间限制:1000 ms | 内存限制:65535 KB
难度:2
描述One day,Tom’s girlfriend give him an array A which contains N integers and asked him:Can you choose some integers from the N ...
分类:
其他好文 时间:
2014-07-22 18:01:38
阅读次数:
250
Problem 2156 Climb Stairs
Problem Description
Jason lives on the seventh floor. He can climb several stairs at a time, and he must reach one or more specific stairs before he arrives home becau...
分类:
其他好文 时间:
2014-07-22 14:36:28
阅读次数:
211