链接: http://acm.hrbust.edu.cn/index.php?m=ProblemSet&a=showProblem&problem_id=1752
Description
There are n webpages, each of which has its respective page rank. The content is constantly updated ...
分类:
其他好文 时间:
2014-06-09 23:32:22
阅读次数:
270
最近写了一个数据库采集程序,大概过程是将SQLSERVER数据库的数据定时采集到Oracle数据库。1小时出一次数据,每次数据量在2W左右。环境采用Sping3+hibernate4,数据库连接池采用C3p0
奇怪的时候每隔一段时间都会报:“c3p0 connection is already closed”
我开始的数据库连接池配置如下:oracle数据库开启事务,而采集的sqlserve...
分类:
其他好文 时间:
2014-06-08 18:02:04
阅读次数:
182
package com.org.beimei;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.ArrayLi...
分类:
数据库 时间:
2014-06-08 17:49:54
阅读次数:
261
Find the contiguous subarray within an array (containing at least one number) which has the largest sum....
分类:
其他好文 时间:
2014-06-08 15:54:08
阅读次数:
258
Given an array of words and a length L, format the text such that each line has exactly L characters and is fully (left and right) justified.
You should pack your words in a greedy approach; that i...
分类:
编程语言 时间:
2014-06-08 15:25:00
阅读次数:
282
网络基础知识
1 Introduction
2 Connection
3 Routing Algorithm...
分类:
Web程序 时间:
2014-06-08 10:52:13
阅读次数:
394
acm菜鸡必备
1 runtime! debian.vim
2 if has("syntax")
3 syntax on
4 endif
5 if filereadable("/etc/vim/vimrc.local")
6 source /etc/vim/vimrc.local
7 endif
8 "syntax high light
9 synta...
分类:
其他好文 时间:
2014-06-08 09:45:09
阅读次数:
286
MySQL总是崩溃
首先你应该试着找出问题MySQLd守护进程是否死掉或你的问题是否与你的客户有关。你可以用MySQLadmin version检查你的MySQLd服务器正常执行了多长时间,如果MySQLd死了,你可以在文件“MySQL-data-directory/'hostname'.err”中找到其原因。
使用MySQL时的一些常见错误
MySQL server has g...
分类:
数据库 时间:
2014-06-08 09:00:48
阅读次数:
286
package mypackage;
import java.lang.reflect.Field;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.ResultSet;
import java.sql.ResultSetMetaData;
import java.sql.SQLExceptio...
分类:
移动开发 时间:
2014-06-08 08:12:41
阅读次数:
273
Description
A robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move are laid down in a grid. The possible instructions are
...
分类:
其他好文 时间:
2014-06-08 04:38:32
阅读次数:
386