本文为PCL官方教程的Registration模块的中文简介版。 An Overview of Pairwise Registration 点云配准包括以下步骤: from a set of points, identify interest points (i.e., keypoints) tha ...
分类:
编程语言 时间:
2020-02-04 18:27:29
阅读次数:
196
工欲善其事,必先利其器,安利一波前端插件。 Chinese (Simplified) Language Pack for Visual Studio CodeVScode汉化插件 Beautify代码自动美化插件 Bracket Pair Colorizer括号有颜色容易区分的插件 vscode-i ...
分类:
其他好文 时间:
2020-02-03 20:41:40
阅读次数:
93
初步熟悉了vsc的工作逻辑.在前面一篇的配置过程中里也熟悉了一点.json配置文件的编辑逻辑. 把插件都记录在这里会不会有利于工作环境的迁移?我觉得这是法律允许的事情.jpg. vsc已安装的插件说明(持续更新中) Bracket Pair Colorized 2(各层括号多彩配对) C/C++(M ...
分类:
其他好文 时间:
2020-02-03 15:37:54
阅读次数:
85
为了对类有更加深入的理解,继续学习类相关知识。 8.1修改实例的字符串标识 class Pair: def __init__(self, x, y): self.x = x self.y = y def __repr__(self): # !r标志__repr__输出 return 'Pair({0 ...
分类:
编程语言 时间:
2020-02-03 09:32:58
阅读次数:
52
思路: 二分答案。 实现: 1 #include <bits/stdc++.h> 2 using namespace std; 3 typedef long long ll; 4 const int N = 200005; 5 ll l[N], r[N]; 6 bool check(ll x, in ...
分类:
其他好文 时间:
2020-02-02 13:52:53
阅读次数:
75
一个 $(l,r)$ 有两个后继,所以 sg 值最大只有 2,$r-l+1$ 相等的 pair 的 sg 值相同,那么就枚举 $d=r -l+1$,对于一个 $d$ 很容易求有多少对 $(l,r)$ 满足 $r-l+1=d$ 打表发现 $d$ 的 sg 值最多只有 100 段。 设 $g_i$ 表示 ...
分类:
其他好文 时间:
2020-02-01 17:51:58
阅读次数:
86
http://acm.hdu.edu.cn/showproblem.php?pid=2044 #include <stdio.h> #include <cstring> #include <algorithm> #include <vector> #include <map> #include <a ...
分类:
其他好文 时间:
2020-02-01 16:17:05
阅读次数:
64
区间合并就是将坐标轴中两个存在交集的区间合并成一个区间。 代码: #include<bits/stdc++.h> using namespace std; const int N = 1000010; typedef pair<int,int> PII; //用来存放区间的左右端点 vector<P ...
分类:
编程语言 时间:
2020-01-31 00:42:27
阅读次数:
123
"题目链接www" 仔细观察我们会发现以下规律 固定 A[i], 每 n 个和都是有序的: A[1] + B[1], A[1] + B[2], …, A[1] + B[n] A[2] + B[1], A[2] + B[2], …, A[2] + B[n] … A[n] + B[1], A[n] + ...
分类:
其他好文 时间:
2020-01-30 12:57:18
阅读次数:
71
1. Two sum 因为只有一个solution(pair),所以一旦发现解返回即可。使用unordered_map或者unordered_set存当前数字,找complement. 2. Add two number 双指针,使用dummy作为返回链表。 3. Longest substring ...
分类:
其他好文 时间:
2020-01-30 09:17:40
阅读次数:
68