1. 修改CMakeLists.txt Examples/ROS/ORB_SLAM2下的CMakeLists.txt 原 set(LIBS ${OpenCV_LIBS} ${EIGEN3_LIBS} ${Pangolin_LIBRARIES} ${PROJECT_SOURCE_DIR}/../../ ...
分类:
其他好文 时间:
2020-10-18 09:52:05
阅读次数:
20
给定一个 \(n\) 个点 \(m\) 条边的边带权简单连通无向图,在 $0$ 时刻你在点 $1$ 上。 假设当前是 \(t\) 时刻,你在点 \(v\) 上,你可以选择两种操作: 仍停留在点 \(v\) 上,操作后到 \(t+1\) 时刻。 选择一条边 \((a,b,w)\) 满足 \(a=v\) ...
分类:
其他好文 时间:
2020-10-18 09:37:30
阅读次数:
14
CountDownLatch 用于等待其它线程都处于就绪状态: #include <mutex> #include <condition_variable> class CountDownLatch { public: CountDownLatch(uint32_t count) : m_count ...
分类:
编程语言 时间:
2020-10-18 09:24:14
阅读次数:
22
写一个网络爬虫 用C语言来写一个网络爬虫,来获取一个网站上感兴趣的信息,抓取自己需要的一切。 #include<cspider/spider.h>/* 自定义的解析函数,d为获取到的html页面字符串 */voidp(cspider_t *cspider,char*d) {char*get[100] ...
分类:
编程语言 时间:
2020-10-18 09:22:05
阅读次数:
17
#include <glad/glad.h>#include <GLFW/glfw3.h>#include <iostream> void framebuffer_size_callback(GLFWwindow* window, int width, int height){ glViewport ...
分类:
其他好文 时间:
2020-10-16 11:15:58
阅读次数:
33
使用Thymeleaf模板引擎和SpringBoot完成基本的CURD操作,使用SpringBoot推荐的Restful风格。模拟数据库。 ...
分类:
编程语言 时间:
2020-10-16 10:49:46
阅读次数:
20
记录一下: 我们在特定的情况下强制刷新某些组件 利用include、exclude属性 <keep-alive include="bookLists,bookLists"> <router-view></router-view> </keep-alive> <keep-alive exclude=" ...
分类:
其他好文 时间:
2020-10-14 20:52:19
阅读次数:
45
题目链接 Haywire 分析 模拟退火裸题,交了 $4$ 次 \(Code\) #include<cstdio> #include<algorithm> #include<cmath> using namespace std; int n , a[15][5] , pos[15] , tmp[15 ...
分类:
其他好文 时间:
2020-10-14 20:36:25
阅读次数:
23
题目 请前往 [JSOI2004]平衡点 分析 随机算法 为何不模拟退火呢? 于是(其实目前我不懂怎么判断平不平衡) 能量越小系统越平衡 \(Code\) #include<cstdio> #include<algorithm> #include<cmath> using namespace std ...
分类:
Web程序 时间:
2020-10-14 20:33:13
阅读次数:
32
#include<stdio.h> const char*name = "hello audio"; char*usb_name = "ac usb string descriptor"; int main() { name = usb_name; // name[0] = 'a'; printf( ...
分类:
编程语言 时间:
2020-10-14 20:06:07
阅读次数:
34