问题:
今天中午沛爷解决了OJ打开慢的问题以后刚走,我随后在oj上交了个题目就发现waiting了.....
问马前辈和全哥,均认为测评程序挂了,于是重启测系统,还waiting.....(测评系统的进程一直在,就是waiting)
听全哥的开始查看测评系统的日志文件:
日志文件在oj_judge/nohup.out,出现N多的ERROR:root:Cannot connect to da...
分类:
其他好文 时间:
2014-08-23 19:07:01
阅读次数:
253
Problem DescriptionThere are N villages, which are numbered from 1 to N, and you should build some roads such that every two villages can connect to e...
分类:
其他好文 时间:
2014-08-23 15:15:40
阅读次数:
234
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'的解决原因是目录 的访问权限问题,ubuntu下用下面的命令(其他发行版用管理员权限,把sudo去掉)sudo chown -R mysql...
分类:
数据库 时间:
2014-08-23 15:06:40
阅读次数:
220
public function connect($h,$u,$p) { $this->conn = mysql_connect($h,$u,$p); if(!$this->conn) { $err = new Exception('连接失败'); ...
分类:
其他好文 时间:
2014-08-23 13:50:40
阅读次数:
214
Android adb setup for ubuntu connect the device to ubuntu, use command $sudo lsusb will display like: mean: Spreadtrum device idVendor 1782 ?idProduct 5d24 1, touch the file: ~/.android/adb_usb.in...
分类:
移动开发 时间:
2014-08-23 03:36:20
阅读次数:
249
一台测试服务器上的数据库无法访问,远程能访问服务器1521端口,但是通过pl/sql连不上。 登录数据库服务器,执行: $ lsnrctl statusListening Endpoints Summary... (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=1...
分类:
其他好文 时间:
2014-08-22 17:43:49
阅读次数:
236
1、测试过程中 oracle连接很慢:conn = env->createConnection(user, passwd, connect_string);单步到这里,等待返回很慢。处理方法:1、检测现象问题: 1)sqlplus system@数据库用户名/密码 返回提示,非常慢。 2)tnspi...
分类:
数据库 时间:
2014-08-22 17:40:59
阅读次数:
261
Description
A Civil Engineer is given a task to connect n houses with the main electric power station directly or indirectly. The Govt has given him permission to connect exactly n wires to connect...
分类:
其他好文 时间:
2014-08-22 16:24:39
阅读次数:
289
解题报告
题目传送门
题意:
使得学校网络互通的最小花费,一些楼的线路已经有了。
思路:
存在的线路当然全都利用那样花费肯定最小,把存在的线路当成花费0,求最小生成树
#include
#include
#include
#include
#define inf 0x3f3f3f3f
using namespace std;
int n,m,_hash[1110][1110],...
分类:
其他好文 时间:
2014-08-22 01:39:25
阅读次数:
211
做C#朋友的一个获取DataSet函数,对C#不熟,整理整理,了解怎么用//挂载表格时候用 public static DataSet Query(string SQLString) { using (SQLiteConnection connect...
分类:
数据库 时间:
2014-08-21 16:34:24
阅读次数:
197