solution p9194 the of

nginx: The plain HTTP request was sent to HTTPS port

问题描述 The plain HTTP request was sent to HTTPS port 当访问用http时则报错。用https时不报错。 检查配置: server { listen 80 ssl; server_name hngj.zxynyxxx.cn; ssl_certificat ......
request nginx HTTPS plain HTTP

Uncaught TypeError: Cannot read properties of undefined (reading 'form')问题的解决

问题描述 使用vue3执行数据添加操作时,发现了这个错误,使用测试按钮拿文本框数据,一直报错拿不到: 问题解决 原来是vue2在执行这个操作时: 里面放this.form; 而vue3在执行这个操作时, 里面放的却是:form ......

the solution of Mining Your Own Business

the description of problem (我看的是 PDF 里面的原题所以这里描述会和题目不一样,但是大意一致) 给定一个未必连通的无向图,问最少在几个点设置出口,可以保证任意一个点坍塌后,工人们仍然可以从出口逃生,同时问设置最少出口的方案数量。 thoughts & solution ......
solution Business Mining Your the

[CF1810G] The Maximum Prefix

题目描述 You're going to generate an array $ a $ with a length of at most $ n $ , where each $ a_{i} $ equals either $ 1 $ or $ -1 $ . You generate this a ......
Maximum Prefix 1810G 1810 The

1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column

博客园 首页 新随笔 联系 管理 订阅 随笔- 111 文章- 1 评论- 3 阅读- 17万 1055 - Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'i ......

ES报错:[parent] Data too large, data for [<http_request>] would be larger than limit of XXXX

ES报错:[parent] Data too large, data for [<http_request>] would be larger than limit of XXXX 当es这个错误的时候 :[parent] Data too large, data for [<http_reques ......
http_request request parent larger large

Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column

MySQL有any_value(field)函数,他主要的作用就是抑制ONLY_FULL_GROUP_BY值被拒绝 官方有介绍,地址:https://dev.mysql.com/doc/refman/5.7/en/miscellaneous-functions.html#function_any-v ......

[LeetCode] 1353. Maximum Number of Events That Can Be Attended 最多可以参加的会议数目

You are given an array of events where events[i] = [startDayi, endDayi]. Every event i starts at startDayi and ends at endDayi. You can attend an even ......
数目 LeetCode Attended Maximum 会议

CF1801D The way home

原题 翻译 非常好的一个题,有两种做法 方法1:flody+dp 首先我们确定一个最优行走方案:从 \(1\) 号节点赚到足够钱后通过最短路到达 \(x_1\) ,在 \(x_1\) 赚够足够钱后到达 \(x_2\) ,在 \(x_2\) 赚够足够钱后到达 \(x_3\) ,如此往复后到达终点 现在 ......
1801D 1801 home The way

Python 的 POC(Proof of Concept,概念验证)

Python 的 POC(Proof of Concept,概念验证) requests 当涉及到编写 Python 的 POC(Proof of Concept,概念验证)时,你可以按照以下步骤进行: 确认目标:明确你要验证的漏洞或要探测的系统。 寻找漏洞或系统的相关信息:查找关于该漏洞或系统的文 ......
概念 Concept Python Proof POC

## Could not find a working installation of Boost.

001、问题 002、解决方法 (base) [root@pc1 MaSuRCA-3.3.1]# yum -y install boost boost-devel (base) [root@pc1 MaSuRCA-3.3.1]# yum -y install gcc-c++.x86_64 gperf ......
installation working Could Boost find

CodeForces 715E Complete the Permutations

洛谷传送门 CF 传送门 最小交换次数等于 \(n - \text{环数}\)。所以题目要我们统计把 \(p, q\) 补全成排列,连边 \(p_i \to q_i\),环数 \(= i\) 的方案数。 考虑把边根据 \(p_i, q_i\) 的是否已知状态分成四类: \(p \to q\) \(p ......
Permutations CodeForces Complete 715E 715

CF1710D Recover the Tree

题目链接 一个比较显然的思路就是:我们按照右端点从小到大的顺序(右端点相同按左端点从大到小)去考虑每个好的区间。 由于是连通性问题,不难想到用并查集去实时维护连通性。 根据定义,一个好的区间必定对应了一个连通块;我们考虑的是好的区间,所以当前并查集中的每个连通块必定都是一个区间。而在加入某个点前,这 ......
Recover 1710D 1710 Tree the

git pull代码时提示:Your local changes to the following files would be overwritten by merge

内容来自对 chatgpt 的咨询 这个错误提示意味着你在执行git pull命令时,Git发现你当前工作目录中的一些文件与远程仓库的变更产生了冲突。这可能是因为你在本地修改了一些文件,而远程仓库也有更新。Git不允许在有未提交的本地修改时直接执行git pull,以防止可能的冲突。 要解决这个问题 ......
overwritten following changes 代码 files

UserWarning: The parameter 'pretrained' is deprecated since 0.13 and may be removed in the future, please use 'weights' instead.解决办法

87iuiu由于ii from torchvision import models # 旧版本的写法,将在未来的torchvision 0.15版本中被Deprecated model_old = models.resnet50(pretrained=True) # deprecated model ......

CF1862G The Great Equalizer

题目链接 先不考虑修改操作。 直接模拟题目意思,可以发现最后留下的一定是最小的数字(因为相同的数每次会保留第一个)。我当时是顺着这个思路做的题目,现在想想反过来想好像会让问题变得更简单,即认为每次保留最后一个相同的数字。 那么现在每次留下的就是最后一个数字,显然每次操作会让这个数字加一,只需要考虑一 ......
Equalizer 1862G Great 1862 The

solution-at-abc321-c

题意 将所有每位满足递减的整数排序,问第 \(k\) 大的是多少,不包括 \(0\)。 思路 我们发现最大的满足要求的整数是 \(9876543210\) ,只有 \(1e10\) 的大小,\(k\) 只有不到 \(3000\) 的大小,可以从小到大枚举所有的数,从 T1 粘来判断函数打一个表就解决 ......
solution-at-abc solution abc 321 at

Determinant of $A+Bz$

// created on 23.09.22 目录Determinant of \(A+Bz\) Determinant of \(A+Bz\) You are given two \(n\times n\) matrices \(A\) and \(B\) . For each \(k=0,1,\ ......
Determinant Bz of

解决:sass-loader@6.0.6 requires a peer of node-sass@^4.0.0 but none is installed. You must install peer dependencies yourself.

参考:https://blog.csdn.net/hancoder/article/details/113821646 去https://github.com/sass/npnode-sass 或者 https://github.com/sass/node-sass/releases 都可以看到no ......
sass peer dependencies sass-loader installed

Uncaught TypeError: Cannot read properties of undefined (reading 'type') from echarts

DON'T use ref or reactive to wrap the echarts instance. Use a common variable or shallowRef to avoid the deep watch for echarts instance. 不要使用 ref 或 r ......

MySQL 出现 String Index out of range: x 的原因

前言 调试代码时遇到一个很奇怪的问题, 对于一个很简单的 sql, 执行时会时不时的报异常 String Index out of range: x SQL: select * from test where area = 10 但直接把 SQL 丢 SQL 工具里跑又没什么问题, 百度了一圈都没找 ......
原因 String MySQL Index range

Solution -「HDU」Ridiculous Netizens

Desc. 给定一棵 \(N\) 个节点无根树,找出满足以下条件的集合 \(S\) 的数量: \(S \subseteq \{1,\dots,n\}\); \(S\) 的导出子图联通; \(\displaystyle\prod_{v \in S} a_v \leqslant M\)。 Sol. 点分 ......
Ridiculous Solution Netizens HDU

CF842A Kirill And The Game

如果考虑 \([x,y]\) 中什么位置能乘到 \([l,r]\) 就比较麻烦,简单的做法是考虑 \(l\) 和 \(r\) 对应到 \([x,y]\) 中的位置。左边界至少是 \(\frac{l-1}{k}+1\),右边界至多是 \(\frac{r}{k}\),判断一下与 \([x,y]\) 是否 ......
Kirill 842A Game 842 And

How to use a shell script to check whether a command had been installed in the Linux server All In One

How to use a shell script to check whether a command had been installed in the Linux server All In One shell script error [: :需要整数表达式 / [: -eq:需要一元表达... ......
installed command whether script server

模型转onnx遇到问题,报错 1. _thnn_fused_lstm_cell , 2._thnn_fused_gru_cell, 3. Exporting the operator numpy_T to ONNX opset version 11 is not supported.

目录GRULSTMExporting the operator numpy_T to ONNX opset version 11 is not supported RuntimeError: Exporting the operator _thnn_fused_lstm_cell to ONNX o ......

. Temporal table join currently only supports 'FOR SYSTEM_TIME AS OF' left table's time attribute field

org.apache.flink.table.api.ValidationException: SQL validation failed. Temporal table join currently only supports 'FOR SYSTEM_TIME AS OF' left table' ......

Exam DP-300: Administering Microsoft Azure SQL Solutions 微软Azure SQL Solutions管理员考试DP-300 (汉化)

作为该考试的考生,您应具备构建数据库解决方案方面的主题专业知识,这些解决方案旨在支持使用数据库构建的多种工作负载: 企业内部 SQL Server Azure SQL 服务 您是一名数据库管理员,负责管理使用 SQL Server 和 Azure SQL 服务构建的内部部署和云数据库。 作为 Azu ......
Solutions Azure Administering 300 Microsoft

currently, chromedriver 114.0.5735.90 is recommended for chrome 114.*, so it is advised to delete the driver in PATH and retry

报错原因是驱动和浏览器不匹配 解决办法 1.下载低版本的谷歌浏览器 本次使用的是114 下载地址: https://downzen.com/en/windows/google-chrome/download/11405735199/ 2.下载谷歌浏览器的插件 https://registry.npm ......

javascript: The Best Guided Tour Plugin

Best Tour Plugins To Guide Visitors Through Your Apphttps://yonkov.github.io/post/display-shepherd-only-once/https://www.jqueryscript.net/blog/best-gu ......
javascript Guided Plugin Best Tour

Cannot initiate the connection to cn.archive.ubuntu.com:80 (2403:2c80:5::6). - connect (101: Network is unreachable)

版本:ubuntu 22.04 Cannot initiate the connection to cn.archive.ubuntu.com:80 (2403:2c80:5::6). - connect (101: Network is unreachable) 嗯,被墙了。找到 /etc/apt ......