"874. 行走机器人模拟" 模拟 class Solution { public int robotSim(int[] commands, int[][] obstacles) { int max = 0; int[][] dx = {{0, 1}, {1, 0}, {0, 1}, { 1, 0} ...
分类:
其他好文 时间:
2018-07-22 12:00:13
阅读次数:
615
~~~~ 在 “Tools” "Compiler Options" "Add following commands when calling complier" 下面的编辑框里加上: g3 然后在下面的 "Add these commands to the linker command line" ...
分类:
编程语言 时间:
2018-07-22 11:36:09
阅读次数:
164
在spiders同级创建任意目录,如:commands 在其中创建 crawlall.py 文件 (此处文件名就是自定义的命令) 在settings.py 中添加配置 COMMANDS_MODULE = '项目名称.目录名称' 在项目目录执行命令:scrapy crawlall ...
分类:
其他好文 时间:
2018-07-22 00:19:03
阅读次数:
152
回家装上archlinux,突发奇想装个SpaceVim写题 安装配置一路可以说是没有太大问题 最后在写题时出现如下问题 查了查google,发现这是clang check的问题,clang check需要一个compile_commands.json文件(可由cmake生成)做到工程化check ...
分类:
数据库 时间:
2018-07-19 00:14:28
阅读次数:
687
exec和source都属于bash内部命令(builtins commands),在bash下输入man exec或man source可以查看所有的内部命令信息。 bash shell的命令分为两类:外部命令和内部命令。 外部命令是通过系统调用或独立的程序实现的,如sed、awk等等。 内部命令... ...
分类:
系统相关 时间:
2018-07-14 18:45:08
阅读次数:
219
在Ubuntu或者Debian已经部署完毕Docker 拉取镜像文件: Deploy Portainer Use the following Docker commands to deploy Portainer: 在debian执行过程如下: portainer的镜像文件17M多。 浏览器输入ht ...
分类:
其他好文 时间:
2018-07-12 13:20:25
阅读次数:
179
一、实验目的:掌握基于链路的OSPF简单口令认证 二、拓扑图: 三、具体步骤配置: (1)R1路由器配置 Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL ...
分类:
其他好文 时间:
2018-06-27 14:09:12
阅读次数:
184
一、实验目的:掌握OSPF基于区域的MD5认证 二、拓扑图: 三、具体步骤配置 (1)R1路由器配置 Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z ...
分类:
其他好文 时间:
2018-06-27 13:50:56
阅读次数:
258
一、实验目的:掌握区域的OSPF简单认证 二、拓扑图: 三、具体步骤配置: (1)R1路由器配置 Router>enable Router#configure terminal Enter configuration commands, one per line. End with CNTL/Z. ...
分类:
其他好文 时间:
2018-06-27 12:13:52
阅读次数:
162
拓扑图如下 路由器1配置: Router>enable 进入特权模式 Router#config terminal 进入全局配置模式 Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostnam ...
分类:
其他好文 时间:
2018-06-24 16:59:03
阅读次数:
153