目录rabbitmq_problems1 rabbitmq的guest账户无法远程登录,只能在本地登录2345678 rabbitmq_problems 1 rabbitmq的guest账户无法远程登录,只能在本地登录 RCA: guest被限制为只能本地登录了,rabbitmq从3.3.0开始禁止使用guest/guest权限通过除localhost外的访问。 solution: 修改配
简单计数 Description 对于两个\(1\)~\(n\)的排列\(a,b\),定义\(orz(a,b)=max(a_1,b_1)+\)...\(+max(a_n,b_n)\)。 你需要求出有多少对\((a,b)\)满足\(orz(a,b)\;\geq\;m\)。 Input 一行两个正整数\(n,m\)。 Output 一行一个整数表示答案。对\(998244353\)取模。 Sample Input 3 8
链表理论以及应用 一:单链表 占用双倍空间,额外存next,下一个元素的地址。 插入: 删除: 二:双向链表 占用三倍空间,额外存pre以及next,上一个元素以及下一个元素的地址。 时间复杂度: look up o(n) insert o(1) delete o(1) append o(1) prepend o(1) leetcode: https://leetcode
目录problems_jenkins1 jenkins创建pipeline时使用本地仓库url时报错2 Jenkins的pipeline构建时报错 mvn: Permission denied345678 problems_jenkins 1 jenkins创建pipeline时使用本地仓库url时报错 desc: 本地仓库url路径为: /develop/ideaws/simple-app,为一个真实存在的路径 err
单调栈分为单调递增栈和单调递减栈。 单调递增栈的描述: 如果栈为空或者当前入栈元素小于栈顶元素,则循环将栈内元素弹出; 反之,则入栈。 适用场景: 1.柱状图中的最大的矩形 https://leetcode-cn.com/problems/largest-rectangle-in-histogram/ 2.最大矩形 https://leetcode-
今天装了debian11,刚换源一堆问题(无语) 例如 E: Unable to correct problems, you have held broken packages. 原因是源有问题貌似没适配…… 目前可用 清华大学 注意选版本bullseye 即可 # 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释 de
3 Well-Solved Problems 3.1 Properties of Easy Problems In examining a problem to see if it has an efficient algorithm, the following four properties often go together: In the next sections, we examine several classes of problems for which we will see t
目录2 Constraint satisfaction problems: examples2.1 Basic concepts2.2 Constraint satisfaction problems on integers2.3 Constraint satisfaction problems on reals 2 Constraint satisfaction problems: examples Q: 列举"modeling"中可能出现的困难。 A: For other p
21.不同子序列问题 原题:https://leetcode-cn.com/problems/distinct-subsequences-ii/ 问题:求字符串s中不同子序列数目 算法类型: 时间复杂度: 空间复杂度: 算法思路: 算法难点: 研究时间: 以下题目解析排队中,敬请期待…… https://leetcode-cn.com/problems/minimum-number-of-
Improving Multispectral Pedestrian Detection by Addressing Modality Imbalanece Problems ECCV2020 引用量:1 南京大学 Code:GitHub - CalayZhou/MBNet: Improving Multispectral Pedestrian Detection by Addressing Modality Imbalance Problems (E
【LeetCode刷题日记】447. 回旋镖的数量 题目 给定平面上 n 对 互不相同 的点 points ,其中 points[i] = [xi, yi] 。回旋镖 是由点 (i, j, k) 表示的元组 ,其中 i 和 j 之间的距离和 i 和 k 之间的距离相等(需要考虑元组的顺序)。 返回平面上所有回旋镖的数量。 示例 1: 输入:poi
1.序言 介绍数组相关操作 2.例题 1.双头指针 https://leetcode-cn.com/problems/diao-zheng-shu-zu-shun-xu-shi-qi-shu-wei-yu-ou-shu-qian-mian-lcof/ https://leetcode-cn.com/problems/he-wei-sde-liang-ge-shu-zi-lcof/ 2.二分 https://blog.csdn.net/weixin_43232955/a
二分查找,在经过: 34——https://leetcode-cn.com/problems/find-first-and-last-position-of-element-in-sorted-array/ 35——https://leetcode-cn.com/problems/search-insert-position/ 69——https://leetcode-cn.com/problems/sqrtx/ 367——https://leetcode-cn.com/problem
目录1 启动Hadoop集群sbin/start-dfs.sh,DataNode没有启动2345 1 启动Hadoop集群sbin/start-dfs.sh,DataNode没有启动 RCA 多次格式化namenode导致的namenode与datanode之间的不一致(多次格式化,版本不一致) solution HADOOP_HOME=/develop/hadoop-2.7.5 先关闭dfs:$HADOOP_HOME/sbin/s
目录1 error12 error23 error345 1 error1 Error log: Failed to parse: Pig script failed to parse: <file /x/home/pp_dt_cmpln_batch/test/CRR_rollupreg_extract.pig, line 20, column 46> Failed to generate logical plan. Nested exception: org.apache.pig.backe
目录1 session中的user对象失效后,页面一刷新,又会提交request中的username和userpwd,导致登录成功2345678 1 session中的user对象失效后,页面一刷新,又会提交request中的username和userpwd,导致登录成功 该问题出现在2个场景中,一个是tomcat重启后,另一个是session失效后。并且,平时刷新页
目录problems_impala1 impala-shell中执行语句报错2 problems_impala 1 impala-shell中执行语句报错 impala-shell -i cdh02 create external table ... #执行该语句后报错,如下: ImpalaRuntimeException: Error making 'dropTable' RPC to Hive Metastore: check the manual th
目录1 springbooot中,整合mybatis时,在IUserMapper接口中,2 Spring Data JPA的多数据源配置时,执行sql失败3 springboot run with flyway failed4 idea中springboot项目打包多module的maven项目时报错5678 1 springbooot中,整合mybatis时,在IUserMapper接口中, @Select("select * from us
目录problems_kudu1 执行service kudu-master start , 提示启动失败failed2345678 problems_kudu 1 执行service kudu-master start , 提示启动失败failed 进入报错日志目录 (cd /var/log/kudu/),看到报错信息(vim kudu-master.ERROR 或 vim kudu-master.FATAL)如下: Log file create
目录1 执行sparksql报错2 wordcount程序报错34567 1 执行sparksql报错 报错内容如下: org.apache.spark.sql.AnalysisException: Unable to generate an encoder for inner class cn.itcast.spark.sql.Intro$Person without access to the scope that this class was defined in.Tr
目录1 halo的工作目录被硬编码2 halo的文章加载很慢3 后台返回json到前台出现中文乱码45 1 halo的工作目录被硬编码 halo的工作目录,有一个是在代码里配置的,硬编码了 在HaloProperties.java中: /** * Work directory. */ private String workDir = HaloConst.USER_HOME + "/halo-t
1. 题目 https://leetcode.com/problems/sqrtx/ 2. 分析 2.1 牛顿迭代法 牛顿迭代法是一种求解非线性方程的一种数值方法。具体原理可以参考:https://blog.csdn.net/u014485485/article/details/77599953 具体代码如下: class Solution { public: int mySqrt(int x) { i
目录problems_office1 mate20,安卓版坚果云markdown,无法加载本地图片?2 mate20,安卓版坚果云markdown,下半部分的内容不显示?3 problems_office 1 mate20,安卓版坚果云markdown,无法加载本地图片? 试了一下,可以加载网络图片,另外,可以加载本地的绝对路径的图片,只是无法加载本地相对路径
目录problems_linux1 './hello.sh' failed2 linux报错 -bash: fork: retry: No child processes3 Linux mount--目录挂载新磁盘后原文件不见了3 Ubuntu18 wps打开时报错“缺失字体”4 problems_linux 1 './hello.sh' failed desc: sh hello.sh , bash hello.sh succeeded, but './
目录problems_kingdeeAAS1 运行报错2 problems_kingdeeAAS 1 运行报错 OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0 javax.management.ServiceNotFoundException: 在分析 URL "file:/home/greatwall/software/AAS-V9/domain