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
Using
蓝桥杯备考:模拟算法之字符串展开
P1098[NOIP2007提高组]字符串的展开-洛谷|计算机科学教育新生态#include#include#include
using
namespacestd;intp1,p2,p3;strings,ret
无敌大饺子 dot
·
2025-03-28 14:18
算法
[蓝桥杯 2023 省 A] 异或和之和
暴力代码:#include#defineintlonglong
using
namespacestd;constintN=1e5+20;intn;intarr[N],ls[N];//前缀异或和数组lssignedmain
好好学习^按时吃饭
·
2025-03-28 14:48
蓝桥杯
矩阵列平移(pta)
也就是第2列移动1个第4列移动2个第6列移动3个以此类推#include
using
namespacestd;inta[110][110],n,m,p,k,z[110];intmain(){inti,j;
i榴莲臭臭配香茶
·
2025-03-28 12:08
思维
c++
520 钻石争霸赛 7-6 矩阵列平移(循环)
对任一给定的正整数k
using
namespacestd;intnum[105][105];intmain(){intn,k,x;cin>>n>>k>>x;for(inti=1;ik)kk=kk-k;for
江南路漫
·
2025-03-28 12:06
PTA
PTA矩阵列平移
对任一给定的正整数ktypedeflonglongll;
using
namespacestd;inta[110][110];intmain(){intn,k,x;cin>>n>>k>>x;for(inti
深巷wls
·
2025-03-28 12:06
数组字符串
C++ —— 链表
C++——简单链表结构体如何解决链表结构体先看一段有关结构体的代码#include#include
using
namespacestd;structst_t{inta;int*p;};intmain(){
奶香臭豆腐
·
2025-03-28 12:01
c++
链表
开发语言
C++重载操作符
文章目录操作符重载用于自动类型转换的构造函数重载一元操作符重载>>和
using
namespacestd;classExample{public:friendExampleoperator+(constExample
hhhcbw
·
2025-03-28 11:58
C++
#
C++基础语法
c++
开发语言
C++重载操作符详解
在C++中有很多的基本运算符,如+,-,*,/,==,>,
using
namespacestd;classperson{public:intage;booloperator==(constperson&ps
虽迟但到灬
·
2025-03-28 11:58
C++
c++
C++重载比较操作符
例1,#include
using
namespacestd;classMyClass{private:intvalue;public:MyClass(intv):value(v){}//重载==运算符booloperator
bcbobo21cn
·
2025-03-28 10:24
VC++
c++
开发语言
运算符重载
比较操作符重载
C++:友元
1.友元函数#include
using
namespacestd;classAA{private:inta;public:AA(){a=100;}public:voidShow(BB&rb){rb.b;}
学习使我变快乐
·
2025-03-28 10:21
c++
开发语言
青少年编程
creating chat agent with langchain and openai getting no attribute error
问题背景:I'mtryingtotestachatagent
using
thepythoncodebelow.I'm
using
langchainagentandtoolfromlangchain.I'mdefiningacoupleofsimplefunctionsfortheLLMtouseastoolswhenapromp
营赢盈英
·
2025-03-28 06:50
AI
langchain
python
openai
api
最大异或对 The XOR Largest Pair
代码:#include
using
namespacestd;constintN=100010;intn;intarr[N];intch[N*31][2],idx;//idx给树上每个节点一个编号voidtr
好好学习^按时吃饭
·
2025-03-28 05:44
算法
弗洛伊德模板
#include#include#include
using
namespacestd;typedeflonglongll;constintN=500;//最大节点数constllinf=0x3f3f3f3f3f3f3f3f
qystca
·
2025-03-28 02:54
图论
蓝桥杯备考:八皇后问题
八皇后的意思是,每行只能有一个,每个对角线只能有一个,每一列只能有一个,我们可以dfs遍历每种情况,每行填一个,通过对角线和列的限制来进行剪枝话不多说,我们来实现一下代码#include#include
using
namespacestd
无敌大饺子 dot
·
2025-03-28 00:36
蓝桥杯
职场和发展
题目 2693: 蓝桥杯2022年第十三届决赛真题-卡牌 C++
#include#include
using
namespacestd;longlongintm,ans=0;//注意m的范围比较大,如果只是定义int的话会导师运行错误inta[210000],b[210000
IC 见路不走
·
2025-03-27 22:26
蓝桥杯
c++
算法
题目 2694: 蓝桥杯2022年第十三届决赛真题-最大数字 C++
#include#include#include#include
using
namespacestd;intmain(){intN;intA,B;intnum=1;intt[20];cin>>N>>A>>
IC 见路不走
·
2025-03-27 22:26
算法
c++
数据结构
模拟String基本函数/深浅拷贝/柔性数组
#pragmaonce#define_CRT_SECURE_NO_WARNINGS#include#include
using
namespacestd;namespacehush{classstring{
UpUpUp……
·
2025-03-27 21:18
c++
算法
开发语言
python joblib_joblib 使用 Python 方便的进行并行计算
Thehomepageofjoblibwithuserdocumentationislocatedon:GettingthelatestcodeTogetthelatestcode
using
git,simplytype
weixin_39788131
·
2025-03-27 21:16
python
joblib
C++中的判断与循环
一.if判断语句1.程序中的判断:if(要执行的判断,最后的返回值要是bool型的数据){如果为真,要执行的代码段;}#include"iostream"
using
namespacestd;intmain
NaZiMeKiY
·
2025-03-27 18:55
C/C++
c++
算法
开发语言
C++实训练习册(C++之基础语法进阶练习题)
代码:#include
using
namespacestd;size_tSum(size_ta,size
白昼57
·
2025-03-27 14:52
c++
蓝桥杯
开发语言
c++将字符转换为数字
将字符数组中的字符‘1到9转换为整数数字#include
using
namespacestd;intchnum(chara[]);intmain(){charar[5]={'3','5','3','7',
笑对明天 守望幸福
·
2025-03-27 14:21
c++
蓝桥杯
开发语言
单点修改,区间求和或区间询问最值(线段树)
n#definelllonglong
using
namespacestd;constintN=100010;structnode{intl,r,mx;lls;};nodexdt[4*N];intn,m,p
云袅
·
2025-03-27 13:17
算法
每日一题第15届蓝桥杯c/c++本科B组省赛第2题
#include#include
using
namespacestd;intgcd(inta,intb){if(a
wen__xvn
·
2025-03-27 12:39
蓝桥杯
蓝桥杯
c++
矩阵对角线求和C++
#include
using
namespacestd;intmain(){inta[100][100];intn,i,j,
一半烟火一半诗意.
·
2025-03-27 10:23
c++
矩阵
算法
C++中的动态内存分配
使用案例:#include
using
namespacestd;intmain()
花落已飘
·
2025-03-27 07:29
C++零基础教程
c++
开发语言
每日一题-比例简化-暴力
题意:给ABL,要求就算出来个a/b,使得a/b>=A/B且a,b
using
namespacestd;intmain(){intA,B,L;inta,b;cin>>A>>B
李烦烦搞快点
·
2025-03-27 06:57
每日一题 - 240419 - 24 GPLT 模拟赛 - L1-8 小偷踩点
0x00Link24GPLT模拟赛-L1-8小偷踩点404Source-PTATag-芝士水题模拟Time-∗*∗0x01SourceCode//#include
using
namespacestd;//
乐意奥AI
·
2025-03-27 06:56
每日一题
算法
C#之基础3---③(集合,数组与集合的区别,哈希表,哈希函数,C#中的静态方法与非静态方法)
集合是一个类,因此必须在向该集合添加元素之前,声明类的实例,需
using
System.Collections。集合的
Elsa~
·
2025-03-27 05:49
【C#】
DataTable与实体类的转换
指定行数据转化为实体类*2、DataTable所有数据转换成实体类列表*3、实体类列表转换成DataTable*Date:2021*Version:0.1版本*Author:Coffee*ModifyRecoder:*/
using
System
牛奶咖啡13
·
2025-03-27 01:48
Winform相关教程
C#基础
数据表与实体类的转换
DataTable转实体类
实体类转DataTable
#Codeforces Round 1009
#include
using
namespacestd;intmain(){ intn; cin>>n; while(n--) { intl,r,d,u; cin>>l>>r>>d>>u
gyc271828
·
2025-03-26 23:06
算法
蓝桥杯备考----->Cow Picnic (BFS)
行是奶牛位置,m行是所有联系我们只要从每个奶牛所在牧场为起点,遍历一下整个图,把遍历的点记录在一个cnt数组里面,只要是遍历过k个的点,就是所有奶牛都能#include#include#include
using
namespacestd
无敌大饺子 dot
·
2025-03-26 23:34
蓝桥杯
宽度优先
职场和发展
大规模文档处理利器:Amazon Textract 参考架构
:AmazonTextract参考架构amazon-textract-serverless-large-scale-document-processingProcessdocumentsatscale
using
AmazonTextract
裘珑鹏Island
·
2025-03-26 15:32
AtCoder Beginner Contest 374 E题 Sensor Optimization Dilemma 2(二分,贪心)
代码#include
using
namespacest
Auto114514
·
2025-03-26 15:31
Atcoder
算法
c++
每日总结3.25
第九届蓝桥杯大赛软件赛省赛C/C++大学B组1.第几天(√);2.乘积尾零(√);(拆分为2和5,统计个数)#include
using
namespacestd;inta[11][11];intmain(
labubu12
·
2025-03-26 10:59
c语言
WPF 表格列表 数据绑定
前端代码方法1通过DataTable类进行绑定
using
System.Data;
using
System.Windows;
using
System.Collections.ObjectModel;
using
System.Windows.Controls
起风了1024
·
2025-03-26 05:48
C#学习日志
wpf
【WPF】MVVM模式实现数据绑定以及Command事件绑定
1.引用类
using
System.ComponentModel2.创建Command自定义类publicclassDelegateCommand:ICommand{publicboolCanExecute
加号3
·
2025-03-26 05:47
wpf
数组名就是指针?
一、让我门来分析一下为什么会有人这样认为#includeintmain(){intarr[5]={0};std::cout#includeintmain(){intarr[5]={0};
using
T=decltype
__舒佳瑞__
·
2025-03-26 02:22
c++
开发语言
c语言
每日一题洛谷P10899 [蓝桥杯 2024 省 C] 劲舞团c++
https://www.luogu.com.cn/fe/api/problem/downloadAttachment/jhqdki17#include#include
using
namespacestd;
wen__xvn
·
2025-03-25 23:32
蓝桥杯
洛谷
c++
开发语言
蓝桥杯
AWS SaaS Factory EKS 参考架构教程
aws-saas-factory-eks-reference-architectureThisrepositoryprovidesareferencearchitectureforbuildinganendtoendSaaSsolution
using
AmazonElasticKubernetesService
殷泳娓
·
2025-03-25 23:31
AWS SaaS Factory EKS 参考架构项目教程
aws-saas-factory-eks-reference-architectureThisrepositoryprovidesareferencearchitectureforbuildinganendtoendSaaSsolution
using
AmazonElasticKubernetesService
冯海莎Eliot
·
2025-03-25 22:25
全排列|| 分发饼干 摆动序列
[[1,1,2],[1,2,1],[2,1,1]]示例2:输入:nums=[1,2,3]输出:[[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]]提示:1
using
namespacestd
默默修炼的小趴菜
·
2025-03-25 22:53
c++
算法
开发语言
算法训练 | 图论Part1 | 98.所有可达路径
目录98.所有可达路径深度搜索法98.所有可达路径题目链接:98.所有可达路径文章讲解:代码随想录深度搜索法代码一:邻接矩阵写法#include#include
using
namespacestd;vector
Orionova
·
2025-03-25 21:48
数据结构算法训练
算法
图论
深度优先
【C++】通讯录管理系统+少量数据结构
#include#include
using
namespacestd;#definemax1000structnewp{stringname;intsex;intage;stringnumber;stringadd
XYN5114
·
2025-03-25 19:01
C++
c++
学习方法
数据结构
笔记
开发语言
文件I/O--C++的文件操作
、打开文件,从文件中读取、写入文件从文件中读取数据:#include//fstreamFilestream:文件流#include//fstream包含了iostream,所以这句可以省略,现在不能了
using
namespacestd
埜玊
·
2025-03-25 12:09
c++
c++
探索无服务器的WebRTC奇境:serverless-webrtc-android
探索无服务器的WebRTC奇境:serverless-webrtc-androidno-server-webrtc-androidAdemoof
using
WebRTCwithnosignalingserver.ButinKotlin
江奎钰
·
2025-03-25 08:10
POJ 3190 Stall Reservations(牛棚挤奶问题)详细代码解读
读取输入并存入cows向量4.2先排序cows4.3处理第一头牛4.4遍历剩下的牛4.5复用牛棚or创建新牛棚4.6输出结果二.详细代码解读#include#include#include#include
using
namespacestd
寒风·长剑
·
2025-03-25 05:45
算法学习
贪心算法
c++
堆
POJ
3190
ABC 369
D.BonusEXPE.SightseeingTourD.BonusEXP常规思路是dp[i]表示到前i个怪的最大收益值,因为要看奇偶性所以再加一维,0表示当前这个怪打或不打共打了偶偶数怪,1表示打#include#defineintlonglong
using
namespacestd
空雲.
·
2025-03-25 04:38
算法
c++
数据结构
算法复习——排列|组合|指数枚举
#include
using
namespacestd;constintN=20;inta[N];boolst[N];intans;intn;voiddfs(intx){if(x>n){for(inti=1
小赖同学吖
·
2025-03-25 04:07
算法
深度优先
逻辑回归
每日总结3.24
第十届蓝桥杯大赛软件赛省赛C/C++大学B组183.完全二叉树的权值(找规律,临界值)#include
using
namespacestd;inta[1000005];intmain(){intm;intd
labubu12
·
2025-03-24 23:34
c语言
C++ 图论之求图的连通块数量(邻接矩阵版)
3.代码#include
using
namespacestd;longlongn,m,ans;//n点数,m边数,ans连通块数量。boola[105][10
JuRuo_Yuan
·
2025-03-24 22:28
蒟蒻讲图论算法
c++
图论
深度优先
上一页
1
2
3
4
5
6
7
8
下一页
按字母分类:
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
其他