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
Problem
The 2023 ICPC Asia Regionals Online Contest (2) --E Another Bus Route
Problem
(BFS)
Pik'svillagecomprisesofnresidentialbuildings(labeledfrom1ton)connectedbyn−1bidirectionalroads.Thevillageformsatreestructure,whereeachbuildingisinterpretedasatreevertex,andeachroadisinterpretedasatreee
小小小Why
·
2023-10-28 11:11
宽度优先
算法
LeetCode 2558. 从数量最多的堆取走礼物
【LetMeFly】2558.从数量最多的堆取走礼物力扣题目链接:https://leetcode.cn/
problem
s/take-gifts-from-the-richest-pile/给你一个整数数组
Tisfy
·
2023-10-28 10:50
题解
#
力扣LeetCode
leetcode
算法
题解
堆
优先队列
算法训练营DAY48|121. 买卖股票的最佳时机、122.买卖股票的最佳时机II
121.买卖股票的最佳时机-力扣(LeetCode)https://leetcode.cn/
problem
s/best-time-to-buy-and
让你明白算法!
·
2023-10-28 10:42
训练营
算法
leetcode
动态规划
Leetcode刷题笔记 204. 计数质数
204.计数质数时间:2020年12月3日知识点:打表、埃氏筛、线性筛题目链接:https://leetcode-cn.com/
problem
s/count-primes/题目统计所有小于非负整数n的质数的数量
jialun0116
·
2023-10-28 09:59
leetcode
leetcode
LeetCode - 切割后面积最大的蛋糕
题目链接:https://leetcode-cn.com/
problem
s/maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts
良晨
·
2023-10-28 09:48
LeetCode
【Leetcode】【每日一题】【中等】1465. 切割后面积最大的蛋糕
https://leetcode.cn/
problem
s/maximum-area-of-a-piece-of-cake-after-horizontal-and-vertical-cuts/description
have_to_be
·
2023-10-28 09:15
Leetcode
java
算法
数据结构
2021-2022第二学期总结
视听说部分是听力的重拾,也是新的开始[
Problem
s]:1.学习自觉性不够高,觉得可能没有像高中那样自觉地去学英语,课后没有得到很好的练习。写作业可能也
杨濡冰
·
2023-10-28 09:15
力扣算法 Java 刷题笔记【动态规划篇 DP 子序列类型问题】hot100(一) 最长回文子串 & 最长回文子序列 2
1.最长回文子串(中等)地址:https://leetcode-cn.com/
problem
s/longest-palindromic-substring/2021/12/26做题反思:“”和null的区别
心海非海_
·
2023-10-28 08:42
数据结构与算法
动态规划
算法
leetcode
蓝桥杯第 2 场算法双周赛 第2题 铺地板【算法赛】c++ 数学思维
题目铺地板https://www.lanqiao.cn/
problem
s/5887/learning/?
冷yan~
·
2023-10-28 08:01
蓝桥杯
数学
算法
蓝桥杯
数据结构
c++
UVA 140 Bandwidth (带宽)
Problem
问题Givenagraph(V,E)whereVisasetofnodesandEisasetofarcsinVxV,andanorderingontheelementsinV,thenthebandwidthofanodevisdefinedasthemaximumdistanceintheorderingbetweenvandanynodetowhichitisconnected
disparity_CJK
·
2023-10-28 08:11
回溯法
UVA 140 Bandwidth
题目链接:http://acm.hust.edu.cn/vjudge/
problem
/view
Problem
.action?
DS-K
·
2023-10-28 08:10
UVA
uva
UVA-140 Bandwidth 带宽
题目链接:https://vjudge.net/
problem
/UVA-140题意:给出一个n(n#include#include#include#includeusingnamespacestd;constintINF
Sunshine_victory
·
2023-10-28 08:40
暴力
暴力
理解Floyd-Warshall算法
本文讨论的Floyd-Warshall算法(下称FW算法)则适用于解决可有负权边但不可有负权环的“全局最短路径问题”(all-pairsshortestpath
problem
,或叫做“任意两点间的最短路径问题
桥头堡2015
·
2023-10-28 08:20
P100
题目描述:https://leetcode-cn.com/
problem
s/same-tree/这个题目只要按照相同的顺序遍历一遍节点,判断节点是否相等即可,注意下对空节点的处理就好publicbooleanisSameTree
宙斯是只猫
·
2023-10-28 07:37
XTU-OJ 1247-Robb‘s
Problem
题目描述Robb想知道阶乘n!第m位数码是什么?输入第一行是一个整数T,(1≤T≤10000)每行一个样例,为2个整数n,m,0≤n≤1000,1≤m≤log10n!+1输出每行输出一个样例的结果样例输入3515253样例输出021解题思路:一种简单的方法就是,用二维数组存下该阶乘的计算结果,一列存一位数,容易理解,但这样就需要耗费很大的空间。例如num[0][1]=1代表0!第一位数是1,num
Jay_is_Chou
·
2023-10-28 06:59
湘大OJ练习解析
算法
java leetcode之[动态规划 中等]189. 轮转数组
题目的链接在这里:https://leetcode-cn.com/
problem
s/rotate-array/目录题目大意一、示意图二、解题思路双指针(会超时)三次反转题目大意给你一个数组,将数组中的元素向右轮转
关切得大神
·
2023-10-28 06:48
LeetCode
动态规划
leetcode
java
Leetcode 7
Problem
DescriptionGivena32-bitsignedinteger,reversedigitsofaninteger.Example1:Input:123Output:321Example2
张桢_Attix
·
2023-10-28 05:45
LeetCode 979 在二叉树中分配硬币
题目链接:https://leetcode-cn.com/
problem
s/distribute-coins-in-binary-tree/要求计算得出总共需要多少次移动才能使得每个节点上都有一个硬币。
pokorz
·
2023-10-28 05:59
Lintcode 3715 · Lowest Common Ancestor V (最小祖先好题)
3715·LowestCommonAncestorVPREAlgorithmsMediumThistopicisapre-releasetopic.Ifyouencounterany
problem
s,pleasecontactusvia
纸上得来终觉浅 绝知此事要躬行
·
2023-10-28 05:58
算法
数据结构
【双指针】面试题 16.06. 最小差
leetcode地址:https://leetcode.cn/
problem
s/smallest-difference-lcci/给定两个整数数组a和b,计算具有最小差绝对值的一对数值(每个数组中取一个值
打磨时光
·
2023-10-28 05:35
每天一道算法题
leetcode
算法
职场和发展
力扣 面试题 16.06. 最小差
并返回该对数值的差示例输入:{1,3,15,11,2},{23,127,235,19,8}输出:3,即数值对(11,8)来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s
冷酷的摸鱼小将
·
2023-10-28 05:31
面试题
leetcode
算法
java
2012年建模A题 葡萄酒的评价
A题葡萄酒的评价2012数模国赛A题下载链接:http://www.mcm.edu.cn/
problem
/2012/2012.html解题思路符号说明先附上我的摘要第一问第一问分析两组评酒员的评价结果有无显著性差异
Andy-wen
·
2023-10-28 02:31
数学建模
数学建模
Atcoder Begginer Contest 318 讲解(A~E题)
A-FullMoonDescription
Problem
StatementTakahashilikesfullmoons.Lettodaybeday111.ThefirstdayonoraftertodayonwhichhecanseeafullmoonisdayMMM.Afterthat
阿史大杯茶
·
2023-10-28 01:24
Atcoder
Atcoder
AtCoder Beginner Contest 322 (A~F题)
A-FirstABC2Description
Problem
StatementYouaregivenastringSSSoflengthNNNconsistingofA,B,andC.FindthepositionwhereABCfirstappearsasa
阿史大杯茶
·
2023-10-28 01:24
Atcoder
Atcoder
最小栈JAVA实现_LeetCode简单题:155. 最小栈(Python,C++,Java)
一.解法https://leetcode-cn.com/
problem
s/min-stack/要点:辅助栈Python,C++,Java都用了相同的辅助栈法,顾名思义就是有个栈放在原来栈旁边执行相关的操作
weixin_39700397
·
2023-10-28 01:46
最小栈JAVA实现
leetcode:155.最小栈
155.最小栈来源:力扣(LeetCode)链接:https://leetcode.cn/
problem
s/min-stack/设计一个支持push,pop,top操作,并能在常数时间内检索到最小元素的栈
uncle_ll
·
2023-10-28 01:16
编程练习-Leetcode
leetcode
最小栈
栈
算法训练
链表
Leetcode刷题102-155. 最小栈(C++详细解法!!!)
Comefrom:[https://leetcode-cn.com/
problem
s/min-stack/]155.MinStack1.Question2.Answer3.我的收获1.QuestionDesignastackthatsupportspush
hanxiao_101
·
2023-10-28 01:15
LeetCode从零开始
LeetCode
C++
算法学习:LeetCode-66. 加一
来源:力扣(LeetCode)链接:https://leetcode.cn/
problem
s/plus-one2.解题思路这个题目用进位去处理比较容易。
萌龙如我们
·
2023-10-28 01:15
LeetCode
leetcode
学习
算法
LeetCode66. 加一
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s/plus-one著作权归领扣网络所有。商业转载请联系官方授权,非商业转载请注明出处。
五更依旧朝花落
·
2023-10-28 01:14
Java进阶之路
#
算法
2018-06-28
╮(╯╰)╭
Problem
s听力还是一如既往的让人担心,最害怕的还是去说英语,害怕自己的发音被嘲笑。Suggestions建议老师讲一下作文的写作,把做过的卷子讲讲。
任竟男
·
2023-10-28 01:24
【MAC 上学习 C++】Day 61-2. 6-7 统计某类完全平方数 (20 分)
6-7统计某类完全平方数(20分)1.题目摘自https://pintia.cn/
problem
-sets/14/
problem
s/7392.题目内容本题要求实现一个函数,判断任一给定整数N是否满足条件
RaRasa
·
2023-10-28 00:33
Graph of Thoughts: Solving Elaborate
Problem
s with Large Language Models论文精读
paper:https://arxiv.org/pdf/2308.09687.pdfcode:https://github.com/spcl/graph-of-thoughts0Abstract不同于以往的CoT和ToT,文章提出了GoT,将LLM生成的信息构建为任意图:顶点:LLMthoughts(信息单元)边:顶点之间的依赖GoT的优势:将任意LLMthoughts【LLM对于给定prompt
别码了W哥
·
2023-10-28 00:36
语言模型
人工智能
深度学习
自然语言处理
代码随想录算法训练营第三天|203. 移除链表元素 707. 设计链表 206.反转链表
代码随想录算法训练营第三天|文章目录代码随想录算法训练营第三天|1.[203.移除链表元素](https://leetcode.cn/
problem
s/remove-linked-list-elements
Yuyu Tong
·
2023-10-28 00:00
代码随想录
链表
算法
数据结构
力扣leetcode 1624. 两个相同字符之间的最长子字符串
文章目录题目链接与描述关键词:滑动窗口双指针哈希表方法一:滑动窗口双指针运行截图代码方法二:哈希表运行截图代码结尾题目链接与描述https://leetcode.cn/
problem
s/largest-substring-between-two-equal-characters
木秀林
·
2023-10-28 00:04
leetcode
leetcode
算法
洛谷3月月赛 R1 Step! ZERO to ONE
tid=1614TBP3654FirstStep(ファーストステップ)https://www.luogu.org/
problem
/show?
weixin_30915951
·
2023-10-27 22:00
数据结构与算法
幻想乡模拟赛S1试题+题解+标程
Problem
1东风谷早苗(robot.cpp/c/pas)题目描述在幻想乡,东风谷早苗是以高达控闻名的高中生宅巫女。某一天,早苗终于入手了最新款的钢达姆模型。
weixin_30316097
·
2023-10-27 22:59
数据结构与算法
java
leetcode 1. 两数之和 python 哈希解法
题目:https://leetcode.cn/
problem
s/two-sum/解题思路哈希:访问值的复杂度为O(1)python用字典来实现哈希操作,因为Python的字典采用了哈希表实现,最快能在O
Damon328
·
2023-10-27 22:23
leetcode
哈希算法
算法
Python实现leetcode 2.两数相加
题目原题地址https://leetcode-cn.com/
problem
s/add-two-numbers/解答Python实现单向无序链表(Singlylinkedlist)可参考链接#Definitionforsingly-linkedlist
毒吻可积
·
2023-10-27 22:52
leetcode
python
leetcode
力扣: 274. H 指数
题目来源:https://leetcode-cn.com/
problem
s/h-index/大致题意:给定一个数组,找出最大的h,h代表数组中有h个至少为h的元素。
三更鬼
·
2023-10-27 22:50
排序
leetcode
java
期末复盘
[
Problem
s]对于阅读还是不够耐心去学习,我觉得这和我个人的词汇
19人文101才卓
·
2023-10-27 22:33
学个词2:have something up one's sleeve
havesomethingupone'ssleeve:tohaveasecretorsurpriseplanorsolutiontoa
problem
.Ifyouhavesomethingupyoursleeve
英文研习社
·
2023-10-27 22:36
爬楼梯
题目来源:https://leetcode.cn/
problem
s/climbing-stairs/题目:假设你正在爬楼梯。需要n阶你才能到达楼顶。每次你可以爬1或2个台阶。
bypwan
·
2023-10-27 21:25
杭电acm2022 java
Java/Others)MemoryLimit:65536/32768K(Java/Others)TotalSubmission(s):96674AcceptedSubmission(s):42045
Problem
Descriptionpotato
彦小忠
·
2023-10-27 20:36
LeetCode 64.最小路径和(开辟额外空间(二维)、不开辟额外空间(二维)、优化(一维))
Problem
:64.最小路径和文章目录前言思路解题方法Code优化:前言简单写写自己对这道题的拙见,如有意见或者建议可以联系笔者owo思路这道题就是典型的填格子,对于这类题目在看到的时候需要抓住我这个位置状态是依赖于哪几个数据继续构造
摸鱼儿hzj
·
2023-10-27 20:37
算法
leetcode
算法
职场和发展
7. Reverse Integer
题目地址:https://leetcode.com/
problem
s/reverse-integer/思路:把int转为字符串,字符串反转后再转回int,同时要处理越界问题classSolution{public
wangdsh
·
2023-10-27 20:09
代码随想录图论 第三天 | 130. 被围绕的区域 417. 太平洋大西洋水流问题
代码随想录图论第三天|130.被围绕的区域417.太平洋大西洋水流问题一、130.被围绕的区域题目链接:https://leetcode.cn/
problem
s/surrounded-regions/思路
当年拼却醉颜红
·
2023-10-27 19:33
力扣算法题
图论
算法
数据结构
leetcode
java
讲解:CSCI 3100、C++、c/c++、thread handlingHaskell|Haskell
(a)Zipyoursourcecodesandascreenshot(cellphonepicturesareOK)foreachprogramming
problem
.Makesuretonameyourfil
lianfangtai
·
2023-10-27 19:58
【早安心语】
【2021-10-19】早安春夏秋冬Whenwemakeourselvesbetter,those
problem
sthatbotheryouarenaturallysolved,sodon'tfocusyouremotionsonthingsthatareuselessandtemporarilyimpossibletosolve
壹典心理咨询
·
2023-10-27 18:29
Simulink自带的MPC控制器调试过程中报错
报如下错误:Controllercannotbedesignedintheappduetothefollowing
problem
:Directfeedthroughfrommanipulatedvariablestoanyoutputisnotallowed
weixin_43796045
·
2023-10-27 15:09
matlab
mpc
《排错》Python重新安装后,执行yum命令报错
安装完新的python以后,发现yum命令没法用以下是报错信息:[root@master~]#yumTherewasa
problem
importingoneofthePythonmodulesrequiredtorunyum.Theerrorleadingtothis
problem
was
ascarl2010
·
2023-10-27 14:29
Linux系统运维
Python
1024程序员节
上一页
102
103
104
105
106
107
108
109
下一页
按字母分类:
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
其他