10 2014 档案
摘要:安装好时路径是在 /var/www/html如果我想改成 /var/www的话,按如下步骤修改即可sudo gedit /etc/apache2/sites-available/000-default.conf打开文件后找到 DocumentRoot /var/www/html 这一行,改成 /v...
阅读全文
摘要:出现如下提示:AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive global...
阅读全文
摘要:#include #include int main(){ time_t raw; struct tm* ti; time(&raw); ti=localtime(&raw); printf("%d-%d-%d %d:%d:%d\n",ti->tm_year+1900,ti->tm_mon+1,...
阅读全文
摘要:不断寻找增广路,每找到一条增广路,匹配数加1#include #include #include using namespace std;int m,bn,gn;vector vec[510];bool b[510]; //记录v2的点是否被访问过int lk[510]; //记录v2匹配的点boo...
阅读全文
摘要:系统引导出错,如果grub核心文件还在分区内,可用如下办法解决:rescue模式下可使用的命令有:set,ls,insmod,root,prefix(设置启动路径)在rescue模式下search命令不能用,对不清楚grub2文件处于哪个分区的,可以用ls命令查看,比如1)无boot分区的情况ls ...
阅读全文
摘要:基于dfsdfn[i]表示点1到i的距离,low[i]表示点i的根节点为low[i],从点low[i]和点i可以相互到达dfs点1,如果low数组全为1,即1可以和其他所有点相互到达,则输出Yes代码如下:#include #include #include using namespace std;...
阅读全文

浙公网安备 33010602011771号