我们在game.h文件里进行函数声明: #define ROW 3 #define COL 3 #include <stdio.h> #include <stdlib.h> #include <time.h> //函数声明 void InitBoard(char board[ROW][COL], i ...
分类:
编程语言 时间:
2021-04-08 13:09:38
阅读次数:
0
通过修改系统环境变量: vim /etc/profile 添加 export PIPENV_DEFAULT_PYTHON_VERSION=3.7 export PIPENV_PYPI_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple 立即生效: sour ...
分类:
其他好文 时间:
2021-04-06 15:03:15
阅读次数:
0
win10 anaconda tensorflow gpu openpose done # # To activate this environment, use # # $ conda activate wind_202102 # # To deactivate an active environ ...
康威生命游戏的简要介绍, 实际上这并不是传统意义上的游戏, 而是一种数学模型, 通过简单的规则, 模拟出生命的繁衍和演化. ...
分类:
其他好文 时间:
2021-04-05 12:48:01
阅读次数:
0
参考文档:将pip源更换到国内镜像 在c盘user目录新建pip文件夹,然后在里面建一个pip.ini文件 文件内容如下: [global] index-url=https://pypi.doubanio.com/simple #index-url=https://pypi.tuna.tsinghu ...
分类:
其他好文 时间:
2021-04-05 12:29:36
阅读次数:
0
题目描述: Kids in kindergarten enjoy playing a game called Hawk-and-Chicken. But there always exists a big problem: every kid in this game want to play th ...
分类:
其他好文 时间:
2021-04-05 12:24:28
阅读次数:
0
问题: 勇士救公主问题。 勇士从左上角[0,0]出发,要到达右下角[n-1,m-1]公主所在。 只能向右or向下移动。 格子上的数字代表:加减血。 若到达某个格子勇士血量<1那么,勇士立即死亡。游戏失败。 求,至少在出发时,勇士的初始血量是多少。 Example 1: Input: dungeon ...
分类:
其他好文 时间:
2021-04-02 13:09:41
阅读次数:
0
环境:Mac + Rider + ET6.0 一:运行Demo 1:下载ET6.0,get:https://github.com/egametang/ET 2:下载.net core 5.0。ET6.0需要 .net5.0的 3:Unity打开前端:Unity版本为 2020.3.1 4:Rider ...
分类:
其他好文 时间:
2021-03-31 12:34:47
阅读次数:
0
A very simple tool that converts Swagger Api Document to Html File. 小记Swagger接口生成Html离线文档 由来 很多人用swagger2markup以及asciidoctor-maven-plugin插件来生成html格式的文 ...
分类:
Web程序 时间:
2021-03-31 12:32:00
阅读次数:
0
阿里云:http://mirrors.aliyun.com/pypi/simple/ 清华:https://pypi.tuna.tsinghua.edu.cn/simple/ 中国科技大学 https://pypi.mirrors.ustc.edu.cn/simple/ 华中理工大学:http:// ...
分类:
编程语言 时间:
2021-03-17 15:01:36
阅读次数:
0