链接: 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
今天开始学习ucore的lab。按照lab0的文档,显示介绍了80386的4个工作模式:real-address mode, protected mode,
SMM mode, virtual 8086 mode.ia-32-architectures-software-developer-syst...
分类:
其他好文 时间:
2014-06-09 21:24:48
阅读次数:
443
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
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
题目
Given two sorted integer arrays A and B, merge B into A as one sorted array.
Note:
You may assume that A has enough space (size that is greater or equal to m + n) to hold additional el...
分类:
其他好文 时间:
2014-06-08 05:05:47
阅读次数:
268
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
另一个例子,通过下面的log看,CPU在访问reserved的地址0x53611EFD,非法访问时该地址会在L1D内存控制器的L1DMPFSR寄存器中记录。
** FATAL EXCEPTION Nid:0x1262 TYPE:EXTERNAL:[0xEA07A]CpuL1DMemoryProtectionFault Violated memory address(L1DMPFAR):0x536...
分类:
其他好文 时间:
2014-06-08 04:13:06
阅读次数:
292
sudo apt-get install mysql-server
装完后 是无法远程访问的.
要先修改
sudo vim /etc/mysql/my.cnf
找到 bind-address = 127.0.0.1
注释掉.就ok了
如果之前装乱了...
可以这样彻底删除
sudo apt-get remove --purge mysql-server
sudo a...
分类:
数据库 时间:
2014-06-08 03:56:15
阅读次数:
288