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
spfa求解图中是否含有负环 C++实现
#include#includeusingname
spaces
td;constintN=2010,M=10010;inth[N],e[M],w[M],ne[M],idx;intdist[N],q[N*M
随风而散y
·
2023-11-22 22:56
c++
开发语言
图搜索算法
算法
floyd算法求解图中的多源最短路问题 C++实现
#includeusingname
spaces
td;constintN=210,INF=1e9;intd[N][N];intn,m,q;voidfloyd(){for(intk=1;kINF/2)puts
随风而散y
·
2023-11-22 22:56
算法
c++
图论
最小生成树Prim算法详解(C++)
邻接表:#include#include#include#includeusingname
spaces
td;constintINF=0x3f3f3f3f;//定义
就叫你天选之人啦
·
2023-11-22 22:25
算法
C++
计算机基础
c++
算法
图论
C++Prim算法求最小生成树
C++Prim算法求最小生成树MGraph.h#pragmaonce#include#include#includeusingname
spaces
td;constexprautoInfinity=63353
ZiiProgramming
·
2023-11-22 22:55
c++
算法
C++虚析构和纯虚析构解决delete堆区父类指针无法调用子类的构造函数
#include#includeusingname
spaces
td;//虚析构和纯虚析构classAnimal{public:Animal(){coutspeak();deleteanimal;}intmain
computer_vision_chen
·
2023-11-22 22:20
C++笔记
c++
开发语言
C++ 分支编译(预处理指令)
#include#include//#include//usingname
spaces
td;#defineN0//检测宏定义是否存在#definepyintmain(){//预处理分支会根据条件在编译时进行选择性的删除
默凉
·
2023-11-22 22:49
C++
基础
c++
算法
开发语言
数据结构之C++实现最小生成树普利姆(Prim)算法
数据结构之C++实现最小生成树普利姆(Prim)算法#include#include#include#includeusingname
spaces
td;#defineOK1#defineERROR0#defineTRUE1
早茶&&月光
·
2023-11-22 22:47
数据结构-实现
数据结构
算法
c++
prim
Prim算法求解最小生成树 c++代码实现
#include#includeusingname
spaces
td;constintmaxn=100;constintinf=0x3f3f3f3f;intn,m,sum=0;intgraph[maxn]
cqggcqggcqggcqgg
·
2023-11-22 22:41
数据结构
算法
prim
数据结构
prim算法求解最小生成树 C++实现
#include#includeusingname
spaces
td;constintN=510,INF=0x3f3f3f3f;intg[N][N];boolst[N];intdist[N];intn,m
随风而散y
·
2023-11-22 22:40
算法
c++
图论
数据结构
C++电脑组装项目(涉及知识点:多态)
include"AbstractVideoCard.h"#include"IntelCpu.h"#include"IntelMemory.h"#include"IntelVideoCard.h"usingname
spaces
td
computer_vision_chen
·
2023-11-22 22:39
C++笔记
c++
C++的计时器chrono
头文件:namespace:std::chrono基本用法#include#include#include#includeusingname
spaces
td;intmain(){//autostart=
Glitter试做一号机
·
2023-11-22 22:11
Json之JArray的使用方法
filesize":"183556","fileext":"jpg","filename":"\u591c\u665a\u7684\u5927\u697c","filepath":"\/userfiles\/
spaces
how
汐泽学园
·
2023-11-22 21:04
C#
c#
json
House Robber 打家劫舍
//#include#include"vector"usingname
spaces
td;/*Youareaprofessionalrobberplanningtorobhousesalongastree
江上渔者21号
·
2023-11-22 21:02
leetcode
未确定数组个数、大小的ACM模式输入输出(C++)
2.代码#includeusingname
spaces
td;intmain(){vectornums1;vectornums2;intcur;whi
zsiming
·
2023-11-22 20:53
日常随笔
c++
算法
开发语言
ACM模式各种输入整理(C++)
2.ACM模式的输入种类2.1整形数组输入2.1.1在终端的一行中输入固定数目的整型数字,并存到数组中,中间以空格分隔示例:3123方法1#include#includeusingname
spaces
td
晓翔仔
·
2023-11-22 20:49
code
design
skills
c++
算法
数据结构
ACM
输入输出
C++ acm模式/机考/笔试输入输出攻略
include#include#include#include#include#include#include#include#include#include#include#includeusingname
spaces
td
pikaqiu_04
·
2023-11-22 20:19
#
数据结构
c++
开发语言
算法
ACM标准输入输出C/C++版
C++输入①只有一组测试数据以计算a+b为例:#includeusingname
spaces
td;intmain(){inta,b;cin>>a>>b;coutusingname
spaces
td;intmain
Carey_Lu
·
2023-11-22 20:47
ACM_笔记
ACM
输入输出
c++编写暴力破解密码
一、先建立一个客户端项目:#define_CRT_SECURE_NO_WARNINGS#include#include#includeusingname
spaces
td;intmain(){stringpwd
畅的bl0g
·
2023-11-22 20:00
c++
开发语言
用C++编写动画+音频版极乐净土
include#include//播放音乐所需要的头文件#pragmacomment(lib,"winmm.lib")//告诉编译器,加载winmm.lib库文件#defineCOUNT50usingname
spaces
td
畅的bl0g
·
2023-11-22 20:00
c++
音视频
开发语言
求平均数最大,长度不小于 L
样例样例输入10664210385941样例输出6500思路直接用二分去找最大平均数代码#include#include#include#includeusingname
spaces
td;d
weixin_46657636
·
2023-11-22 19:06
uva 11584 Partitioning by Palindromes dp(最少回文串划分)
dp[i]=min{dp[j-1]+1,串[j,i]是回文串&&1#include#include#include#include#include#includeusingname
spaces
td;#defineall
PoemK
·
2023-11-22 18:25
ACM_动态规划
区间dp
紫书动规 例题9-7 UVA - 11584 Partitioning by Palindromes dp
题目链接:https://vjudge.net/problem/UVA-11584题意:题解:dp[i]:=考虑到第i个字符,的最少划分dp[i]=min{dp[j]+1}(0usingname
spaces
td
yxg_123
·
2023-11-22 18:25
紫书
====动态规划====
dp
Partitioning by Palindromes UVA - 11584 划分回文串
#includeusingname
spaces
td;#include#includechars[1010];intf[1010];bo
EHWWFFT.
·
2023-11-22 18:54
DP
UVA11584 划分成回文串 Partitioning by Palindromes(回文串,dp)C++实现
#include#includeusingname
spaces
td;constintmaxn=1000+7;bools[maxn][maxn];//s[i][j]表示从下标i到下标j这个小区间里是否为回文串
sakulaaaa
·
2023-11-22 18:51
uva
洛谷
动态规划
uva 11584 - Partitioning by Palindromes 最少回文串划分
f[i]=min{f[j]+1,串[j,i]是回文串&&1#include#includeusingname
spaces
td;constintmaxn=1000+5;intn,kase,vis[maxn
Self-Discipline
·
2023-11-22 18:51
dp
dp
UVA 11584 Partitioning by Palindromes
代码:#include#include#includeusingname
spaces
td;constintN=1010;constintINF=0x
我恨TLE
·
2023-11-22 18:21
dp
算法
动态规划
c++
C++多线程学习(一):C++11 多线程快速入门
为什么要用多线程任务分解耗时的操作,任务分解,实时响应数据分解充分利用多核CPU处理数据数据流分解读写分离,解耦合设计2.第一个子线程代码示例first_thread.cpp#include#includeusingname
spaces
td
Robot_Yue
·
2023-11-22 18:49
C++多线程学习
c++
学习
开发语言
多线程
call_once
线程分离
【C++】类与对象(中)
classDate{};//空类二、构造函数1.概念对于以下Dtae类:#includeusingname
spaces
td;classDate{public:voidIni
谁在夜里看海.
·
2023-11-22 18:37
C++
c++
开发语言
算法
算法笔记-第十章-动态规划-递归写法和递推写法
constintMAXN=10000+1;intfib[MAXN];intmain(){intn;scanf("%d",&n);fib[1]=fib[2]=1;for(inti=3;i#includeusingname
spaces
td
一直爱莲子
·
2023-11-22 18:18
#
算法笔记刷题
算法
笔记
动态规划
WMS仓库管理系统库位功能
usingModel.WarehouseManagement;usingRepository;usingService.Interface.WarehouseManagement;usingSqlSugar;name
spaceS
er
!chen
·
2023-11-22 17:20
PLC
WCS系统
PAT1013 Battle Over Cities
注意点:城市被攻占的时候,最后统计集合数目不能包括这个城市#includeusingname
spaces
td;constintN=1010;intg[N][N];intp[N];intn,m,k;intfind
SumFunction
·
2023-11-22 16:18
PAT备战
c++
算法
图论
PAT 1013 Battle Over Cities
c32条公路连接c1,c2和c1,c3如果把c1从图中移去,我们就需要修复1条公路来连接c2,c3输入第一行包含3个数字:N(#include#defineNumOfNode1001usingname
spaces
td
不考到PAT不改名
·
2023-11-22 16:16
PAT
算法
dfs
数据结构
PAT 甲级测试题目 -- 1013 Battle Over Cities
题目链接题目描述 给你城市的数量N(N#includeusingname
spaces
td;#definemaxn1001//变量定义inttotal_cities,highways,check_cities
diji2817
·
2023-11-22 16:44
exchange 2016 - 管理与授权
邮箱设置规则rules:rules.pngOPATH语言oPath:对象化查询Object
Spaces
使用的语法,最后都将转为SQL执行,所以它的性能是非常好的,也正是它功能无法强大的弱点.如何打开exchangemanagementshell
LeeMin_Z
·
2023-11-22 15:17
MIT_线性代数笔记_11_矩阵空间、秩1矩阵、小世界图
MIT公开课:GilbertStrang《线性代数》课程笔记(汇总)Lecture11:Matrix
spaces
;rank1;smallworldgraphs课程11:矩阵空间、秩1矩阵、小世界图矩阵空间所有
诗意de栖居
·
2023-11-22 15:54
MIT
Linear
Algebra
Notes
麻省理工
线性代数
矩阵空间
秩1矩阵
算法基础1.1 快速排序
快速排序基于分治思想,算法实现主要分为以下三个步骤:1确定分界点2调整范围3递归处理左右两段#includeusingname
spaces
td;constintN=1000010;intn;intq[N
伏城无嗔
·
2023-11-22 14:43
力扣
牛客刷题
算法笔记
算法
数据结构
排序算法
ORA-25153: 临时表空间为空(解决)
查询表空间状态selecttablespace_name,statusfromdba_table
spaces
;状态都ONLINE(在线)表示正常查询临时表空间文件selecttablespace_name
豆浆不要糖
·
2023-11-22 13:38
Oracle
oracle
数据库
Ora-25153:临时表空间为空
用户反映记账操作时,提示ora-25153:临时表空间为空1、先查询表空间情况:select*fromdba_table
spaces
wherecontents='TEMPORARY';查询返回两条记录,
冷月宫主
·
2023-11-22 13:49
Oracle
ORA-25153: Temporary Tablespace is Empty
ORA-25153:TemporaryTablespaceisEmpty检查原因:看了一下DBA_TABLE
SPACES
,嗯...TEMP的status还online....不过是假象。
黑裤子
·
2023-11-22 13:47
oracle11g
TEMP
oracle:ORA-25153临时表空间为空
解决方法:1、查询临时表空间状态状态selecttablespace_name,statusfromdba_table
spaces
;TABLESPACE_NAMESTATUS---------SYSTEMONLINEUNDOTBS1ONLINESYSAUXONLINETEMPONLINEUSERSONLINETEST_T
chenyao1897
·
2023-11-22 13:47
数据库
C++菱形继承问题
总结:菱形继承带来的主要问题是子类继承两份相同的数据,导致资源浪费以及毫无意义利用虚继承virtual可以解决菱形继承问题#include#includeusingname
spaces
td;classAnimal
想要成为数据科学家的菜鸟
·
2023-11-22 11:40
C
c++
开发语言
C++继承同名静态成员处理方式
#include#includeusingname
spaces
td;classBase{public:staticvoidfunc(){cout<<"Base-staticvoidfunc()"<
想要成为数据科学家的菜鸟
·
2023-11-22 11:10
C
c++
开发语言
C++多继承(实际开发不建议使用)
多继承可能引发父类中有同名成员的出现,需要加作用域区分#include#includeusingname
spaces
td;classBase{public:Base(){m_A=100;}intm_A;
想要成为数据科学家的菜鸟
·
2023-11-22 11:10
C
c++
算法
开发语言
蓝桥杯每日一题2023.11.21
题目描述“蓝桥杯”练习系统(lanqiao.cn)题目分析思路:1.去重排序将其进行预处理2.用gcd得到最简比值3.用gcd_sub分别计算分子、分母的指数最大公约数#includeusingname
spaces
td
Akct
·
2023-11-22 11:34
蓝桥杯
职场和发展
蓝桥杯每日一题2023.11.20
题目描述“蓝桥杯”练习系统(lanqiao.cn)题目分析方法一:暴力枚举,如果说数字不在正确的位置上也就意味着这个数必须要改变,进行改变记录即可#includeusingname
spaces
td;constintN
Akct
·
2023-11-22 11:04
蓝桥杯
职场和发展
问题 R: 胜利大逃亡(HUST)
#include#defineinf200000#include#includeusingname
spaces
td;//迷宫坐标intmap[59][59][59]={0};//可访问标记intvisit
%d%d2
·
2023-11-22 11:59
#
bfs
c++
算法
数据结构
P8599 [蓝桥杯 2013 省 B] 带分数(dfs+全排列+断点判断)
设置为每个排列设置两个断点,分为三部分:a,b,c3.转换为乘法判断条件,满足加一代码如下:(可用next_permutation全排列函数代替dfs)#include#includeusingname
spaces
td
%d%d2
·
2023-11-22 11:59
#
DFS
蓝桥杯
深度优先
P1141 01迷宫(dfs+染色联通块)
只需要计算每个块里的元素个数2.元素标记对应某个块3.查找元素时:由(1)元素坐标->(2)查找对应块的编号(visit[]查询)->(3)输出对应块的元素个数(item[]查询)代码如下:#includeusingname
spaces
td
%d%d2
·
2023-11-22 11:28
#
DFS
深度优先
算法
c++
调用C函数获取电脑信息及执行cmd命令时隐藏窗口
GetPCInfo.h#include#includeusingname
spaces
td;//wstringStr2Wstr(stringstr);stringExecCmd(constchar*cmd
GraceLand525
·
2023-11-22 10:02
C/C++
c语言
c++
开发语言
2023.3.23and24上机练习
1.202303-1原题网址#includeusingname
spaces
td;intmain(){intn,a,b;cin>>n>>a>>b;longlongintx1[102]={0},x2[102
肉松拿铁
·
2023-11-22 10:53
算法
c++
图论
数据结构
上一页
127
128
129
130
131
132
133
134
下一页
按字母分类:
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
其他