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
【洛谷】爱与愁的心痛
思路定义和输入所需值,注意定义的最小值,赋值的时候要往大的数定义在主函数中定义两个for循环来对a数组进行计算最后输出结果即可实现步骤同思路代码#include#includeusingname
spaces
td
美丽绝育大蟑螂
·
2023-12-28 21:30
算法
C++ 一个有bug的贪吃蛇。。。。。。。。
#include#include#include#include#include#include#includeusingname
spaces
td;#pragmawarning(disable:4996
laocooon523857886
·
2023-12-28 21:18
c++
算法
【c++】
1.定义自己的命名空间myspace,并在myspace中定义一个字符#include#include//#includeusingname
spaces
td;//3.定义自己的命名空间myspace,并在
唠个锤子
·
2023-12-28 21:32
c++
开发语言
【C++的类】
#includeusingname
spaces
td;classPerson{int*age;string&name;public:Person(int*age,string&name):age(age)
唠个锤子
·
2023-12-28 21:32
c++
开发语言
【C++】结构体、重载
#include#include//#include#includeusingname
spaces
td;classstu{private:intage;stringsex;stringname;public
唠个锤子
·
2023-12-28 21:31
c++
开发语言
2020-06-16判断素数的函数
#includeusingname
spaces
td;intfun(inta){intan=0;for(inti=2;i<a;i++){if(a%i==0&&i!
fhsh
·
2023-12-28 19:55
Android.mk文件编译可执行文件
android91、编译可执行文件源代码位置:/home/dongying/android9/frameworks/base/cmds/test/hello.cpphello.cpp#includeusingname
spaces
td
chexitianxia
·
2023-12-28 19:44
Android
android
cpp_07_类型转换构造_析构函数_深拷贝_静态成员
编译器内置转换规则:int->double类类型之间的转换,编译器不知道转换规则,需要用户提供:Cat->Dog//consconv_why.cpp为什么需要自定义转换#includeusingname
spaces
td
wwwwood
·
2023-12-28 19:09
Cpp
c++
C++ 比C语言增加的新特性 5 之字符串string
1.c++的string类型1.1创建和初始化字符串string.cpp#include"iostream"#includeusingname
spaces
td;//创建和初始化字符串intmain(){
进击的菜鸟子
·
2023-12-28 18:22
C++
c++
linux
c语言
oracle-ORA-01653: unable to extend table SYS.AUD$ by 8192 in tablespace SYSTEM
一、背景dts服务报错,查看具体报错内容如下ORA-01653:unabletoextendtableSYS.AUD$by8192intable
spaceS
YSTEM二、解决办法1、使用sysdba登陆
与数据交流的路上
·
2023-12-28 18:13
oracle
oracle
数据库
设计一个O(n^2)时间的算法,找出由n个数组成的最长单调递增子序列。
#includeusingname
spaces
td;intmain(){intsum=0,a[10],max=0,i=0,j,first,last;cout>a[b];}for(i=0;ia[j]){sum
布吃
·
2023-12-28 18:39
算法设计
c算法
鸿蒙(HarmonyOS)项目方舟框架(ArkUI)之线性布局容器Column组件
:string|number})参数参数名参数类型必填默认值参数描述
spaces
trin
亚丁号
·
2023-12-28 16:29
harmonyos
鸿蒙(HarmonyOS)项目方舟框架(ArkUI)之线性布局容器Row组件
:string|number})参数参数名参数类型必填默认值参数描述
spaces
tring|number否0
亚丁号
·
2023-12-28 16:25
harmonyos
C++相关闲碎记录(18)
1、strftime()的转换指示器#include#include#include#include#include#includeusingname
spaces
td;intmain(){try{//querylocaltime
半路程序员
·
2023-12-28 16:12
c++
你会打印文件吗3045:练9.2 打印ASCII码
【输入样例】A【输出样例】65#includeusingname
spaces
td;intmain(){charx;cin>>x;inty;y=x;cout<<y;return0;
gezhengxu2024(已隕落)
·
2023-12-28 14:49
编程启蒙
c++
c++
c++病毒小代码(2.0魔改)
include#include#definea415#defineb466#definec554#defined622#definee740#definef831#defineg932usingname
spaces
td
gezhengxu2024(已隕落)
·
2023-12-28 14:49
c++
其它代码
c++
病毒
3040:练8.5 幸运数
【输入样例】32【输出样例】2#include//代码~~~~~~~~~~~~~usingname
spaces
td;intmain(){intN,K,
gezhengxu2024(已隕落)
·
2023-12-28 14:19
c++
编程启蒙
c++
c++病毒小代码2.0(有声版 已做优化)
include#include#definea415#defineb466#definec554#defined622#definee740#definef831#defineg932usingname
spaces
td
gezhengxu2024(已隕落)
·
2023-12-28 14:19
其它代码
c++
c++
病毒
3036:练8.1 尼克与强盗
【输入样例】67【输出样例】76#include//代码~~~~~~~~~~~~~usingname
spaces
td;intm
gezhengxu2024(已隕落)
·
2023-12-28 14:18
c++
编程启蒙
c++
3024:练6.1 植树造林
【输入样例】504【输出样例】总的棵数:200#includeusingname
spaces
td;intmain(){intn,b,a;cin>>n>>b;a=n*b;cout<<"总
gezhengxu2024(已隕落)
·
2023-12-28 14:48
c++
编程启蒙
c++
3分钟学会C++输出八进制和十六进制数值
#inccludeusingname
spaces
td;intmain(){inti=47;cout<<"10进制"<
代数狂人
·
2023-12-28 14:45
C++
c++
visual
studio
容器
你会画菱形吗3044:练9.1 字符菱形
【输入样例】*【输出样例】*************#includeusingname
spaces
td;intmain(){chara;cin>>a;cout<<""<
gezhengxu2024(已隕落)
·
2023-12-28 14:40
c++
编程启蒙
c++
【C++】继承和运算符重载练习题
运算符重载#includeusingname
spaces
td;#includeclassMoney{public:Money(inty=0,intj=0,intf=0);Moneyoperator+(Money
小秀_heo
·
2023-12-28 13:50
C/C++
c++
开发语言
DAY2C++
#includeusingname
spaces
td;classStu{intyear;charsex;intheight;public:floatscore;intget_privateyear();intget_private
Aklkimg
·
2023-12-28 10:28
c++
算法
开发语言
[LOJ10213] 「一本通 6.4 例 5」Strange Way to Express Integers [ExCRT]
2891LOJ-https://loj.ac/problem/10213板子#include#include#include#include#include#include#includeusingname
spaces
td
_er
·
2023-12-28 10:20
PAT 乙级 1025 链表反转(数组反转)
空间换时间数组内部进行反转publicvoidreverse(int*a,intstart,intend){while(startvoidreverse(int*list,inti,intgap);usingname
spaces
td
Ethan_Walker
·
2023-12-28 10:35
【C++】optional的使用(一)
#includeusingname
spaces
td;structOut{stringout1{""};stringout2{""};};pairfunc(co
bluebonnet27
·
2023-12-28 10:50
C++
工作业务
c++
java
开发语言
鸿蒙(HarmonyOS)项目方舟框架(ArkUI)之线性布局容器Row组件
:string|number})参数参数名参数类型必填默认值参数描述
spaces
tring|number否0
自动化新人
·
2023-12-28 04:23
harmonyos
鸿蒙(HarmonyOS)项目方舟框架(ArkUI)之线性布局容器Column组件
:string|number})参数参数名参数类型必填默认值参数描述
spaces
trin
自动化新人
·
2023-12-28 04:23
harmonyos
1529: [POI2005]ska Piggy banks(SCC)
代码:#include#include#includeusingname
spaces
td;#defineMAXN1000100structe
AmadeusChan
·
2023-12-28 03:04
数字统计-while循环
记得重新定义一个新数,防止计算出差错算法一:while循环实现步骤for循环中嵌套一个while循环如果p除以10的余数为2就加一,并把p除10输出计数代码#include#includeusingname
spaces
td
2301_81102850
·
2023-12-28 03:31
算法
二维数组--生活大爆炸剪刀石头布版
所得的分思路定义一个二维数组用来储存所有的情况利用二维数组进行计算坑点求第几个数时用变量i不能用定值n算法一:二维数组实现步骤二维数组for循环中输出小a和小b的分代码#includeusingname
spaces
td
2301_81102850
·
2023-12-28 03:00
c++
bool,sort-拼数
使它们排序变成一个最大的整数思路排序使n个数依次从大到小排序再输出算法一:结构体,排序实现步骤循环找出n个数中的最大值(bool)再重新排序(sort)最后输出代码#include#includeusingname
spaces
td
2301_81102850
·
2023-12-28 03:30
算法
回文-最小回文数
的回文数的最小值思路首先找到回文数判断回文数是不是大于n的最小值坑点如果n为9,99,999等要进位的,需要特殊考略算法一:回文,strcmp实现步骤先考略特殊情况转变为回文数进行转换代码#include#includeusingname
spaces
td
2301_81102850
·
2023-12-28 03:30
算法
二分--银行贷款
代码#include#includeusingname
spaces
td;doublen,m,t;//n贷款,m分期付款,t月数doublefind(doublel,doubl
2301_81102850
·
2023-12-28 03:59
c++
鸿蒙(HarmonyOS)项目方舟框架(ArkUI)之线性布局容器Row组件
:string|number})参数参数名参数类型必填默认值参数描述
spaces
tring|number否0
记忆的小河
·
2023-12-28 01:29
harmonyos
鸿蒙(HarmonyOS)项目方舟框架(ArkUI)之线性布局容器Column组件
:string|number})参数参数名参数类型必填默认值参数描述
spaces
trin
记忆的小河
·
2023-12-28 01:59
harmonyos
C++基础教程之string详情
string类是一个模板类,位于名字空间std中,还需要加:usingname
spaces
td;声明一个字符串变量很简单:stringstr;初始化方式如下:更多C/C++资料下载,C/C++学习乐园:
C语言基础
·
2023-12-28 01:27
蓝桥杯 归并排序 acwing版
#includeusingname
spaces
td;boolcheck(inti){for(inta=1;a=r)return;//第一步:分成子问题intmid=l+r>>1;//第二步:递归处理子问题
Beatmyselfonce
·
2023-12-28 00:46
蓝桥杯
算法
职场和发展
ACM程序设计_期末考试
HDUToday_Dijkstra#include#include#include#include#include#includeusingname
spaces
td;#defineMAX2100intINF
Vincy_ivy
·
2023-12-28 00:37
【Kimi帮我读论文】《LlaMaVAE: Guiding Large Language Model Generation via Continuous Latent Sentence
Spaces
》
一、论文信息1标题《LlaMaVAE:GuidingLargeLanguageModelGenerationviaContinuousLatentSentence
Spaces
》,2作者YingjiZhang
ZedKingCarry
·
2023-12-28 00:13
大语言模型
阅读笔记
normalizing
flow
语言模型
人工智能
自然语言处理
论文阅读
电子学会C/C++编程等级考试2022年06月(七级)真题解析
C/C++等级考试(1~8级)全部真题・点这里第1题:有多少种二叉树输入n(1usingname
spaces
td;intmain(){longlongn,h1=1,y=0;cin>>n;for
码农StayUp
·
2023-12-27 22:26
深度优先
算法
图论
c++
青少年编程
电子学会
句子单词逆序
#include#includeusingname
spaces
td;intmain(){strings,s_;getline(cin,s);stringstreamss(s);vectorstr;while
瓜大小王子
·
2023-12-27 22:51
C++day1作业
#includeusingname
spaces
td;namespacezzw{staticstringstr="helloworld";}intsize_str(){stringstr1=zzw::str
傻猪猪一枚
·
2023-12-27 22:12
c++
开发语言
算法
C++day2作业
把课上strcut的练习,尝试着改成class#includeusingname
spaces
td;classStu{private:intage;stringsex;inthign;public:intsoce
傻猪猪一枚
·
2023-12-27 22:11
c++
算法
开发语言
c++ day1
代码实现:#includeusingname
spaces
td;namespacemyspace{stringbuf="ilovechina";}intmy_strlen(stringbuf){inti;
IT技术电坤小新
·
2023-12-27 19:10
c++
开发语言
C++(11):基于函数指针检查类中是否有某个成员函数
#include#includeusingname
spaces
td;structhas_3_param_f_member{templatestructget{};};templatestructis_member_f_has
风静如云
·
2023-12-27 19:05
C/C++
c++
c++如何读取文件中的内容
具体操作代码如下:#include#include#includeusingname
spaces
td;intmain(void){ifstreaminput("C:\\Users\\86178\\Desktop
shnhe
·
2023-12-27 18:36
C++
c++
开发语言
struct关键字及内存对齐详解
structstudent{}stu;coutusingname
spaces
td;typedefstructst_type{inti;inta[0];}type_a;intmain(){coutitem
月已满西楼
·
2023-12-27 18:03
c/c++
cpp
编程
结构体
struct
CodeFoeces-777A
代码#includeusingname
spaces
td;intmain(){intn,x,t[6][3]={0,1,2,1,0,2,1,2,0,2,1,0,2,0,1,0,2,1};cin>>n>>x;
ss5smi
·
2023-12-27 17:25
上一页
95
96
97
98
99
100
101
102
下一页
按字母分类:
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
其他