- 博客(7)
- 资源 (2)
- 收藏
- 关注
原创 递归转循环
recursion to stack问题:把一个递归函数转换成非递归,由于数据量导致栈溢出了。虽然没有看懂被人写的算法,但是看懂了逻辑结构。主要难点是因为函数主题是一个while true的循环,循环体里面是很多个 if 分支,有的分支会return,有的会改变入参a,有的分支会递归调用被改变后的a并在递归结束后做其他操作也及分支判断。思路再加一层栈不为空的循环;入栈元素以及元素入...
2019-08-05 10:47:53
394
原创 vmware win10 一直卡死 无法启动
就是这样没有任何报错提示,启动后一直卡着,文件考到别的机器上可以启动 重装未能解决,最终定位,是我开了cf挂机……
2018-11-10 18:53:19
5168
翻译 smartmontools check disk
#!/bin/bash# SMART TEST SCRIPT echo "# Message: Installing smartmontools ..."sudo apt-get install -y smartmontools > /dev/null && \echo "# Message: Installed smartmontools."...
2018-09-27 15:39:38
239
转载 gsl
# gslhttps://www.cnblogs.com/apache11/archive/2013/01/10/2854920.htmlhttp://www.verysource.com/sources_5030_rar-download-17755.html
2018-08-15 15:12:59
319
转载 游戏开发中会用到哪些常用AI算法
http://www.cnblogs.com/ccsccs/articles/4137725.html游戏开发中会用到哪些常用AI算法“人工智能”(Artificial Intelligence)简称AI,在游戏里是必不可缺的,请教一般在哪些地方会使用什么样的AI算法,比如寻路、战斗等等。 游戏编程中的寻路算法在游戏关卡中常常会放置一些怪
2017-02-16 08:45:43
3074
转载 Youth
Youth is not a time of life. It is a state of mind. It is not a matter of rosy cheeks, red lips and supple knees. It is a matter of the will, a quality of the imagination, a vigor炙热 of the emotions.
2015-12-01 11:47:32
390
Unity驾驶car
2015-11-30
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人