/home/wkubuntu/mysql/data/iZ25sgya7raZbak.pid pid 文件notfond 错误解决一、截图snipingtoolskip-locking 修改成 skip-external-locking添加两个 skip-name-resolve 和skip-gran...
分类:
数据库 时间:
2015-04-25 18:06:56
阅读次数:
171
题目链接
https://icpcarchive.ecs.baylor.edu/external/68/6802.pdf
图的标号和二维数组的不太一样,顺时针转90度就舒服多了
#include
#include
using namespace std;
int vis[100][100];
int start_x, start_y;
int final_x, final_y;
int di...
分类:
其他好文 时间:
2015-04-24 09:06:08
阅读次数:
129
题目链接
https://icpcarchive.ecs.baylor.edu/external/68/6800.pdf
bellman-ford照模板打了一段,能够找到负权回路,问题就是判断0点在不在负权回路中了,于是写了个记忆化dfs。
#include
#include
#include
#include
#include
using namespace std;
#de...
分类:
其他好文 时间:
2015-04-24 09:05:46
阅读次数:
156
题目链接
https://icpcarchive.ecs.baylor.edu/external/68/6809.pdf
枚举可以过,但弄个字符串或者数组去处理进制转换的确很麻烦,在vj里找到个大神的代码,真tm神奇,在这里贴下。
#include
#include
#include
#include
using namespace std;
int main()
{
unsigned i...
分类:
其他好文 时间:
2015-04-24 09:03:57
阅读次数:
138
题目链接
https://icpcarchive.ecs.baylor.edu/external/68/6801.pdf
借下队友的代码。
#include
#include
#include
unsigned long long dp[1010][1010];
bool flag[1010][1010];
char a[1010];
using namespace std;
int mai...
分类:
其他好文 时间:
2015-04-24 09:03:28
阅读次数:
110
com.alibaba.dubbo.rpc.RpcException: Since you are using server=‘servlet‘, make sure that the ‘contextpath‘ property starts with the path of external webapp at com.alibaba.dubbo.rpc.protocol.rest.Re...
分类:
其他好文 时间:
2015-04-23 20:03:47
阅读次数:
3371
com.alibaba.dubbo.rpc.RpcException: Since you are using server=‘servlet‘, make sure that the ‘contextpath‘ property starts with the path of external webapp at com.alibaba.dubbo.rpc.protocol.rest.Re...
分类:
其他好文 时间:
2015-04-23 18:05:24
阅读次数:
3637
关于Android4.4的图片路径获取,如果回来的Uri的格式有两种1、content://com.android.providers.media.documents/document/p_w_picpath:39512、content://media/external/p_w_picpaths/media/3951解决办法:1)、//>=4.4时if(DocumentsContract.isDocumentUri(context,conte..
分类:
移动开发 时间:
2015-04-22 18:44:01
阅读次数:
530
Play’s dependency management system allows you to express your application’s external dependencies in a singledependencies.ymlfile.A Play application ...
分类:
其他好文 时间:
2015-04-22 13:09:41
阅读次数:
288
import subprocess
#print ’popen3:’
def external_cmd(cmd, msg_in=''):
try:
proc = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE,...
分类:
编程语言 时间:
2015-04-21 20:47:19
阅读次数:
141