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
算法训练营|图论第9天 dijkstra(堆优化),bellman_ford
题目:dijkstra(堆优化)题目链接:47.参加科学大会(第六期模拟笔试)(kamacoder.com)代码:#includeusingname
spaces
td;classmycomparison{
人间温柔观察者
·
2024-09-07 19:06
算法
图论
2022 ICPC 亚洲区域赛 合肥站 题解 ABGH
代码如下:#includeusingname
spaces
td;typedeflonglongll;constintMAXN
sakura7776
·
2024-09-07 19:04
ICPC
ACM
算法
c++
数据结构
求解矩阵两条对角线上的元素之和
//求解矩阵两条对角线上的元素之和#include#defineN10//usingname
spaces
td;voidmain(){intnum;cout>num;inta[N][N];cout>a[i
mengyou1
·
2024-09-07 16:40
C++全国计算机二级考试
简单的双人对战游戏
#include#include#include#includeusingname
spaces
td;intSIZ=20;HANDLEhout=GetStdHandle(STD_OUTPUT_HANDLE
Lemonbr
·
2024-09-07 13:18
C/C++
自幂数判断c++
题目描述样例输入3152111153样例输出FFT代码如下:#includeusingname
spaces
td;longlongm,a;intmain(){cin>>m;for(inti=1;i>a;longlongt
呃m
·
2024-09-07 06:35
c++
比赛真题
c++
9月4号作业
#includeusingname
spaces
td;classan{private:stringname;public:an(){}an(stringna):name(na){}virtualvoidfun
yueduwudi
·
2024-09-07 03:43
算法
8月29号
第二题头文件#ifndef__class__#define__class__#include#includeusingname
spaces
td;classstu{private:stringname;protected
yueduwudi
·
2024-09-07 03:43
c++
开发语言
错误TabError: inconsistent use of tabs and
spaces
in indentation
错误反馈:TabError:inconsistentuseoftabsand
spaces
inindentationpython运行程序TabError:inconsistentuseoftabsand
spaces
inindentation
辣克糖LuckSugar
·
2024-09-06 17:10
编程疑难
python
报错TabError: Inconsistent use of tabs and
spaces
in indentation
TabError:Inconsistentuseoftabsand
spaces
inindentation首先这个错误的意思是:在缩进的时候,使用了错误的空格和tab我使用的python3.6,造成这个错误的原因是我在网上复制代码后
香博士
·
2024-09-06 17:38
python
python
bug
linux
TabError: Inconsistent use of tabs and
spaces
in indentation
TabError:Inconsistentuseoftabsand
spaces
inindentation首先这个错误的意思是:在缩进的时候,使用了错误的空格和tab我使用的python3.5,造成这个错误的原因是我在函数里面敲
台阶上的土豆
·
2024-09-06 17:06
学习笔记
python
C#在WPF中实现单个串口通信例2
usingSystem;usingSystem.Collections.Generic;usingSystem.IO.Ports;usingSystem.Text;usingSystem.Windows;name
spaceS
erialPortExample
杨PH
·
2024-09-06 17:36
C#实例练习
c#
P1024 [NOIP2001 提高组] 一元三次方程求解
题目描述:AC代码:#includeusingname
spaces
td;doublea,b,c,d;intans=0;doublef(doublex){returna*x*x*x+b*x*x+c*x+d
喝可乐的布偶猫
·
2024-09-06 17:05
c++
全排列问题
输入样例:3输出样例:123132213231312321DFS方法代码如下图:#include#include#includeusingname
spaces
td;constintN
AlgorithmAce
·
2024-09-06 13:06
算法
深度优先
c++
windows on arm 开发指南
人工智能创新应用大赛-直播课Arm人工智能创新应用大赛直播2024-09-05官方Confluence这里可以找到官方Roadmap、软件的支持列表https://linaro.atlassian.net/wiki/
spaces
深圳市进化图灵智能科技有限公司
·
2024-09-06 04:13
其它
windows
arm
数据结构总结之最短路径
1.弗洛伊德算法模板题:uva10000#include#includeusingname
spaces
td;intdis[105][105];intmain(){intn;intt=0;while(cin
@阿奇@
·
2024-09-06 02:28
最短路径
图论
C++设计模式——职责链模式(chain of Responsibility)
#include#includeusingname
spaces
td;enumclassRequestType{R
dailingGuo
·
2024-09-06 02:58
C++设计模式
c++
设计模式
数据结构之最短路径Dijkdtra算法
,第三个为两点间的距离输出:从N到1必须经过的最小距离优先队列优化的djk求单源最短路,链式前向星存图时间复杂度o(E*log(V))#include#include#includeusingname
spaces
td
HPU_FRDHR
·
2024-09-06 01:23
数据结构篇
最短路径Dijkdtra算法
浙大数据结构:01-复杂度2 Maximum Subsequence Sum
数据结构MOOCPTA习题01-复杂度2MaximumSubsequenceSum#includeusingname
spaces
td;constintM=100005;inta[M];intmain()
_Power_Y
·
2024-09-05 22:31
数据结构浙大
数据结构
c++
浙大数据结构:01-复杂度1 最大子列和问题
#includeusingname
spaces
td;constintM=100005;inta[M];intmain(){intk;cin>>k;for(inti=0;i>a[i]
_Power_Y
·
2024-09-05 22:01
数据结构浙大
数据结构
c++
华为 笔试 4.24 第二题:这一题只通过了36%why
日常实习求捞捞本科北理24届,目前已经拿nus研究生offer准备在剩下这几个月做一段软件开发实习,我之前有小公题解|#[NOIP2010]数字统计##includeusingname
spaces
td;
2301_78234743
·
2024-09-05 21:52
java
C++:面向对象三大特征之封装
例如:#includeusingname
spaces
td;classstudent{private:constchar*name;intage;public:voidshow(){cout<
学习使我变快乐
·
2024-09-05 18:35
c++
算法
开发语言
Leetcode539. 最小时间差
C++解法#include#include#include#includeusingname
spaces
td;structTime{inthour=0;intmin
LonnieQ
·
2024-09-05 18:43
别撞方块小游戏代码
#include#include#include#includeusingname
spaces
td;intmain(){floatwidth,height;width=600;height=400;initgraph
m0_74363412
·
2024-09-05 16:19
c++
Unity3D 屏幕空间阴影的简单优化详解
屏幕空间阴影(Screen
SpaceS
hadows,SSS)技术提供了一种更高效的阴影生成方式,特别是在现代图形硬件上。本文将详细介绍屏幕空间阴影的基本原理、优化方法以及代码实现。
Clank的游戏栈
·
2024-09-05 11:14
人工智能
算法
VScode C++ 一键注释
1.注释:首选选中要注释的部分;intmain(){usingname
spaces
td;cout>weight;stringgain="A10%increaseraises";stringwt=boost
东半球第一攻城狮
·
2024-09-05 10:11
vscode
c++
ide
# 73 矩阵置零
请使用#include#include#include#include#includeusingname
spaces
td;classSolution{public:voidsetZeroes(vector
夜心_d5bb
·
2024-09-05 10:19
《C++》手动实现栈和队列
目录一、栈代码实现:执行结果:二、队列代码实现:执行结果:一、栈代码实现:#includeusingname
spaces
td;templateclassstack{private:T*data;inttop
hhf,
·
2024-09-05 04:58
c++
代码随想录算法训练营第五十七天 | 图论part07
53.寻宝prim算法prim算法#include#include#include#includeusingname
spaces
td;intmain(){intv,e;intv1,v2,val;ifstreaminfile
sagen aller
·
2024-09-04 22:52
算法
图论
链表的创建及输入输出 验证q= p->next q->next = p->next的情况
链表的创建及输入输出#include#include#includeusingname
spaces
td;structListNode{intval;ListNode*next;ListNode():val
Sun_ZD
·
2024-09-04 21:18
数据结构与算法
链表
单链表
PTA L1-087 机工士姆斯塔迪奥
#includeusingname
spaces
td;constintN=100100;introw[N],line[N];intflag;intmain(){intn,m,num;cin>>n>>m>>
立志成为master
·
2024-09-04 19:38
PTA题解
算法
c++
数据结构
day02 1.c++对c的扩充
#includeusingname
spaces
td;//类型重命名usingdatatype=int;//typedefintdatatype;#defineMAX30structSeqList{private
夏枳竺
·
2024-09-04 17:54
c++
c++ 156函数
inline内联函数#includeusingname
spaces
td;inlinevoidprintA(){inta=10;coutusingname
spaces
td;//函数重载//名称参数返回值(
XXXJessie
·
2024-09-04 16:50
c++
c++
算法
开发语言
【佳佳的斐波那契】
题目思路我们的目标是T[n]: ∑1#include#includeusingname
spaces
td
Kent_J_Truman
·
2024-09-04 14:05
算法
算法
矩阵乘法
2024.9.2 作业
.h/*******************************************/#ifndefWORK4_H#defineWORK4_H#include#includeusingname
spaces
td
sdhdhdhdh
·
2024-09-04 11:46
c++
算法
开发语言
【AcWing】847. 图中点的层次(树与图的广度优先遍历)
//标准bfs模板#include#include#include#includeusingname
spaces
td;constintN=1e5+10;intn,m;inth[N],e[N],ne[N]
Wheattail
·
2024-09-04 10:41
AcWing题解
宽度优先
算法
c++
数据结构
visualstudio
C++竞赛初阶L1-15-第六单元-多维数组(34~35课)551: T456501 计算矩阵边缘元素之和
样例1输入33341371201样例1输出15程序输出:#includeusingname
spaces
td;in
麓小墨哥
·
2024-09-04 08:53
c++免费文章
c++
矩阵
算法
开发语言
青少年编程
数据结构
图论
C++-练习-33
*********(这是输入5的情况)源代码:#includeintmain(){usingname
spaces
td;introw;
是小天才哦
·
2024-09-04 07:18
#
c++语言算法题目讲解
c++
算法
开发语言
数据结构之查找
http://www.bjfuacm.com/problem/287/#includeusingname
spaces
td;#defineOK1#defineMAXSIZE10000typedefintStatus
点一下我的id
·
2024-09-04 03:02
算法训练营|图论第4天 110.字符串接龙 105.有向图的完全可达性 106.岛屿的周长
题目:110.字符串接龙题目链接:110.字符串接龙(kamacoder.com)代码:#include#include#includeusingname
spaces
td;intmain(){intn;
人间温柔观察者
·
2024-09-04 01:40
算法
图论
坐牢第三十四天(c++)
一.作业1.栈的手写#includeusingname
spaces
td;//封装一个栈classstcak{private:int*data;//intmax_size;//最大容量inttop;//下标
早川loeh
·
2024-09-03 23:00
c++
c++
day62|Floyd 算法精讲,A * 算法精讲 (A star算法
Floyd算法精讲97.小明逛公园(kamacoder.com)#include#includeusingname
spaces
td;intmain(){intn,m,p1,p2,val;cin>>n>>
bindloy
·
2024-09-03 21:43
算法
c++
数据结构
【C++】手动实现队列的封装(C++)
目录源代码:输出结果如下:实现以下封装源代码:#includeusingname
spaces
td;classQueue{private:int*arr;//队列的动态数组intfront;//队列头部元素的索引
只对您心动
·
2024-09-03 20:11
C++
c++
算法
开发语言
linux
qt
B3918 [语言月赛 202401] 图像变换
[题目通道]([语言月赛202401]图像变换-洛谷)#includeusingname
spaces
td;intn,m,k;stringa[1000],st;intmain(){cin>>n>>m>>k
浚浚的二师兄
·
2024-09-03 15:40
c++
开发语言
算法
《经济学人》精读6:Retail Property
Vacant
Spaces
Theglobalpropertybusinesstriestoadapttoe-commerceManyretailpropertieswillslumpbutothershavebrighterprospectsDec14th2017
VictorLiNZ
·
2024-09-03 12:17
算法训练营|图论第8天 拓扑排序 dijkstra
题目:拓扑排序题目链接:117.软件构建(kamacoder.com)代码:#include#includeusingname
spaces
td;intmain(){intn,m;cin>>n>>m;vectorinDegree
人间温柔观察者
·
2024-09-03 08:25
算法
图论
数据结构
C++ 结构体数组
语法:struct结构体名数组名[元素个数]={{},{},…{}}示例:#includeusingname
spaces
td;#include//结构体数组//1、定义结构体structStudent{
努力自学C++的小马
·
2024-09-03 08:22
C++学习笔记
c++
java
算法
【C++】基础类之日期类
【C++】基础类之日期类1.DateClass.h2.DateClass.cpp3.Text.cpp1.DateClass.h#pragmaonce#include#includeusingname
spaces
td
六点半888
·
2024-09-03 05:33
c++
NowCoder HJ17 坐标移动
代码#include#include#include#includeusingname
spaces
td;boolisValid(string&s){if(s.size()3)returnfalse;if
红毛乌龟
·
2024-09-03 03:21
算法刷题
c++
数据结构
算法
NowCoder
c++的Hello World!
Hello的区别#includeusingname
spaces
td;intmain(intargc,constchar*argv[]){cout>变量名,多个数据使用>>隔开。
zzt_is_me
·
2024-09-03 03:51
算法
c++
开发语言
P1152 欢乐的跳
[题目通道](欢乐的跳-洛谷)#includeusingname
spaces
td;inta[1005],qw[1005];intmain(){intn;cin>>n;for(inti=1;i>a[i];
浚浚的二师兄
·
2024-09-03 00:01
c++
算法
数据结构
开发语言
上一页
27
28
29
30
31
32
33
34
下一页
按字母分类:
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
其他