原链接:http://www.live-in.org/archives/1410.html平时使用yum方式安装更新软件,可以自建一个yum源,同步官方更新源,这样如果本地有机器要升级的话就可以直接使用本地的更新源了。这里系统为CentOS 6.2。一、服务端1、安装需要的环境自建yum本地更新源可...
分类:
系统相关 时间:
2014-06-28 22:54:41
阅读次数:
424
自己之前的不见了。。这题是双向广搜即可过。。 1 // Colour Hash (色彩缤纷游戏) 2 // PC/UVa IDs: 110807/704, Popularity: B, Success rate: average Level: 3 3 // Verdict: Accepted ...
分类:
其他好文 时间:
2014-06-28 20:42:53
阅读次数:
194
[分享]Ubuntu12.04安装基础教程(图文)原文地址:http://teliute.org/linux/Ubsetup/lesson21/lesson21.html 1、进入 live cd 桌面 1)设置好启动后,断开网络,然后重新启动动计算机,能够用硬盘启动,也能够刻成光盘启动,镜像的下载...
分类:
其他好文 时间:
2014-06-28 17:31:20
阅读次数:
152
题目:给你一个数字n,一个数字b,问n!转化成b进制后的位数...
分类:
其他好文 时间:
2014-06-22 20:23:39
阅读次数:
178
题目如下:
Oil Deposits
The GeoSurvComp geologic survey company is responsible for detectingunderground oil deposits. GeoSurvComp works with one large rectangularregion of land a...
分类:
其他好文 时间:
2014-06-22 14:36:31
阅读次数:
232
题目来源:UVa 10828 Back to Kernighan-Ritchie
题意:从1开始 每次等概率从一个点到和他相邻的点 有向 走到不能走停止 求停止时每个点的期望
思路:写出方程消元 方程有唯一解 多解 无解的情况 有环 一直再环里无法停止算无穷大 从1不能到的点期望为0
#include
#include
#include
#include
#include
usin...
分类:
其他好文 时间:
2014-06-21 19:51:55
阅读次数:
338
这题有点类似LIS,由于颜色最多100种,所以只需建立一个100的数组,按对立面的关系以某种颜色为向上面的最大值就可以了。 1 #include 2 #include 3 #include 4 using namespace std; 5 6 int cube[505][7]; 7 int ...
分类:
其他好文 时间:
2014-06-21 12:58:02
阅读次数:
244
题目连接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=247&page=show_problem&problem=3666137646221225Digit CountingAccepte...
分类:
其他好文 时间:
2014-06-21 10:53:16
阅读次数:
365
题目连接:http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=163#ProblemVerdictLanguageRun TimeSubmission Date1...
分类:
其他好文 时间:
2014-06-20 20:23:12
阅读次数:
365