#include <GL\glut.h> float fEarth = 2.0f;//地球绕太阳的旋转角度float fMoon = 24.0f;//月球绕地球的旋转角度 void Init(){ glEnable(GL_DEPTH_TEST);//启用深度测试 glClearColor(0.0f, ...
分类:
其他好文 时间:
2018-01-28 20:01:44
阅读次数:
239
Maximum Depth of Binary Tree 题解 原创文章,拒绝转载 题目来源:https://leetcode.com/problems/maximum depth of binary tree/description/ Description Given a binary tree ...
分类:
其他好文 时间:
2018-01-26 14:02:47
阅读次数:
101
图的深搜与广搜 复习下二叉树、图的深搜与广搜。从图的遍历说起。图的遍历方法有两种:深度优先遍历(Depth First Search), 广度优先遍历(Breadth First Search),其经典应用走迷宫、N皇后、二叉树遍历等。遍历即按某种顺序訪问“图”中全部的节点,顺序分为: 深度优先(优 ...
分类:
编程语言 时间:
2018-01-17 20:57:34
阅读次数:
181
Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) Yo ...
分类:
其他好文 时间:
2018-01-13 21:03:34
阅读次数:
157
df -h 磁盘100%cd /du -sh *?du -h --max-depth=1
分类:
系统相关 时间:
2018-01-11 18:21:21
阅读次数:
136
104. Maximum Depth of Binary Tree 题目 解析 "104. Maximum Depth of Binary Tree" ...
分类:
其他好文 时间:
2018-01-10 20:28:24
阅读次数:
137
在grub.conf中的kernel那行的后面,要在同一行,加上vga=ask,保存退出,启动时系统会问你需要什么分辨率的,有一大串选择。不同色彩和分辨率所对应的值depth 640x480 800x600 1024x768 1280x10248bit 769 771 773 77515bit 78 ...
分类:
其他好文 时间:
2018-01-10 18:41:47
阅读次数:
105
持续更新 RecursionError: maximum recursion depth exceeded while calling a Python object 递归错误:对象超过递归深度 发生:在递归中没有有限结束,python默认递归不超过998 ...
分类:
编程语言 时间:
2018-01-08 15:35:19
阅读次数:
174
DSO 代码中初始化的部分。CoarseInitializer 将第一帧作为 ref frame,第二帧作为 new frame。ref frame 的 idepth (inverse depth) 一开始的时候都设置为1,随后在确定 new frame 相对 ref frame 之间相对位姿、光度 ...
分类:
其他好文 时间:
2018-01-05 15:38:40
阅读次数:
610
查看自己安装的包。(是否成功)npm list -g --depth = 0 npm配置列表npm config list Nodejs的模块安装路径:npm prefix -g express框架是最新的,命令已经分割出来,要想用的话需要先安装express-generatornpm instal ...
分类:
Web程序 时间:
2018-01-04 23:35:21
阅读次数:
361