自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Sueed

ballball你给个报错信息吧

  • 博客(14)
  • 收藏
  • 关注

原创 PAT甲级2021春季

PAT甲级2019冬季//01 14#include <bits/stdc++.h> using namespace std;int n, m, k, cnt = 0, maxv = 10000;vector<int> p;bool isprime(int a){ if(a <= 1) return false; for(int i = 2; i*i <= a; i++) if(a%i==0) return false; return true

2021-11-29 14:27:06 363

原创 PAT甲级2020冬季

PAT甲级2019春季// 02#include<iostream>#include<algorithm>#include<set>#include<unordered_map>#include<queue>#include<cstring>#include<vector>using namespace std;int n, m, k, cnt = 0;string str, tar;int ma

2021-11-29 14:25:57 118

原创 PAT甲级2020秋季

PAT甲级2020秋季//01 #include <iostream>#include <set>#include <algorithm>#include <vector>#include <unordered_map>#include <cmath>#include <cstring>using namespace std;int n, m, k;int lw[10009];int milkl[

2021-11-29 14:25:09 425

原创 PAT甲级2020春季

PAT甲级2020春季//01 #include <iostream>#include <vector>#include <set>#include <unordered_map>#include <algorithm>#include <cstring>#include <cmath>#include <queue>using namespace std;int n, m, k;bo

2021-11-29 14:24:13 182

原创 PAT甲级2019冬季

PAT甲级2019冬季//01 判断条件缺失#include <iostream>#include <cstdio>#include <vector>#include <set>#include <unordered_map>#include <algorithm>#include <cstring>#include <cmath>using namespace std;int n, m

2021-11-29 14:23:34 162

原创 PAT甲级2019秋季

PAT甲级2019秋季//01 剪枝循环和 char int互换 + '0' -'0';#include <iostream>#include <algorithm>#include <vector>#include <set>#include <unordered_map>#include <cmath>#include <cstring>using namespace std;int n, m,

2021-11-29 14:22:59 247

原创 PAT甲级2019春季

PAT甲级2019春季// 01 20#include<iostream>#include<algorithm>#include<set>#include<unordered_map>#include<queue>#include<vector>using namespace std;int n, m, k, cnt = 0, ans;bool isprime(int a){ if(a <= 1) ret

2021-11-29 14:22:32 48

原创 PAT/C++甲级题解——图

第四章:图、堆、并查集25分段 1154 1150 1146 1142 1126 1122 1118 111430分段 1155 1147 1139 1131 1111 1107①常用头文件#include <iostream>#include <algorithmv>#include <vector>#include <set>using namespace std;②常用函数sort( ) bool cmp()③常用方法

2021-11-29 14:21:12 508

原创 PAT/C++甲级题解——树

第三章:树​ 25分段 1138 1130 1110 1106 1102​ 30分段 1115 1151 1143 1135 1127 1123 1119 1103①常用头文件#include <iostream>#include <vector>#include<map>#include<cmath>#include<queue> 层序遍历常用#include<algorithm>using namesp

2021-11-29 14:18:48 125

原创 PAT/C++甲级题解——堆栈、队列、链表、排序

第二章:堆栈队列链表 排序 贪心等题号 1153 1113 1149 1141 1137 1134 1129 1121 1125①常用头文件#include <iostream>#include <algorithm>#include <unorderded map>#include <vector>using namespace std;②常用函数针对string字符串的substr()string s = "ILOVEYO

2021-11-29 14:15:28 104

原创 PAT/C++甲级题解——字符串操作

第一章:字符串处理​ 1152、1140、1136、1112、1108①常用头文件#include <iostream>#include <cstring>#include <map> 二维数组#include <set> 非重复using namespace std;②常用函数substr(starting_position, length)用于字符串操作中产生子串starting_position:主串中开始产生子串的位置

2021-11-29 14:12:44 313

转载 Visual Studio 2019 解决编译错误【error C4996: ‘sprintf‘: This function or variable may be unsafe. 】

Visual Studio 2019 解决编译错误【error C4996: ‘sprintf’: This function or variable may be unsafe. 】一、原因分析:Visual C++ 使用了更加安全的 run-time library routines二、解决方案1. 更改项目预定义处理:项目->属性->配置属性->C/C++ -> 预处理器 -> 预处理器定义,增加一条_CRT_SECURE_NO_DEPRECATE..

2021-05-10 22:00:45 614

原创 Python 数据清洗及预处理常用代码整理

Python 数据清洗及预处理常用代码整理注意代码中LONGITUDE、LATITUDE、SPEED、DIRECT等属于博主做交通数据处理时的残留模板。如要自定义使用替换为使用场景下的对应词句即可import pandas as pdimport numpy as npimport matplotlib.pyplot as pit# %matplotlib inlineimport csvimport codecsimport openpyxl# 为添加列标题【如果原始数据没有】d

2021-04-12 14:02:29 3367

原创 Android开发—基于OpenCV实现相机实时图像识别跟踪

利用OpenCV实现实时图像识别和图像跟踪图像识别什么是图像识别图像识别的研究现状Android图像识别相关技术基于OpenCV实现实现思路代码部分权限设置界面设计主要逻辑代码实现效果图结语图像识别什么是图像识别图像识别,是指利用计算机对图像进行处理、分析和理解,以识别各种不同模式的目标和对像的技术。根据观测到的图像,对其中的物体分辨其类别,做出有意义的判断。利用现代信息处理与计算技术来模拟和完成人类的认识、理解过程。一般而言,一个图像识别系统主要由三个部分组成,分别是:图像分割、图像特征提取以及分类

2020-12-21 21:26:05 6216 2

空空如也

空空如也

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

TA关注的人

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