自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 HTTP常用状态码

http常用状态码

2022-12-01 15:45:38 546 1

原创 基于全景相机的视觉里程计算法研究

基于全景视频的视觉里程计算法研究

2022-11-16 17:33:07 739

原创 基于全景相机的视觉SLAM

基于全景相机的视觉SALM开发

2022-11-14 21:18:25 2161

原创 orb slam3 kitti00_02.yaml注释

%YAML:1.0#--------------------------------------------------------------------------------------------# Camera Parameters. Adjust them!#--------------------------------------------------------------------------------------------#对于slam3来说必不可少的一个添加Cam

2022-03-03 10:51:56 3031

原创 unity 安卓10+上传文件到阿里云权限问题

出现问题:旧手机(<10)能上传新手机无法上传why??经测试是手机权限问题解决:android10+需要在AndroidManifest.xml里添加android:requestLegacyExternalStorage=“true”<application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="true" android:request

2021-09-01 16:24:35 165 1

原创 unity 访问安卓相册获取图片或视频

前言项目要解决的问题:unity访问安卓相册获取图片或视频,且该activity不能继承UnityPlayerActivity(避免与其他包起冲突)解决方式:在C#中获取UnityPlayerActivity类,并且将其作为参数传入方法。参考:Unity添加多个安卓SDK解决冲突(https://blog.csdn.net/weixin_30572613/article/details/96530111)若没有以上问题,完全可以参考一下两篇:但是以下两篇还是略微麻烦,提到了很多不必要的操作,可

2021-09-01 16:03:40 2707 4

转载 2021-07-11 python CV2.VideoWriter()写入视频无法播放

情况一:保存下来的视频很小,不到1KB问题是:VideoWriter的size与frame不一致,解决方案是:把Size调一致。情况二:视频保存下来也有一定大小但是打不开:官方文档的教程包括网上大部分教程都是这样创建fourcc的:# Define the codec and create VideoWriter objectfourcc = cv2.VideoWriter_fourcc(*'XVID')out = cv2.VideoWriter('output.avi',fourcc,

2021-07-11 16:41:02 4455 2

原创 Unity项目发布后会出现部分功能无法使用

解决第一步是:重启一下 unity,可能长时间没有关闭Unity导致项目发布后部分功能丢失。如果重启后还不行的话,再考虑其他相关的技术问题。

2020-10-23 16:45:41 1540

原创 Unity 3d UI获取外部摄像头拍摄

Unity 3d UI获取外部摄像头拍摄3D环境下调用外部摄像头的方法网络上有很多,在此不过多说,本方法是在2D环境下利用UI来调用外部摄像头进行拍摄,总体而言,两种环境下所用到的核心方法是一样的。1、创建一个RawImagin,并命名为CameraPlay2、创建一个脚本,命名为PlaneManager,将脚本随便挂在一个物体上。脚本中的public RawImage rawImage;要记得在Inspector面板中把CameraPlay添上去using System.Collec

2020-10-19 11:17:40 1866 8

转载 C# List用法 List介绍

https://www.cnblogs.com/dyhao/p/9501479.html

2020-09-14 19:39:51 136

原创 HDOJ-2054

题目描述解题思路//大数比较//结合已有的经验来看 //在string类型的比较下 只需考虑后导0的情况//如:0.1 0.100//若使用double类型 oj可能识别为0.1 与0.100不相等而WA #include<iostream>#include<string>using namespace std;void fun(string &am...

2020-04-16 21:29:37 274

原创 HDOJ-2032

题目描述补充知识-杨辉三角(1)每行端点与结尾的数为1.(2)每个数等于它上方两数之和。解题思路#include<iostream>using namespace std;int main(){ int a[31][31]; int n; while(cin>>n) { for(int i=0;i<n;i++) { a[i][0...

2020-04-16 15:19:17 158

原创 HDOJ-2030

题目描述补充知识统计字符串中汉字的个数:(1)汉字ascii码小于0;(2)统计ascii码小于0的个数,一个汉字占两个字节,所以最后要除以2;解题思路#include<iostream>#include<string>#include<cstring>using namespace std;int main(){ int n; ci...

2020-04-16 14:52:17 201

原创 HDOJ-2028

题目描述解题思路#include<iostream>using namespace std;//求最大公约数 辗转相除法int gcd(int a,int b) { if(a%b==0) return b; else { return gcd(b,a%b); }}int main() { int n; while(cin>>n) { i...

2020-04-16 11:24:25 75

原创 HDOJ-2026

题目描述解题思路#include<iostream>#include<string>#include<cstring>using namespace std;//小写字母转换为大写字母 void change(char &a){ a=a-32;}int main(){ char str[101]; while(cin.get...

2020-04-16 10:22:17 275

原创 20161202 工资计算

题目描述解题思路#include<iostream>using namespace std; int main(){ int t,i; cin>>t; if(t <= 3500) { cout<<t<<endl; return 0; } for(i = 3600; i <= 200000; i=i+100...

2020-04-15 18:15:17 119

原创 HDOJ-2025

题目描述补充说明:若一开始对string str操作可用其插入函数 str.insert()string& insert(int pos, const char* s); //插入字符串string& insert(int pos, const string& str); //插入字符串string& insert(int pos, int n, cha...

2020-04-15 18:13:11 112

原创 HDOJ-2024

题目描述补充知识C语言标识符是指用来标识某个实体的一个符号,在不同的应用环境下有不同的含义,标识符由字母(A-Z,a-z)、数字(0-9)、下划线“_”组成,并且首字符不能是数字,但可以是字母或者下划线。例如,正确的标识符:abc,a1,prog_to。解题思路#include<iostream>#include<cstring>#include<s...

2020-04-15 17:08:43 152

原创 HDOJ-2023

题目描述解题思路#include<iostream>#include<cstdio>using namespace std;int main() { int n,m; int a[51][6]; while(cin>>n>>m) { for(int i=0; i<n; i++) for(int j=0; j<m...

2020-04-15 16:21:51 136

原创 HDOJ-2022

题目描述解题思路#include<iostream>#include<cmath>using namespace std;int main() { int n,m; while(cin>>n>>m) { int a[101][101];//若此处定义为a[n][m]将会出现Compilation Error for(int ...

2020-04-15 11:50:48 125

原创 HDOJ-2021

题目描述解题思路#include<iostream>using namespace std;int count(int n) { //n工资至少需要的人民币的个数 int sum=0; int a,b,c,d,e,f; a=n/100; b=(n-a*100)/50; c=(n-a*100-b*50)/10; d=(n-a*100-b*50-c*10)/5; e...

2020-04-15 11:28:50 98

原创 HDOJ-2018

题目描述解题思路//从n==4开始,每一年的牛的数量=前一年的牛的数量+三年前的牛的数量#include<iostream>using namespace std;int main(){ int a[56]; a[1]=1; a[2]=2; a[3]=3; for(int i=4;i<=55;i++) { a[i]=a[i-1]+a[i-3]; }...

2020-04-14 21:22:45 137

原创 HDOJ-2016

题目描述解题思路#include<iostream>using namespace std;int getMin(int a[],int n){ int min=a[0]; int j=0; for(int i=0;i<n;i++) { if(a[i]<min) { min=a[i];//当然必不可少 j=i; } }...

2020-04-14 20:25:18 178

原创 HDOJ-2015

题目描述解题思路#include<iostream>using namespace std;int main() { int a[101]; a[0]=2; int n,m; while(cin>>n>>m) { for(int i=1; i<n; i++) { a[i]=a[i-1]+2; } int pp=0;//计...

2020-04-14 18:22:56 95

原创 HDOJ-2629

题目描述补充知识(1)字符串的截取 s.substr();#include<string> #include<iostream>using namespace std; int main() { string x="0123456789"; cout<<x.substr()<<endl; //默认全部字符...

2020-04-14 16:16:28 148

原创 HDOJ-1197

题目描述注意:The first few lines of the output are shown below.(输出的前几行如下所示)so 题目中未给出全部输出解题思路#include<iostream>using namespace std;//获取十进制数字和int Sum(int n){ int a=n/1000; int b=(n-a*1000)/10...

2020-04-14 15:46:41 134

原创 HDOJ-1170

题目描述解题思路#include<iostream>#include<cstdio>using namespace std;int main() { int n; cin>>n; char a; int b,c; for(int i=0; i<n; i++) { bool flag=false; cin>>a&gt...

2020-04-13 23:13:19 144

原创 HDOJ-2734

补充知识:string str;cin>>str;//str 以空格为结束符一段一段的读入 //c++ 若字符串中有空格 则使用以下方式读入char cc[1001];cin.getline(cc,1001);int strlen(cc);//表述串长度//输出字符的ASCII码char c;cout<<(int)c<<endl;题目描述...

2020-04-09 20:32:03 174

原创 HDOJ-2104

题目描述该题目的大体意思是,有N个人参加了“找手绢”游戏。N个人围成一个圆圈,手绢就藏在其中某一个人的手里,哈哈同学负责找手绢。哈哈同学找手绢有个习惯,就是心中默想一个数M,检查完一个人后,就检查其之后的第M-1个人,直至找到手绢。给你一组N,M的组合,问你哈哈同学能否成功找到手绢。如果哈哈同学能够按照他的方法找到手绢,则需要N个人都被访问,这就要求N和M互质,即N和M的最大公因数为1,否则N...

2020-04-09 19:57:47 170

原创 HDOJ-1062

题目描述解题思路#include<iostream>#include<cstring>using namespace std;int main() { int n; cin>>n; char str[1001]; getchar();//吸收回车键 for(int i=0; i<n; i++) { //char x; cin...

2020-04-09 19:34:32 150

原创 HDOJ-1720

题目描述//A, B are hexadecimal number.//A,B为16进制数解题思路#include<iostream>#include<cstdio>using namespace std;int main(){ int a,b; while(scanf("%x%x",&a,&b)!=EOF) //输入16进制要使用%x...

2020-04-09 17:22:13 132

原创 HDOJ-2010

题目描述解题思路#include<iostream>using namespace std;bool sxh(int n) { int a,b,c; a=n/100; b=(n-a*100)/10; c=n-a*100-b*10; //cout<<a<<b<<c; if(a*a*a+b*b*b+c*c*c==n) retur...

2020-04-09 16:47:57 113

原创 HDOJ-2007

题目描述解题思路#include<iostream>#include<cmath>using namespace std;int main(){ int m,n; while(cin>>m>>n) { int sum2=0; int sum3=0; if(n<m)//一开始没有考虑两者的大小问题 { i...

2020-04-08 22:29:34 88

原创 HDOJ-2002

补充知识:c++中float和double的区别题目描述解题思路#include<iostream>#include<cstdio>using namespace std;#define PI 3.1415927int main(){ double r;//用flaot WA while(cin>>r) { double re;...

2020-04-05 18:28:27 176

原创 HDOJ-2001

题目描述解题思路#include<iostream>#include<cmath>#include<cstdio>using namespace std;int main(){ float x1,y1,x2,y2; float le; while(cin>>x1>>y1>>x2>>y2) {...

2020-04-05 16:47:07 131

原创 HDOJ-1003

题目描述解题思路#include<iostream>using namespace std;int a[100005]; int main(){ int n; cin>>n; for(int i=0;i<n;i++) { int m; cin>>m; //int a[m]; for(int j=0;j<m;j++...

2020-04-05 15:43:10 70

原创 HDOJ-1002

题目描述解题思路#include<iostream>#include<string>using namespace std;char s3[1001];//注 若s3设为string类型 会出现越界访问错误//还是最好把一个个的字符放在char数组里而不是string int main(){ int n; cin>>n; for(int...

2020-04-03 18:30:19 70

原创 题目 57:人见人爱 A^B

补充知识1、c++ 字符串的截取(1)s.substr(pos, n) 截取s中从pos开始(包括0)的n个字符的子串,并返回(2)s.substr(pos) 截取s中从从pos开始(包括0)到末尾的所有字符的子串,并返回2、C++中的字符串(String)和数值转换https://blog.csdn.net/sinat_40872274/article/details/81367815...

2020-03-28 18:41:55 127

原创 题目56:约数的个数

题目描述题目描述:输入 n 个整数,依次输出每个数的约数的个数输入:输入的第一行为 N,即数组的个数(N<=1000) 接下来的 1 行包括 N 个整数,其中每个数的范围为(1<=Num<=1000000000) 当 N=0 时输入结束。输出:可能有多组输入数据,对于每组输入数据, 输出 N 行,其中每一行对应上面的一个数的约数的个数。样例输入:51 3 4 ...

2020-03-28 17:42:44 164

原创 题目51:素数

题目描述题目描述:输入一个整数 n(2<=n<=10000),要求输出所有从 1 到这个整数之间(不包括 1 和这个整数)个 位为 1 的素数,如果没有则输出-1。输入:输入有多组数据。 每组一行,输入 n。输出:输出所有从 1 到这个整数之间(不包括 1 和这个整数)个位为 1 的素数(素数之间用空格隔开, 最后一个素数后面没有空格),如果没有则输出-1。样例输入:...

2020-03-28 15:20:14 447

Notion Boost crx文件

Notion Boost crx文件;Chorm Edge均可用;notion 侧边栏目录

2022-12-01

空空如也

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

TA关注的人

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