自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 收藏
  • 关注

原创 MSVC2019 PCL1.12.1 C2760错误

最近在学习PCL库的时候总是弹出C2760错误,以往规范一下代码还好,这次问题直接找到PCL库里去了,只能学习网上的方法使用/permissive命令显示启用 Microsoft 扩展支持,这里的缘由不是想得很明白,留作以后思考吧。具体操作方式为在项目的.pro文件中加入以下代码。

2022-10-05 23:07:15 263 1

原创 QT6 MSVC2019 PCL1.12.1 VTK9.1 Eigen::internal::aligned_free bug

解决方案是启用AVX,故对于我使用MSVC2019就是在工程的.pro文件中添加一行。最近在学习QT+点云库时偶然遇到的这个bug,程序崩溃,debug找到崩溃点是。指针释放有关,确认自己程序没有问题,于是去搜索了一番找到了。然后对项目清除并重新构建即可。

2022-10-03 23:57:44 662 2

原创 DMA学习笔记

啃手册的过程~DMA(Derict Memory Access,直接存储器存储),回顾STM32的运行架构,数据的转移时常发生,需要内核操作,比较浪费计算资源,而DMA代CPU完成数据的转移可以减轻CPU的工作量,使之专注于计算工作,大大提升效率,这大概就是DMA的重要意义。![](https://img-blog.csdnimg.cn/img_convert/ea0dee3a35c4e263ba382510477ef61c.png#clientId=u6aa98445-78e2-4&crop=

2022-04-03 18:32:48 1505

原创 [圆反演][笛卡尔定理]Rohith and Circles

由于第一次做圆反演类型的题,进行了一番学习,于是就有的这篇博客。尽可能细致地介绍了过程

2022-04-03 18:13:17 1129

原创 [最短路]POJ#3159 Candies

题面传送门CandiesTime Limit: 1500MS Memory Limit: 131072KTotal Submissions: 48558 Accepted: 13814DescriptionDuring the kindergarten days, flymouse was the monitor of his class. Occasionally the head-teacher brought the kids of flymouse’s class a large b

2022-03-25 22:37:54 71

原创 [最小生成树]POJ #1251 Jungle Roads 解题笔记

题面传送门Jungle RoadsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 44218 Accepted: 20835DescriptionThe Head Elder of the tropical island of Lagrishan has a problem. A burst of foreign aid money was spent on extra roads between villages some

2022-03-25 22:37:08 75

原创 [最小生成树][迭代]POJ#2728 Desert King解题笔记

题面传送门Desert KingTime Limit: 3000MS Memory Limit: 65536K TotalSubmissions: 38055 Accepted: 10132 DescriptionDavid the Great has just become the king of a desert country. To winthe respect of his people, he decided to build channels all over hiscou

2022-03-23 20:26:46 155

原创 [dij]POJ#2253 Frogger 解题笔记

题面传送门FroggerTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 90898 Accepted: 27297DescriptionFreddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to visit her,

2022-03-20 16:30:54 273

原创 [传递闭包]POJ#3660 Cow Contest

题面传送门Cow ContestTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 24342 Accepted: 13539DescriptionN (1 ≤ N ≤ 100) cows, conveniently numbered 1…N, are participating in a programming contest. As we all know, some cows code better than others

2022-03-20 11:58:43 84

原创 [分治]CodeForces #1490 Permutation Transformation 解题笔记

题面D. Permutation Transformationtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA permutation — is a sequence of length n integers from 1 to n, in which all the numbers occur exactly once. For exam

2022-03-19 11:55:39 916

原创 [分块分治]CodeForce #567C Points on Plane

题面C. Points on Planetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOn a plane are n points (xi, yi) with integer coordinates between 0 and 106. The distance between the two points with numbers a

2022-03-17 22:42:53 293

原创 #2656. [Zjoi2012]数列(sequence)解题笔记

高精+记忆化因为高精所以就用了python

2022-03-17 22:19:06 146

原创 从零开始,手把手教你使用Keras和TensorFlow构建自己的CNN模型

最近学习CNN,搭建CNN模型时看网上鱼龙混杂的博客走了不少歪路,决定自己来总结一下。环境是Python 3.8.12 ,TensorFlow 2.3.0,Keras 2.4.3

2022-03-16 20:14:21 8466 10

原创 Fractal解题笔记

题面A fractal is an object or quantity that displays self-similarity, in a somewhat technical sense, on all scales. The object need not exhibit exactly the same structure at all scales, but the same “type” of structures must appear on all scales.A box frac

2022-03-15 23:55:57 193

原创 AttributeError: type object ‘h5py.h5.H5PYConfig‘ has no attribute ‘__reduce_cython__‘问题解决方案

安装TensorFlow后在Python里导入报错AttributeError: type object 'h5py.h5.H5PYConfig' has no attribute '__reduce_cython__'搜到的解决方法是升降h5py到相应版本,但是没有效果。在Stack Overflow上找到的说法是这通常是由于没有安装h5py的头文件,卸载pip uninstall h5py然后通过conda安装conda install -c anaconda h5py问题解决!...

2022-03-10 12:03:37 5461

原创 stm32库函数开发小结

铺垫:外设基本都具有以下几类寄存器:控制寄存器xxx_CR,用于配置、控制相应外设,如USART_CR1~USART_CR3等。数据寄存器xxx_DR,存储外设输入输出的数据,如GPIOx_IDR、GPIOx_ODR等。状态寄存器xxx_SR,存储当前外设状态,主要为一些标志位,如USART_SR、ADC_SR等。功能划分十分清晰,这样我们也基本能明白常见的初始化操作乃至其他操作寄存器在做什么。初始化先前的学习中,我们使用函数库来初始化,大量使用XXX_InitTypeDef类型的XXX_InitSt

2022-03-09 21:16:26 497

原创 符环 解题笔记

题目Description在可以炼制魔力强大的法杖的同时,Magic Land 上的人们渐渐意识到,魔力强大并不一定能给人们带来好处——反而,由此产生的破坏性的高魔力释放,给整个大陆蒙上了恐怖的阴影。可控的魔力释放,成为了人们新的追求。这种控制魔力释放的技术,也就是被现在的我们熟知的“魔法”。在远古时期,“魔法”由法师们口口相传,但也因为这样,很多“古代魔法”已经成为传说——因为那时没有良好的记录魔法的方法。后来,天才法师Ferdinand 发现了一种记录魔法的方法:将一种特殊材料做成的

2022-03-08 11:57:28 153

原创 Qt在Windows系统中串口通信最高波特率

最近利用Qt写上位机时遇到了一个设置波特率的问题,按照Qt官方文档的说法,参数只要是qint32类型的都可以,但是实际使用发现超过大约3M的波特率就会修改波特率失败,如果是打开串口前修改也会因为波特率修改失败无法打开串口。找到的Qt返回的错误码是8:UnkownError这让我摸不着头脑,于是一路顺着Qt源码找下去。找到了qtserialport/src/serialport/qserialport.cpp文件中的设置波特率函数bool QSerialPort::setBaudRate(qint32 b

2022-03-07 23:18:40 2728 3

原创 CodeForce#1625B Elementary Particles解题笔记

原题链接B. Elementary Particlestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMartians are actively engaged in interplanetary trade. Olymp City, the Martian city known for its spaceport

2022-03-06 22:30:02 360

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除