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
求救,c++string类型变量无法输出中文(环境:mingw+vscode)
#include#includeusingname
spaces
td;typedefstruct{stringname;stringsex;intage;}people;intmain(){inti;peoplestudent
伏虎山真人
·
2024-01-26 21:08
c++
c++
倒计时79天
复盘1.1.0日期统计-蓝桥云课(lanqiao.cn)#includeusingname
spaces
td;#defineintlonglongconstintinf=0x3f3f3f3f;constintN
算法怎么那么难啊
·
2024-01-26 20:54
c++
倒计时78天
复盘2.15.bfs1)从(x1,y1)到(x2,y2)最短距离#includeusingname
spaces
td;constintN=3e4+5;constintinf=0x3f3f3f3f;#defineintlonglonginta
算法怎么那么难啊
·
2024-01-26 20:54
c++
倒计时81天
倒计时82天-CSDN博客蓝桥杯2022年第十三届省赛真题-扫雷-C语言网(dotcpp.com)1)#includeusingname
spaces
td;#defineintlonglongconstintinf
算法怎么那么难啊
·
2024-01-26 20:23
c++
C++11新特性——智能指针之weak_ptr
示例:#include#includeusing name
spaces
td;classBB;classAA{public: st
is-zq
·
2024-01-26 19:13
C++
c++
开发语言
牛客NC21545牛牛的朋友(C++)
代码#includeusingname
spaces
td;signedmain(){ios
Xyzz1223
·
2024-01-26 19:11
算法
c++
开发语言
牛客NC21740移动石头(C++)
题目链接实现方法读取数据时分别计算两个数组的总和,若不相等输出-1;计算每两堆石头之间的差值,该差值就是需要移动的数量;将差值的绝对值计入总和,并将差值与下一个差值相加;代码#includeusingname
spaces
td
Xyzz1223
·
2024-01-26 19:11
算法
c++
算法
开发语言
牛客NC21613牛牛的战役(C++)
代码#includeusingname
spaces
td;#defineintlonglong//需要自定义cmp函数,同时将敌军的战斗
Xyzz1223
·
2024-01-26 19:09
算法
c++
开发语言
算法------(4)双指针
#include#include#includeusingname
spaces
td;constintN=1e5+10;inta[N],s[N];intmain(){in
FancySuMMer11
·
2024-01-26 19:36
算法基础课
算法
c++
算法------(7)高精度
#include#include#include#includeusingname
spaces
td;vectorA,B;vectoradd(vector&A,vector&B
FancySuMMer11
·
2024-01-26 19:36
算法
c++
数据结构
算法------(9)哈希表
#include#include#includeusingname
spaces
td;constintN=3000
FancySuMMer11
·
2024-01-26 19:36
算法基础课
算法
散列表
数据结构
【C++程序题】字符数量
字符总数#includeusingname
spaces
td;intmain(){chara[100000];inti=0;intj;intk;charc;//第一步提取数据到数组a[]while((c=
好问者
·
2024-01-26 18:42
c++
算法
开发语言
C++面向对象实验四
//String.h#includeusingname
spaces
td;classString{private:cha
亚亚带我飞
·
2024-01-26 18:25
c++
c++
算法
开发语言
001-02 各种增强
实用性增强-变量可以在任意地方定义#include"iostream"usingname
spaces
td;//C语言中的变量都必须在作用域开始的位置定义!!
有何不可12317
·
2024-01-26 18:22
Codeforces Round 161 (Rated for Div. 2)(Codeforces日记)
则其他字符串的第i个字符必须与其不同才能匹配如果si是小写字母,则其他字符串的第i个字符必须与其相同才能匹配解题思路:直接判断有无Ai不等于Ci且Bi不等于Ci即可AC代码:#includeusingname
spaces
td
joesx
·
2024-01-26 18:12
算法
c++
牛客周赛 Round 29 A---E
solution判断数字的大小code#include#include#includeusingname
spaces
td;typedeflonglongll;lla,b;intmain(){cin>>a
子衿h
·
2024-01-26 18:42
牛客
算法
数据结构
c++
牛客周赛 Round 29 (A,B,C,D,E,F)
A小红大战小紫思路:比大小,没什么好说的code:#include#includeusingname
spaces
td;intmain(){inta,b;cin>>a>>b;puts((a==b)?"
邪神与厨二病
·
2024-01-26 18:11
牛客
c语言
开发语言
c++
牛客
算法
牛客周赛 Round 29 (A-E , c++)
比赛地址:牛客竞赛_ACM/NOI/CSP/CCPC/ICPC算法编程高难度练习赛_牛客竞赛OJA:小红大战小紫思路:那个数大就那个赢,相等就是平局;代码:#includeusingname
spaces
td
ros275229
·
2024-01-26 18:41
算法学习
NowCoder
c++
开发语言
牛客
【CSP认证考试】202309-1:坐标变换(其一)100分解题思路+代码
样例输入3210100010-201-100样例输出21-1120-10代码#includeusingname
spaces
td;intmain(){intn,m,x=0
Ulpx
·
2024-01-26 18:09
CCF CSP认证考试
算法
c++
学习方法
经验分享
笔记
牛客周赛 Round 29(A B C D E)
:解题思路:AC代码:E.小红构造数组题目大意:解题思路:AC代码1:AC代码2:总结:A.小红大战小紫题目大意:输出胜负还是平局解题思路:A>B问题,签到AC代码:#includeusingname
spaces
td
joesx
·
2024-01-26 18:37
c++
算法
北京理工大学计算机考研机试KY258 日期累加
示例1输入:1200823100复制输出:2008-05-13思路#includeusingname
spaces
td;intdaymonth[2][13]={0,31,28,31,30,31,30,
weixin_43820008
·
2024-01-26 17:24
考研机试
考研
机试
c
c++
题目1432:叠筐 九度OJ
输入:输入是一个个的三元组,分别是,外筐尺寸n(n为满足0#includeusingname
spaces
td;charbasket[82][82];intmain(){intn;chara,b;w
寻找如意
·
2024-01-26 17:18
考研机试(C++)
C++
考研机试
C++
[蓝桥杯]真题讲解:砍树(DFS遍历、图的存储、树上差分与LCA)
蓝桥杯]真题讲解:砍树(DFS遍历、图的存储、树上差分与LCA一、视频讲解二、暴力代码三、正解代码一、视频讲解视频讲解二、暴力代码#include#defineintlonglongusingname
spaces
td
Turing_Sheep
·
2024-01-26 17:02
备战蓝桥杯
#
搜索与图论题目
蓝桥杯
深度优先
职场和发展
2024年华为OD机试真题-字符串变换最小字符串-(C++)-OD统一考试(C卷)
输入描述:一串小写字母组成的字符串s输出描述:按照要求进行变换得到的最小字符串补充说明:s是都是小写字符组成1#includeusingname
spaces
td;intmain(){inti=0;stringstr
2023面试高手
·
2024-01-26 17:30
华为od
c++
开发语言
华为
算法
C++基础1---C++入门
学习网站:C语言网.C语言基础:C语言基础.编译器:RedPandaDev-C++1.第一个C++程序#include//文件包含;包含iostream标准库;usingname
spaces
td;//声明使用一个叫
鱼香Ross
·
2024-01-26 16:55
面试
学习路线
杂选
java
java进阶
后端
蓝桥杯备战——完全日期
问2001年1月1日到2021年12月31日有多少完美日期模拟日期遍历至20211231即可//问2001年1月1到2021年12月31有多少个完全日期#includeusingname
spaces
td
CZMM@dehua
·
2024-01-26 16:16
蓝桥杯
蓝桥杯备战——纯质数
#includeusingname
spaces
td;intx=0;constintN=2e7+200,M=3e8;intprime[N];intvis[M];voidoula(intn){for(inti
CZMM@dehua
·
2024-01-26 16:15
蓝桥杯
蓝桥杯备战——k倍区间
应用同余定理若b-a为k的倍数则b模k等于a模k#includeusingname
spaces
td;longlongs[100005];longlongmo[100005];intmain(){intn
CZMM@dehua
·
2024-01-26 16:45
蓝桥杯
c++
C/C++ 跨文件共享全局变量
效果项目代码Common.h#pragmaonce#includeusingname
spaces
td;structpara{boolstate;intnum;stringna
乱蜂朝王
·
2024-01-26 15:36
C++
c++
开发语言
docker背景知识1 命名空间Namespace(nsenter命令)
文章目录1.什么是Linuxnamespace2.探索name
spaces
2.1查询本机所有name
spaces
2.1.1通过lsns命令查看ns2.1.2通过查看proc文件系统查看ns2.2查看某个
云川之下
·
2024-01-26 15:20
docker
k8s
paas
linux
namespace
docker
命名空间
nsenter
C++ Qt day2
初始化函数:voidinit(intw,inth)更改宽度的函数:set_w(intw)更改高度的函数:set_h(inth)输出该矩形的周长和面积函数:voidshow()#includeusingname
spaces
td
心若向阳,何惧悲伤
·
2024-01-26 14:27
嵌入式学习-C++
Qt
c++
qt
开发语言
运算符重载
#includeusingname
spaces
td;classVector{private:int_x1;int_x2;int_x3;publi
Epiphanywh
·
2024-01-26 14:53
开发语言
C++
运算符重载
C++类与对象笔记十四:多态一:多态概念、虚函数、动态多态、静态多态、重写虚函数、里氏转换法
#includeusingname
spaces
td;classAnimal{public:voidSpeak(){c
xiaoyaolangwj
·
2024-01-26 13:04
C++
c++
多态
面向对象
虚函数
动态多态
c++入门学习(十八)赋值运算符
将上一篇文章的代码修改一下,以此来使用一下赋值运算符:#include#includeusingname
spaces
td;intm
执沐
·
2024-01-26 13:52
C++入门
算法
c++
数据结构
C++入门学习(十六)取模运算(求余数)
#include#includeusingname
spaces
td;intmain(){inta=10;intb=3;cout<<a%b<<endl;cout<<b%
执沐
·
2024-01-26 13:22
c++
学习
java
C++入门学习(十五)运算符
用于处理四则运算赋值运算符:用于将表达式的值赋给变量比较运算符:用于表达式的比较,并返回一个真值或假值逻辑运算符:用于根据表达式的值返回真值或假值一、加减乘除#include#includeusingname
spaces
td
执沐
·
2024-01-26 13:21
C++入门
学习
排序算法 1 —— 冒泡排序、选择排序、插入排序、快速排序
一冒泡排序#includeusingname
spaces
td;inta[105];//请根据自己的需求设置数组的大小intmain(){intn;cin>>n;for(inti=1;i>a[i];}for
Python_enjoy
·
2024-01-26 13:50
精选文章
排序算法
算法
数据结构
c++
开发语言
[蓝桥杯]真题讲解:子串简写(暴力+二分)
[蓝桥杯]真题讲解:子串简写(暴力+二分)一、视频讲解二、暴力代码三、正解代码一、视频讲解视频讲解二、暴力代码//暴力代码:#include#defineintlonglongusingname
spaces
td
Turing_Sheep
·
2024-01-26 12:00
备战蓝桥杯
#
基础算法与数论题目
蓝桥杯
职场和发展
第二篇:数据结构与算法-顺序表
顺序表动态星空制作#include#include#includeusingname
spaces
td;#defineMAX_START100//星星数#defineMAX_MARGIN80//随机地#defineWIN_WIDTH640
坑真多
·
2024-01-26 12:58
c++
奇牛编程
visual
studio
数据结构
面向对象
AWS 专题学习 P10 (Databases、 Data & Analytics)
1.3AWS数据库服务概述AmazonRDSAmazonAuroraAmazonElastiCacheAmazonDynamoDBAmazonS3DocumentDBAmazonNeptuneAmazonKey
spaces
喵王叭
·
2024-01-26 12:44
云计算
aws
云计算
Ubuntu c++调用python脚本传递参数(Anaconda)
由于需要在c++程序中跑python程序进行语义分割,需要在c++程序中传递参数给Python程序c++call.cpp#include#include#includeusingname
spaces
td
Gone_float
·
2024-01-26 12:11
ubuntu
python
python
c++
anaconda
ubuntu
【SVD生成视频+可本地部署】ComfyUI使用(二)——使用Stable Video Diffusion生成视频 (2023.11开源)
SVD官方主页:Huggingface||Stability.ai||论文地址huggingface在线运行demo:https://huggingface.co/
spaces
/multimodalart
曾小蛙
·
2024-01-26 09:41
ComfyUI
AIGC
生成式人工智能
SVD
stable
video
视频生成
diffusion
AIGC
ComfyUI
AI绘画
#Uniapp: rich-text富文本
属性说明属性名类型默认值说明平台兼容nodesArray/String[]节点列表/HTMLString
spaces
tring显示连续
前端xiaolibao
·
2024-01-26 09:40
#Uniapp
uni-app
网络编程基础 一个简单的网络通讯模型进阶(封装socket客户端/服务端,多进程的服务端,实现文件传输功能)
/T6sxr二.封装socket客户端#include#include#include#include#include#include#include#include#includeusingname
spaces
td
sevenysq
·
2024-01-26 08:22
网络
tcp/ip
网络协议
centos
c++
linux
c语言
C++练习题1-9
No7、显示字符串中的字符No8、字符串反转No9、二维数组的应用NO1、选出妃子、宫女和嬷嬷其他要求:超女用结构体表示不要嵌套if输入所有数据后再判断#include#includeusingname
spaces
td
yb0os5
·
2024-01-26 07:19
C++
c++
算法
开发语言
2024.1.24 C++&QT 作业
思维导图练习题1.提示并输入一个字符串,统计该字符中大写、小写字母个数、数字个数、空格个数以及其他字符个数#include#include#includeusingname
spaces
td;intmain
Carl余
·
2024-01-26 07:46
c++
开发语言
华清远见作业第三十二天——C++(第一天)
代码:#include#includeusingname
spaces
td;intmain(){stringstr;cout='A'&&str[i]='a'&&str[i]='0'&&str[i]<='9
m0_62462327
·
2024-01-26 07:15
华清远见作业
c++
华清远见作业第三十三天——C++(第二天)
voidinit(intw,inth)更改宽度的函数:set_w(intw)更改高度的函数:set_h(inth)输出该矩形的周长和面积函数:voidshow()代码:#includeusingname
spaces
td
m0_62462327
·
2024-01-26 07:12
华清远见作业
c++
2024.1.25 C++&QT 作业
初始化函数:voidinit(intw,inth)更改宽度的函数:set_w(intw)更改高度的函数:set_h(inth)输出该矩形的周长和面积函数:voidshow()#includeusingname
spaces
td
Carl余
·
2024-01-26 07:12
c++
qt
算法
C++ day2
思维导图封装一个矩形类#includeusingname
spaces
td;classRect{private:intheight;intwidth;public:voidinit(intw,inth){
yuanruizhi123
·
2024-01-26 07:41
c++
算法
开发语言
上一页
62
63
64
65
66
67
68
69
下一页
按字母分类:
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
其他