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
条件连通dfs/双dfs
小A的院子TimeLimit:2000/1000ms(Java/Others)
Problem
Description:小A发现了一块边长为n(1≤n≤30)的正方形空地。
ffffffffffffly
·
2024-01-01 04:12
iOS技术支持网址
IOSsupportswebaddressesIfyouencounterany
problem
whenusingourproducts,pleasefeelfreetocontactusandwewillta
见巧雄起
·
2024-01-01 03:21
【leetcode之189. 轮转数组】详解
原题链接:https://leetcode.cn/
problem
s/rotate-array/:很有意思的一道题,本人提供三种方法,有更巧妙的方法的同学欢迎交流正文开始一、Createanewarray
麻辣郭德纲
·
2024-01-01 02:49
LeetCode刷题之路
leetcode
算法
职场和发展
2022-2023年第一学期总复盘
[
Problem
s]1.问题就是在这个学期的生词过于多,然后自己没有很大精力背诵,背完不及时温习真的会忘,长难句有时把握不住,不很会分析,做课后练习时有的空改完答案仍不能理解透彻,总停留在自己最初的思路
张裕
·
2024-01-01 01:38
数据结构:LinkedList类和链表
模拟实现LinkedList3.1模拟实现add方法3.2模拟实现remove方法3.3模拟实现clear方法4.八道关于链表操作的题目4.1第一题:[反转链表](https://leetcode.cn/
problem
s
蔡欣致
·
2024-01-01 00:38
初阶数据结构系列
链表
数据结构
java
【MAC 上学习 C++】Day 63-4. 7-6 混合类型数据格式化输入 (5 分)
7-6混合类型数据格式化输入(5分)1.题目摘自https://pintia.cn/
problem
-sets/14/
problem
s/7862.题目内容本题要求编写程序,顺序读入浮点数1、整数、字符、浮点数
RaRasa
·
2023-12-31 23:05
【leetcode刷题】16. 3 Sum Closest
原题链接:https://leetcode.com/
problem
s/3sum-closest/思路:与15题类似,i从左往右遍历,j、k分别从左、右开始遍历。
maodoudou168
·
2023-12-31 22:39
讲解:Analytics 512、R、Canvas、RC/C++|C/C++
Analytics512:TakeHomeFinalExam2019200pointsinten
problem
s.Thisisthetake-homeportionoftheexam.Youmayuseyournotes
dkmzqk6
·
2023-12-31 21:43
3190: [JLOI2013]赛车(离散化+栈)
题目:http://www.lydsy.com/JudgeOnline/
problem
.php?
AmadeusChan
·
2023-12-31 21:08
Compare Version Numbers
https://leetcode.com/
problem
s/compare-version-numbers/给定两个string的版本号,比较两个版本号的大小注意一些特定情况比如1.0和1是相等的publicintcompareVersion
瞬铭
·
2023-12-31 21:03
python多重背包_2020-09-02 Python3 动态规划:背包问题
0-1背包,完全背包,多重背包的个人迭代代码:fromrandomimportrandintclassBag
Problem
(object):defmv(self,t,v):#Onetimeforeachitemifnottorvv
weixin_39522486
·
2023-12-31 20:08
python多重背包
A
problem
has occurred and the system can‘t recover问题的解决
A
problem
hasoccurredandthesystemcan'trecover问题的解决问题描述解决方法参考博客问题描述启动后无法进入图形界面,出现如下报错内容按ctrl+alt+f2(或者ctrl
夕文x
·
2023-12-31 20:01
软件相关
linux
redhat
【LeetCode每日一题】1154. 一年中的第几天(直接计算+调用库函数)
2023-12-31文章目录[1154.一年中的第几天](https://leetcode.cn/
problem
s/day-of-the-year/)方法一:直接计算思路:方法二:调用库函数思路1154
翁佳明
·
2023-12-31 20:00
LeetCode
leetcode
算法
职场和发展
PROBLEM
F: 用链表实现约瑟夫环
Description你听说过约瑟夫问题吗?问题大致如下:首先n个人围成一个圈,标记为1到n号。接着,从1号开始报数(从1开始),然后2号报数,然后3号。。。当有人报到到m时,这个人就要踢出比赛,然后从被踢出的人的下一个人开始,重新报数(从1开始)。这样经过n-1次后,就只剩下了一个人,问最后剩下的那个人是几号?Input第1行为T,表示有T组数据;第2行到第T+1开始,每行输入n和m,n表示有几
小菜鸡加油
·
2023-12-31 16:17
C语言入门题
启动springboot时报错 APPLICATION FAILED TO START 包冲突
启动springboot时报错APPLICATIONFAILEDTOSTART包冲突
problem
具体日志如下***************************APPLICATIONFAILEDTOSTART
snowDreamzzz
·
2023-12-31 16:27
pits
spring
boot
后端
java
【每日一题】【12.29】 - 【12.31】年终收尾
【12.29】2706.购买两块巧克力2706.购买两块巧克力https://leetcode.cn/
problem
s/buy-two-chocola
A_SHOWY
·
2023-12-31 15:44
力扣每日一题
算法
leetcode
数据结构
c++
C. Perfect Square(矩形旋转之后对应的坐标)
题目:https://codeforces.com/contest/1881/
problem
/C思路:旋转之后对应的坐标:顺时针旋转090180270分别为(i,j)(j,n+1-i)(n+1-i,n+
萌新好菜
·
2023-12-31 14:29
算法
D. X-Sum 求矩形里面斜线的和的最大值
题目:https://codeforces.com/contest/1676/
problem
/D思想:暴力,但是要注意很多细节,每次把当前点要走的下一步作为起点开始斜线遍历,这样可以有效避免越界问题,并且最后只用加上当前数
萌新好菜
·
2023-12-31 14:29
算法
C. Load Balancing 一个序列同时加一个数和减一个数,直到最大和最小之间相差最大为1(结论可记住)
代码://
Problem
:C.LoadBalancing//Co
萌新好菜
·
2023-12-31 14:29
c语言
算法
开发语言
B. StORage room (位运算结论可记住:一个数组,a[i] | a[j]得到一个n*n的矩阵,求这个数组,用pow(2,30)-1 & 矩阵的第i行得到一个数即为这个数组的第i个)
题目:https://codeforces.com/contest/1903/
problem
/B思想:其中2^30-1的二进制为1111111......代码://
Problem
:B.StORageroom
萌新好菜
·
2023-12-31 14:59
cf题解
矩阵
算法
数据结构
leetcode 第802题-找到最终的安全状态
链接:https://leetcode-cn.com/
problem
s/find-eventual-safe-states/packageleetcodefuncEventualSafeNodes(graph
一对码农
·
2023-12-31 12:31
LeetCode第69题---x的平方根
来源:力扣(LeetCode)链接:https://leetcode-cn.com/
problem
s/sqrtx著作权归领扣网络所有。
Tom那只猫
·
2023-12-31 11:53
LeetCode
Rosalind 033 Finding a Shared Spliced Motif
https://rosalind.info/
problem
s/lcsq/很经典的动态规划问题了。直接给出解题步骤:1.初始化矩阵:创建一个大小为(len(s)+1)x(len(t)+1)的矩阵。
Kyookk
·
2023-12-31 10:28
生物信息
python
算法
Rosalind 023 Perfect Matchings and RNA Secondary Structures
https://rosalind.info/
problem
s/pmch/recent/题目的要求是:给定:一个长度不超过80的RNA字符串,它的’A’和’U’的个数相同,'C’和’G’的个
Kyookk
·
2023-12-31 10:27
生物信息
python
开发语言
124. Binary Tree Maximum Path Sum
题目链接tag:Hard;Depth-firstSearch;question: Givenanon-emptybinarytree,findthemaximumpathsum.Forthis
problem
xingzai
·
2023-12-31 10:40
fix react-native @expo
problem
with create-react-native-app
初始化项目时的问题$create-react-native-appAwesomeProject通过上面的命令出现下面的错误:[1/4]Resolvingpackages...warningreact-native-scripts>xdl>auth0>rest-facade>superagent-proxy>proxy-agent>socks-proxy-agent>
[email protected]
:Ifu
Wang's Blog
·
2023-12-31 09:33
React
React
Native
react-native
37. Sudoku Solver
Solution:https://leetcode.com/
problem
s/sudoku-solver/discuss/15752/Straight-Forward-Java-Solution-Using-Backtracking
matrxyz
·
2023-12-31 09:29
2018-2019 ACM-ICPC, Asia Nanjing-D: Country Meow(三分)
Problem
D.CountryMeowInputfile:standardinputOutputfile:standardoutputInthe24thcentury,thereisacountrysomewhereintheuniverse
Mitsuha_
·
2023-12-31 08:51
计算几何
2018 ACM-ICPC Syrian Collegiate Programming Contest(部分题解,待补)
传送门2018ACM-ICPC叙利亚大学生程序设计竞赛
Problem
A:HelloSCPC2018!
Mitsuha_
·
2023-12-31 08:51
思维
计算几何
状压DP
ACM-ICPC
2017-2018 ACM-ICPC, Asia Tsukuba Regional Contest(部分题解)
传送门2017-2018ACM-ICPC日本筑波区域赛
Problem
A:SecretofChocolatePoles思路:简单dp。
Mitsuha_
·
2023-12-31 08:21
状压DP
数据结构-划分树//主席树
思维
单调栈(斜率)优化DP
计算几何
强联通分量
最短路
ACM-ICPC
HDU-6398:Pizza Hub(计算几何)
PizzaHubTimeLimit:3000/3000MS(Java/Others)MemoryLimit:131072/131072K(Java/Others)SpecialJudge
Problem
DescriptionCoffeeChickenhasstartedanewrestaurantnamedPizzaHu
Mitsuha_
·
2023-12-31 08:20
计算几何
HDU-6242:Geometry
Problem
(随机化+几何)
Geometry
Problem
TimeLimit:2000/1000MS(Java/Others)MemoryLimit:262144/262144K(Java/Others)TotalSubmission
Mitsuha_
·
2023-12-31 08:50
计算几何
ACM
HDU-6164:Dying Light
1000MS(Java/Others)MemoryLimit:131072/131072K(Java/Others)TotalSubmission(s):516AcceptedSubmission(s):124
Problem
DescriptionLsFisvisitingalocalamusementparkwithhisfriends
Mitsuha_
·
2023-12-31 08:19
计算几何
ACM
计算几何
Codeforces-Gym 104849C:Secure the Top Secret(最小费用最大流)
Problem
C.SecuretheTopSecretTimeLimit:2secondsYouareresponsibleforthesecurityofICPC(theInstituteforComputerProgramCritiques
Mitsuha_
·
2023-12-31 08:49
网络流
算法
最小费用最大流
Codeforces-1913E:Matrix
Problem
(最小费用最大流)
E.Matrix
Problem
timelimitpertest1secondmemorylimitpertest256megabytesinputstandardinputoutputstandardoutputYouaregivenamatrixa
Mitsuha_
·
2023-12-31 08:49
网络流
算法
最小费用最大流
Codeforces-Gym 104849J:Traveling Salesperson in an Island(计算几何+最短路)
Problem
J.TravelingSalespersoninanIslandTimeLimit:2secondsYouareasalespersonatoneoftheportsinanisland.Youhavetovisitalltheportsoftheislandandthencomebacktothestartingport.Becauseyoucannotswimandarescar
Mitsuha_
·
2023-12-31 08:16
计算几何
算法
ACM计算几何
最短路
panacea*
场景:性别歧视问题还没有完美的解决方案造句:Thereisnopanaceaforgenderdiscrimination
problem
s.用法:Thereisnopanaceafor**
problem
sX
慢慢树
·
2023-12-31 07:46
66. Plus One
https://leetcode.com/
problem
s/plus-one/description/解题思路:本位为9则进位,否则直接+1代码:classSolution{publicint[]plusOne
becauseyou_90cd
·
2023-12-31 06:55
LeetCode腾讯50题-Day10-121/122/124
LeetCode50题(17天)-Day10121买卖股票的最佳时机题号:121难度:简单https://leetcode-cn.com/
problem
s/best-time-to-buy-and-sell-stock
言成苟文
·
2023-12-31 05:07
LeetCode
python
python
算法
leetcode
二叉树
二分查找--二分查找算法(朴素二分模板)
个人主页:Lei宝啊愿所有美好如期而遇本题题目链接https://leetcode.cn/
problem
s/binary-search/description/算法原理二段性,我们发现这个数组可以找到某种规律将其分为两段
Lei宝啊
·
2023-12-31 01:41
算法
算法
二分查找
LeetCode-22. 括号生成
LeetCode-22.括号生成(中等)题目地址:https://leetcode-cn.com/
problem
s/generate-parentheses/文章目录LeetCode-22.括号生成(中等
zh-yi
·
2023-12-31 00:40
leetcode
热题
HOT
100
#
贪心算法
leetcode
游戏
算法
职场和发展
动态规划
[leetcode] 376. Wiggle Subsequence 解题报告
题目链接:https://leetcode.com/
problem
s/wiggle-subsequence/Asequenceofnumbersiscalledawigglesequenceifthedifferencesbetweensuccessivenumbersstrictlyalternatebetweenpositiveandnegative.Thefirstdifference
小榕流光
·
2023-12-31 00:09
leetcode
动态规划
greedy
leetcode
动态规划
greedy
kubectl出现The connection to the server localhost:8080 was refused
输入kubectl命令遇到错误:Tofurtherdebuganddiagnosecluster
problem
s,use'kubectlcluster-infodump'.Theconnectiontotheserverlocalhost
Lin大坑haha~
·
2023-12-31 00:07
k8s
kubernetes
linux
docker
旅行商问题的近似最优解(局部搜索、模拟退火、遗传算法)
旅行商问题的近似最优解(局部搜索、模拟退火、遗传算法)关键字:旅行商问题,TSP,局部搜索,模拟退火,遗传算法TSP问题(TravelingSalesman
Problem
)是一个组合优化问题。
jxtxzzw
·
2023-12-30 22:52
洛谷刷题的第n+2天
题1:数的计算https://www.luogu.com.cn/
problem
/P1028题目描述给出正整数�n,要求按如下方式构造数列:只有一个数字�n的数列是一个合法的数列。
啊这泪目了
·
2023-12-30 22:51
算法
洛谷刷题周日版
今天主打一个递推主题题1:台阶问题https://www.luogu.com.cn/
problem
/P1192题目描述有�N级台阶,你一开始在底部,每次可以向上迈1∼�1∼K级台阶,问到达第�N级台阶有多少种不同方式
啊这泪目了
·
2023-12-30 22:51
算法
洛谷&&力扣儿
火星人https://www.luogu.com.cn/
problem
/P1088题目描述人类终于登上了火星的土地并且见到了神秘的火星人。
啊这泪目了
·
2023-12-30 22:51
算法
【无标题】
两只塔姆沃斯牛TheTamworthTwohttps://www.luogu.com.cn/
problem
/P1518思路:大模拟#include#include#include#defineitnintusingnamespacestd
啊这泪目了
·
2023-12-30 22:51
c++
算法
开发语言
洛谷刷题忘记多少天
题1:https://www.luogu.com.cn/
problem
/P1015题目描述若一个数(首位不为零)从左向右读与从右向左读都一样,我们就将其称之为回文数。
啊这泪目了
·
2023-12-30 22:21
算法
洛谷&&力扣
题:幂次方https://www.luogu.com.cn/
problem
/P1010题目描述任何一个正整数都可以用22的幂次方表示。例如137=27+23+20137=27+23+20。
啊这泪目了
·
2023-12-30 22:20
leetcode
算法
上一页
54
55
56
57
58
59
60
61
下一页
按字母分类:
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
其他