3036: 绿豆蛙的归宿Time Limit:2 SecMemory Limit:128 MBSubmit:108Solved:73[Submit][Status]Description随着新版百度空间的下线,Blog宠物绿豆蛙完成了它的使命,去寻找它新的归宿。给出一个有向无环的连通图,起点为1终点...
分类:
其他好文 时间:
2014-08-14 23:28:06
阅读次数:
292
LR在录制一个网站注册业务的脚本时,突然间遇到一个问题:注册时,由于注册用户需要验证唯一性,所以在LR回放脚本时,用Run-time Viewer工具回放可以发现(先在脚本中设置几个断点),真实运行的注册脚本用户并没有注册成功,如图:出现这样的问题,如何解决呢?当然,首先就想到了脚本参数化设置,于是...
分类:
其他好文 时间:
2014-08-14 23:22:06
阅读次数:
292
Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complet...
分类:
其他好文 时间:
2014-08-14 23:19:46
阅读次数:
240
在Linux平台上开发,经常会在console(控制台)上执行另外一个脚本文件,经常用的方法有:./my.sh或source my.sh或. my.sh;这三种方法有什么不同呢?我们先来了解一下在一个shell脚本中如何调用另外一个shell脚本,其方法有fork exec source。1...
分类:
其他好文 时间:
2014-08-14 23:12:56
阅读次数:
290
1084: [SCOI2005]最大子矩阵Time Limit:10 SecMemory Limit:162 MBSubmit:1129Solved:578[Submit][Status]Description这里有一个n*m的矩阵,请你选出其中k个子矩阵,使得这个k个子矩阵分值之和最大。注意:选出...
分类:
其他好文 时间:
2014-08-14 23:11:56
阅读次数:
327
Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complet...
分类:
其他好文 时间:
2014-08-14 23:05:56
阅读次数:
165
#$1必须是绝对路径crurl=$1func_hdir(){echo$crurlcd$crurlforaitemin`ls-l|grep"^d"|awk‘{print$9}‘`;docrurl=$crurl/$aitemfunc_hdir$aitemdonedirc=`ls$crurl`if["$dirc"=""]thenecho$crurlrm-rf$crurlficrurl=${crurl%/*}}func_hdir
分类:
系统相关 时间:
2014-08-14 20:59:50
阅读次数:
282
迷宫问题
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 7862
Accepted: 4615
Description
定义一个二维数组:
int maze[5][5] = {
0, 1, 0, 0, 0,
0, 1, 0, 1, 0,
0, ...
分类:
其他好文 时间:
2014-08-14 20:49:59
阅读次数:
207
Nice boat
Time Limit: 30000/15000 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others)
Total Submission(s): 1455 Accepted Submission(s): 645
Problem Description
There is an o...
分类:
其他好文 时间:
2014-08-14 20:49:29
阅读次数:
165
Persistent Bits
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 201 Accepted Submission(s): 116
Problem Description
WhatNext Softw...
分类:
其他好文 时间:
2014-08-14 20:48:21
阅读次数:
234