E-COM-NET
首页
在线工具
Layui镜像站
SUI文档
联系我们
推荐频道
Java
PHP
C++
C
C#
Python
Ruby
go语言
Scala
Servlet
Vue
MySQL
NoSQL
Redis
CSS
Oracle
SQL Server
DB2
HBase
Http
HTML5
Spring
Ajax
Jquery
JavaScript
Json
XML
NodeJs
mybatis
Hibernate
算法
设计模式
shell
数据结构
大数据
JS
消息中间件
正则表达式
Tomcat
SQL
Nginx
Shiro
Maven
Linux
spaces
CCF-走迷宫(bfs)
Description一个迷宫由R行C列(1#include#includeusingname
spaces
td;int64_tr,c,q[3000][5];boolv[50][50],f;chara[50
菜喵一只
·
2023-12-03 18:33
算法
c++
1091 Acute Stroke (三维搜索)
#includeusingname
spaces
td;intn,m,l,t;intmp[70][1300][130];boolvis[70][1300][130];
呆鱼敲代码
·
2023-12-03 18:56
pat
图论
算法
数据结构
【opencv】几何变换——极坐标变换(6 利用极坐标变换对图像进行变换)
repeat(constMat&src,intny,intnx)函数实现矩阵的平铺:src:输入矩阵ny:将src在垂直方向上重复ny次nx:将src在水平方向上重复nx次#includeusingname
spaces
td
Lily-Queen
·
2023-12-03 17:41
opencv
计算机视觉
人工智能
opencv C++极坐标转换
srand()��rand()����#include//time()����#include#include#include#include#include#include#includeusingname
spaces
td
光电推土机
·
2023-12-03 17:40
c++
opencv
算法
数据结构停车场管理系统设计
目录一设计要求二思路分析三设计流程先附上完整代码:#include#include#includeusingname
spaces
td;intposition=0;//便道内位置typedefstructCarData
早点睡嘛
·
2023-12-03 17:23
数据结构
C++保留小数
C++中可用以下两种方法保留小数:(四舍五入保留)//保留小数#include#includeusingname
spaces
td;intmain(){floata=3.1415926;//第一种,使用setprecisioncout
早点睡嘛
·
2023-12-03 17:23
C++
c++
开发语言
C++ 数组
数据类型数组名[数组长度];2.数据类型数组名[数据长度]={值1,值2........}3.数据类型数组名[]={值1,值2.....}数组存储与访问如下:我们看第一种定义方式#includeusingname
spaces
td
小潤澤
·
2023-12-03 17:22
二叉树的层次遍历
二叉树的后序序列二叉树的中序序列【输出形式】二叉树的先序遍历序列【样例输入】DIGEBHFCADBGIEAFHC【样例输出】ABCDEFGHI【样例说明】【评分标准】#includeusingname
spaces
td
垠二
·
2023-12-03 16:08
算法
数据结构
P5717 【深基3.习8】三角形分类
https://www.luogu.com.cn/problem/P5717#includeusingname
spaces
td;intmain(){inta(0),b(0),c(0);cin>>a>>b
轻舟001
·
2023-12-03 15:19
洛谷
P5730 【深基5.例10】显示屏
https://www.luogu.com.cn/problem/P5730//首先将0~9的输出固化到预置数组//根据输出数量,逐行输出,每行取每个数字的3个元素,共取5行#includeusingname
spaces
td
轻舟001
·
2023-12-03 15:19
洛谷
[题] 骨牌铺方格 #DP
题目1398:骨牌铺方格思路简单的DP代码#includeusingname
spaces
td;//dp题//f[i]表示到2*i的格子时有多少解法。
Y.YL
·
2023-12-03 13:52
算法
c++
[题] 不容易系列之(3)―― LELE的RPG难题 #DP
代码#includeusingname
spaces
td;//默认以0开头,以1和2结尾。
Y.YL
·
2023-12-03 13:22
动态规划
算法
c++
蓝桥杯第1037题子串分值和 C++ 字符串 逆向思维 巧解
题目思路和解题方法方案一——遍历+哈希表仅能过60%样例,大多数同学都用的该方法,就不过多赘述#include#includeusingname
spaces
td;intmain(){strings;cin
冷yan~
·
2023-12-03 13:20
蓝桥杯
模拟
暴力
数据结构
c++
蓝桥杯
算法
第01章:ScottPlot.NET 折线图
ScottPlot.WPF第二步:在MainWindow中编写以下代码第三步:在MainWindow.xaml.cs中分别进行各功能的代码演示1.基础折线图功能演示实现代码usingSystem.Windows;name
spaceS
PLineDemo
RobotZe
·
2023-12-03 13:06
acwing算法基础之贪心--排序不等式、绝对值不等式和推公式
C++代码如下,#include#include#includeusingname
spaces
td;intmain(){intn;cin>>n;vectornums;for(inti=
YMWM_
·
2023-12-03 12:41
Acwing
C++学习
算法
c++
数据结构
C++11 线程基础——线程的创建
windows1064bitVisualStudio2017内容C++11线程的创建方式thread::join()thread::detach()thread::joinable()测试代码#include#includeusingname
spaces
td
侠之大者_7d3f
·
2023-12-03 12:55
1006 换个格式输出整数 (15)(15 分)
#include#include#includeusingname
spaces
td;charwei[2]={'S','B'};intnum[100],cnt;intmain(){intn;scanf("
DaiMorph
·
2023-12-03 12:16
函数默认参数以及占位参数
c语言中没有默认参数,也没有占位参数#define_CRT_SECURE_ND_WARNINGS#includeusingname
spaces
td;//函数的默认参数参数后面=......
狐耳鲦
·
2023-12-03 12:39
c++
蓝桥杯
开发语言
c++的函数对象和适配器
函数对象#define_CRT_SECURE_NO_WARNINGS#include#include#include#includeusingname
spaces
td;boolfunc(intval1,
落落落sss
·
2023-12-03 11:58
c++
算法
开发语言
PTA-快速幂
要求实现一个递归函数,高效求ab(1≤a,b≤62,abusingname
spaces
td;longlongintpow(inta,intb);//求a^b//输入整数a,b,求a^b,处理到文件尾intmain
jmu-pfm
·
2023-12-03 10:11
c++
算法
图论
1-2 暴力破解-模拟
图形排版(根据某种规则输出特定图形)、日期问题、其他模拟一.图形排版1.输出梯形(清华大学)法一:等差数列分析:每行的星号个数为等差数列2n+2(n=1,2,3,…)#includeusingname
spaces
td
卡__卡
·
2023-12-03 10:26
算法C/C++
c++
c语言
算法
1-1 暴力破解-枚举
逐个判断是否是问题的解判断题目是否可以使用枚举:估算算法复杂度1秒计算机大约能处理107的数据量,即O(n)=107,则O(n2)能处理的数据量就是根号107≈3162复杂度对应的数据量是该算法能处理的最大数据量题目数据量nusingname
spaces
td
卡__卡
·
2023-12-03 10:56
算法C/C++
算法
c++
数据结构
c语言
1-算法基础-编程基础
chars[]="hello";2.const定义常量constintN=1e5+9;//const定义常量,后续不可被修改inta[N];3.万能头文件C++11等可用#includeusingname
spaces
td
卡__卡
·
2023-12-03 10:50
C/C++算法竞赛
算法
c++
数据结构
c语言
c/c++ 字符 - ‘0‘ 或者 + ‘0‘ 的含义
#includeusingname
spaces
td;intmain(){strings="abcdef";for(in
星河欲转。
·
2023-12-03 10:37
算法
c++
c语言
算法
深入理解Docker容器核心技术
文章目录1.Linux命名空间(Name
spaces
)1.1示例:PID命名空间2.控制组(cgroups)2.1示例:内存控制组3.联合文件系统(UnionFS)3.1示例:查看镜像的分层结构4.Docker
程序员 小侯
·
2023-12-03 09:22
大数据系列
docker
容器
运维
C++ 求解幂集
#include#include#includeusingname
spaces
td;voidinc(vector&b,intn){for(inti=0;i&a,vector&vn2,intn){inti
胡桃嗷_
·
2023-12-03 08:34
c++
开发语言
洛谷100题DAY8
36.P1416攻击火星此题找出规律即可#includeusingname
spaces
td;intn;intmain(){cin>>n;coutusingname
spaces
td;constintN=2e5
Akct
·
2023-12-03 08:01
算法
蓝桥杯每日一题2023.12.2
#includeusingname
spaces
td;constintN=2e5+10;int
Akct
·
2023-12-03 08:01
蓝桥杯
职场和发展
蓝桥杯每日一题2023.12.1
题目描述蓝桥杯大赛历届真题-C语言B组-蓝桥云课(lanqiao.cn)题目分析对于此题目而言思路较为重要,实际可以转化为求两个数字对应的操作,输出最前面的数字即可#includeusingname
spaces
td
Akct
·
2023-12-03 08:59
蓝桥杯
职场和发展
CPP-SCNUOJ-Problem P26. [算法课动态规划] 打家劫舍
提示:1#includeusingname
spaces
td;in
35号同学.
·
2023-12-03 06:41
算法
动态规划
MiniDumpWriteDump函数生成dmp文件
二:CreateDump.h#pragmaonce#include#includeusingname
spaces
td;c
岑小岑
·
2023-12-03 06:45
c++
算法设计与分析——递归与分治问题(含锐格题)
直接或间接调用自身的算法适合递归算法的问题1.递归函数:用函数自身给出定义的函数2.递归结构:二叉树递归算法设计的一般步骤1.确定递归关系2.确定终止条件※3.确定递归参数实例1.汉诺塔问题#include#includeusingname
spaces
td
幸馥儿~
·
2023-12-03 06:05
算法设计与分析
笔记
分治算法
算法
c++
2019寒假集训新生考试 【持续更新中】
02.03#includeusingname
spaces
td;intans1,ans2;intn,i,j;intflag;intm
幸馥儿~
·
2023-12-03 06:04
acm大一集训
算法
c++
c语言
6-71. 时间的比较*
输入样例9:0:18:59:58输出样例Yes代码实现:#include#includeusingname
spaces
td;/*你提交的代码将被嵌在这里*/classTIME{private:inth,
Fu_god
·
2023-12-03 05:03
C++题库
c++
算法
开发语言
6-70.复数的加减运算(运算符重载)
重载usingname
spaces
td;/*请在这里填写答案*/classCComplex{private:doublereal,image;public:CComplex(doublea,doubleb
Fu_god
·
2023-12-03 05:03
C++题库
c++
算法
开发语言
数据结构实验任务三:利用KMP算法实现查询主串中是否含有目标子串
#include#defineMaxC20#defineMaxE20usingname
spaces
td;classExp{//定义样本类private:intused=0;//是否读取信息charvir
Fu_god
·
2023-12-03 05:32
数据结构实验
算法
数据结构
函数3.6
问题解决办法:#include#includeusingname
spaces
td;unsignedrollDic();intmain(){enumGameStatus{WIN,LOSE,PLAYING}
hula_hola
·
2023-12-03 05:10
C++强制类型转换规则(void*)
int*q=NULL;void*p=NULL;想要将void*转换为int*,c语言可以直接写"p=q",但在C++中这是不允许的;#includeusingname
spaces
td;intmain()
NicOym
·
2023-12-03 05:14
c++
c语言
算法
P6363 [传智杯 #2 初赛] 软件工程实习
首先用结构体记录每个队员的理论成绩和所在队伍,建立一个队伍总分数组和平均数数组和(与该队伍平均分差值在15分以内的人数数组),四舍五入的时候用round函数计算,然后一步一步根据题意算即可#includeusingname
spaces
td
六弦绿漪。
·
2023-12-03 04:48
传智杯
c++
算法
c语言
[传智杯 #3 决赛] 序列
输入输出样例输入#15512345输出#14#include#defineendl'\n'#defineintlonglongusingname
spaces
td;constexprintN=1e5+10
ou_fan
·
2023-12-03 04:47
ou_fan的学习记录
算法
c++
数据结构
P8833 [传智杯 #3 决赛] 课程
输入输出样例输入#1551234513456输出#14#include#defineendl'\n'#defineintlonglongusingname
spaces
td;constexprintN=1e5
ou_fan
·
2023-12-03 04:17
ou_fan的学习记录
算法
c++
图论
刷题笔记12.01 贪心策略
NOIP2004提高组]合并果子/[USACO06NOV]FenceRepairG-洛谷|计算机科学教育新生态(luogu.com.cn)说最大不超过.不用高精度,好说#includeusingname
spaces
td
name_S56
·
2023-12-03 04:45
学习随笔
笔记
(超详细)C++图的深度优先遍历、广度优先遍历(数据结构)
一、代码实现#include#includeusingname
spaces
td;#defineMAX20//定义常量值为20intvisited[MAX];//定义标志数组(全局)//定
等日出看彩虹
·
2023-12-03 03:34
数据结构
C++编程实例
算法
C++
数据结构
算法
1021 个位数统计(15 分)
#include#include#includeusingname
spaces
td;intnum[10];strings;intmain(){getline(cin,s);for(inti=0;i<
DaiMorph
·
2023-12-03 03:02
STDP突触设计(一)
Spike-TimingDependentPlasticity-Scholarpedia这两篇的介绍的代码非常的详细,我就不再赘述了我设计的STDP的是基于最邻近匹配的:#include#include#includeusingname
spaces
td
黄芍药
·
2023-12-03 01:51
分布式模拟脉冲神经网络
算法
《算法笔记》3.3小节——入门模拟->图形输出
cid=100000577#include#include#includeusingname
spaces
td;intmain(){inth;//可能有多组数据,所以为while循环while(scanf
木子李_0961
·
2023-12-03 01:55
华为OD机试真题-来自异国的客人-2023年OD统一考试(C卷)
该客人有个幸运数字n(nusingname
spaces
t
2023面试高手
·
2023-12-03 00:16
华为OD机试题库2023年
华为od
c语言
算法
python
java
C++使用OpenCV绘制直线、正方形、椭圆、圆形、方形填充、随机生成直线
/*绘制形状与文字*/#include#includeusingnamespacecv;usingname
spaces
td;MatbgImage;constchar*dravdeo_win="dravshapesandtextdemo
YL_python_C++_java
·
2023-12-02 23:16
opencv
c++
【2023.11.29】2-路归并排序学习
代码:#include#defineMAXSIZE1000usingname
spaces
td;typedefstruct{intkey;char*otherinfo;}RedType;typedefstruct
Run with the Wind
·
2023-12-02 23:41
学习日志
学习
算法
数据结构
C++之pair的简单用法
#include#includeusingname
spaces
td;intmain(){paira,b;cin>>a.first>>a.second;/*或者可以这样chart;
踏过山河,踏过海
·
2023-12-02 23:15
刷遍蓝桥杯
c/c++知识二次稳固
c++
visual
studio
开发语言
上一页
112
113
114
115
116
117
118
119
下一页
按字母分类:
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
其他