A game on an?undirected?graph is played by two players, Mouse and Cat, who alternate turns. The graph is given as follows: is a list of all nodes such ...
分类:
其他好文 时间:
2019-09-13 01:29:43
阅读次数:
109
"题目链接" Solution SAM I AM 题目大意:给定一个$n$行$m$列的网格图,某些网格上有敌人.请你选择一些行和一些列,覆盖所有敌人.并且使得选择的行与列数量之和最小 我们将每行看做$X$顶点,将每列看做$Y$顶点.原来行与列的交点就变成$X$,$Y$顶点之间的边.那么原来的网格图就 ...
分类:
其他好文 时间:
2019-09-12 21:46:40
阅读次数:
116
Su 切换用户 查看当前登录的用户:whoami、id 查看当前用户属于哪个组:groups 查看当前计算机中有几个组:cat /etc/group Groupadd 组名 添加组 Groupsdel 组名 删除组 avahi:x:122: colord:x:123: geoclue:x:124: ...
分类:
系统相关 时间:
2019-09-12 13:44:04
阅读次数:
124
常用命令 dir:列出当前目录下的所有文件 clc:清除命令窗 clear all:清除环境(从内存中清除所有变量) who:将内存中的当前变量以简单形式列出 close all: 关闭所有的 Figure 窗口 变量设置 (1).变量命名 MATLAB 的变量名以字母打头,后最多可跟 19 个字母 ...
分类:
其他好文 时间:
2019-09-12 10:22:07
阅读次数:
126
太强了!% Accoty_AM,巨佬就是不一样,起名都自己写生成器。 此为生成器代码: ...
分类:
其他好文 时间:
2019-09-11 19:42:26
阅读次数:
101
如何让history命令显示日期-时间-登录IP-用户名 修改: vim /etc/bashrc 在文件最后面加入如下两行: USER_IP=`who -u am i 2>/dev/null| awk '{print $NF}'|sed -e 's/[()]//g'` export HISTTIME ...
分类:
其他好文 时间:
2019-09-10 20:48:25
阅读次数:
115
COMP 5416 Assignment 1 (2019)Due: 7/Sep/2019 23:59Question 1 (Delay). As shown in the figure below, a file of size F = 1000 bytes is transmitted on an ...
分类:
其他好文 时间:
2019-09-09 19:26:43
阅读次数:
58
% : 印出 % %n : 下一行 %t : 跳格 %H : 小时(00..23) %I : 小时(01..12) %k : 小时(0..23) %l : 小时(1..12) %M : 分钟(00..59) %p : 显示本地 AM 或 PM %r : 直接显示时间 (12 小时制,格式为 hh:m ...
分类:
其他好文 时间:
2019-09-09 14:45:12
阅读次数:
83
RobotsGiven a directed graph with no loops which starts at node 11 and ends at node nn.There is a robot who starts at 11, and will go to one of adjace ...
分类:
其他好文 时间:
2019-09-09 13:02:02
阅读次数:
90
Long long ago, the sky and the earth were not separated, and the universe was chaotic. There was a giant named Pangu who slept for eighteen thousand y ...
分类:
其他好文 时间:
2019-09-08 22:13:07
阅读次数:
133