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
Appium运行的时候,查看到log输出为:info: Welcome to Appium v1.2.0 (REV e53f49c706a25242e66d36685c268b599cc18da5)info: Appium REST http interface listener started o...
分类:
移动开发 时间:
2014-07-22 23:02:52
阅读次数:
433
最近在 http://testin.cn 上的多款 android 2.1 设备上出现安装失败的问题 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 问题分析 貌似 android 2.1 AndroidManifest.xml provider 元素的 author...
分类:
移动开发 时间:
2014-07-22 22:40:33
阅读次数:
183
1. Re-installation failed due to different application signatures.
将原来的软件包删除掉,然后重新安装一次就好了。在命令行上运行:adb uninstall ,这里的package_name也就是AndroidManifest.xml里面元素package属性的数据值。例如:adb uninstall org.andriod.de...
分类:
移动开发 时间:
2014-07-22 22:39:13
阅读次数:
302
The DDMS tool can be used to push out test location during testing. However, it has two serious limitations:DDMS sets location for GPS location provid...
分类:
移动开发 时间:
2014-07-22 22:34:35
阅读次数:
915
#include
#include
using namespace std;
queueq;
int main()
{
int n;
cin>>n;
for(int i=1;i<=n;i++)
q.push(i);
while(!q.empty())
{
cout<<q.front()<<' ';
q.pop();
if(!q.empty())
...
分类:
其他好文 时间:
2014-07-22 22:34:33
阅读次数:
179
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
vmware提示:此虚拟机似乎正在使用中,取得该虚拟机的所有权失败错误在虚拟机运行时,一次非正常关机。导致虚拟机出现以下错误:此虚拟机似乎正在使用中。如果此虚拟机已在使用中,请按“取消”按钮,以免损坏它。如果此虚拟机未使用,请按“取得所有权(&T)”按钮以获取它..
分类:
其他好文 时间:
2014-07-22 14:59:04
阅读次数:
293
Wavio Sequence
Wavio is a sequence of integers. It has some interesting properties.
· Wavio is of odd length i.e. L = 2*n + 1.
· The first (n+1) integers of Wavio sequence makes a strictly i...
分类:
其他好文 时间:
2014-07-22 14:36:14
阅读次数:
248
最短路+次短路(SPFA)
题意是要求你找出最短路的条数+与最短路只差1的次短路的条数。
开始只会算最短路的条数,和次短路的长度。真是给次短路条数跪了。ORZ。其他人都用Dijkstra。我想试试SPFA。
然后大神说要把这个最短,次短都拿去push。而且要用最短来。priority_queue。优先队列。
改得无比忧伤。反正开始改来改去连样例都过不了。后来想着 如果最短可...
分类:
其他好文 时间:
2014-07-22 14:19:59
阅读次数:
239