Ubuntu: How to Change the Computer NamePosted
byRob RogersinLinuxYou might run into a situation that requires you to change
your computer name, either...
分类:
其他好文 时间:
2014-05-04 11:55:30
阅读次数:
390
找到\xampp\apache\conf\httpd.conf配置文件Access
forbidden!You don’t have permission to access the requested directory. There is
either no index document or ...
分类:
其他好文 时间:
2014-05-04 11:12:23
阅读次数:
336
题目描述:1038. Recover the Smallest Number
(30)Given a collection of number segments, you are supposed to recover the
smallest number from them. For examp...
分类:
其他好文 时间:
2014-05-04 10:49:34
阅读次数:
308
在runjs.cn上找了段代码,不过作者有意卖萌,有意复杂化代码。我需要的只是从0到100%的加载,加载到100%就停止,不要再乱动!效果图:放码过来: 1
window.onload = function(){ 2 //canvas initialization 3 var can...
分类:
Web程序 时间:
2014-05-04 10:40:37
阅读次数:
435
大致题意:每个样例包含两行,第一行输入n个字符,可能是无序的。第二行输入成对的a b,代表a要在b前面。输出所有的符合这样的序列。
思路:很明显的拓扑排序。要输出所有的序列,那么就从入度为0的点进行dfs,每次选择一个入度为0的点,加入输出序列并把与它相邻的点的入度减一。dfs结束后要把状态再改回来。
#include
#include
#include
#include
#i...
Say you have an array for which theithelement
is the price of a given stock on dayi.Design an algorithm to find the maximum
profit. You may complete a...
分类:
其他好文 时间:
2014-05-03 23:21:20
阅读次数:
292
dataNode 无法启动是配置过程中最常见的问题,主要原因是多次format namenode 造成namenode 和datanode的clusterID不一致。建议查看datanode上面的log信息。解决办法:修改每一个datanode上面的CID(位于dfs/data/current/VERSION文件夹中)使两者一致。...
分类:
其他好文 时间:
2014-05-03 21:37:44
阅读次数:
308
String Problem
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1442 Accepted Submission(s): 645
Problem Description
Give you a str...
分类:
其他好文 时间:
2014-05-03 21:28:56
阅读次数:
289
Codeforces Round #244 (Div. 2) 解题报告...
分类:
其他好文 时间:
2014-05-03 21:10:40
阅读次数:
314