calculates 1327497.1 the optimizer

springboot解决Invalid character found in the request target 异常

源自: https://mp.weixin.qq.com/s?__biz=MzAxMjY5NDU2Ng==&mid=2651866587&idx=1&sn=adb24cc2766eefccc72efba8aba9d259&chksm=80490092b73e898471a0b31e7ae19db4a ......
springboot character Invalid request target

[LeetCode] 1716. Calculate Money in Leetcode Bank

Hercy wants to save money for his first car. He puts money in the Leetcode bank every day. He starts by putting in $1 on Monday, the first day. Every ......
Calculate LeetCode Leetcode Money 1716

解决Docker启动Starting the Docker Engine的问题:

问题如上图,试图启动Docker时一直转圈圈,已经确认了打开Hyper-V功能依然无法解决.通过在网上查资料,了解到因为在电脑上安装过了雷电模拟器等APK模拟器后,此时再去使用Docker就会出现奇奇怪怪的问题.因为系统只能虚拟化一个,无法都兼顾. 解决方法1: 重新启动Dokcer 尝试重新启动系 ......
Docker Starting Engine 问题 the

【题解】CodeForces 686E Optimal Point

传送门:https://codeforces.com/contest/686/problem/E 前言:本题解来源于作者某天晚上和一位朋友的发电内容(没错,这个作者直接把自己和朋友发电时发的话用markdown排了一下,传上来了),当时本来就比较口语化,加上作者的做法又实在太过离谱,因此可能语言表述 ......
题解 CodeForces Optimal Point 686E

The 2nd Universal Cup. Stage 12- Hefei

E. Matrix Distances 因为行列的贡献是独立的,所以可以按照颜色分别统计 #include <bits/stdc++.h> using namespace std; #define int long long using i32 = int32_t; using vi = vecto ......
Universal Stage Hefei The 2nd

gerrit 反向代理从 apache 换成 nginx 之后项目页报错“The page you requested was not found, or you do not have permission to view this page”

每次配置 gerrit 需要用反向代理来实现auth_basic_user_file,以前用apache 进行配置,但不喜欢 apache 要换成 nginx,结果换成 nginx 之后,登录后打开project页报错“The page you requested was not found, or ......
page permission not you requested

Multi Fabrics/Admin - How to add the second controller to end device.

Hardware Required • Raspberry Pi 4• 2 x Silabs Thunderboard Sense 2 (TBS2 -- BRD4166A)• A Ubuntu Linux development environment or a Virtual Machine us ......
controller Fabrics second device Multi

The 2022 ICPC Asia Hangzhou Regional Contest

A. Modulo Ruins the Legend 首先题目要求的是$(\sum (a_i + s + i \times d))% m $的最小值 等价于求\((\sum a_i + n\times s + \frac{n(n+1)}{2} \times d) \%m\)的最小值 令\(sum = ......
Hangzhou Regional Contest 2022 ICPC

Mysql定时备份 Using a password on the command line interface can be insecure

最近运维过程中需要备份Mysql数据库,网上找bat脚本执行发现提示不能直接在脚本里放密码,Using a password on the command line interface can be insecure,应该是高级的mysql数据库的安全策略。 首先建一个bat文件 --default ......
备份 interface password insecure command

神经网络入门篇:深度学习和大脑的关联性(What does this have to do with the brain?)

深度学习和大脑的关联性 开始讲故事(手动狗头) 深度学习和大脑有什么关联性吗? 关联不大。 那么为什么会说深度学习和大脑相关呢? 当你在实现一个神经网络的时候,那些公式是你在做的东西,你会做前向传播、反向传播、梯度下降法,其实很难表述这些公式具体做了什么,深度学习像大脑这样的类比其实是过度简化了我们 ......
关联性 神经网络 深度 大脑 神经

The IDE is running low on memory

WebStorm 内存不足 提示:The IDE is running low on memory and this might affect performance. Please consider increasing the heap size. 翻译:IDE 内存不足,这可能会影响性能。请考 ......
running memory The IDE low

CF1824B1 LuoTianyi and the Floating Islands (Easy Version) 题解

题意: 思路: 由于 $ k ∈ [1,3] $ ,分类讨论: 当 $ k = 1 $ 时,有人结点自身即为好结点,每种情况的期望为 $ \frac{1}{n} $ , $ n $ 种情况的期望和为 $ 1 $ 。最终答案即为 $ 1 $ 。 当 $ k = 2 $ 时,$ 2 $ 个有人结点之间的 ......
题解 LuoTianyi Floating Islands Version

Installing the NVIDIA Container Toolkit 容器配置GPU

网上的帖子都比较旧了,这是最新官方地址: https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html 注意:除了安装,还有配置,不是说安装上就完事 都弄好之后,就可以docke ......
容器 Installing Container Toolkit NVIDIA

Go - two bcrypt hashes of the same password are NOT equal

package main import ( "fmt" "golang.org/x/crypto/bcrypt" ) func main() { password := "abcdef" hashedPassword1, _ := bcrypt.GenerateFromPassword([]byte ......
password bcrypt hashes equal same

uva101The Blocks Problem

原题链接The Blocks Problem - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) 一道模拟题。(水题) 但模拟过程很有意思,怎么样才能用最短的代码完成所有操作,使代码更简洁是很考验技术的。 #include<bits/stdc++.h> using namespace ......
Problem Blocks uva 101 The

uva12096集合栈计算机 The SetStack Computer

洛谷链接集合栈计算机 The SetStack Computer - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) 一道典型的以栈为背景的数据结构题。题目简单但是程序却并不简单(个人观点)。普及组的难度有点低了感觉。 个人认为这道题目可以帮助自己熟悉或者说更好的掌握STL的使用以及妙 ......
SetStack Computer 计算机 12096 uva

ansible 报错 "changed": false, "msg": "Failed to connect to the host

报错: "changed": false, "msg": "Failed to connect to the host via ssh: root@node1: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)." ......
quot ansible changed connect Failed

The 2023 ICPC Asia Hong Kong Regional Programming Contest (AEFHKL)

在考试周打比赛就像在刀尖上跳舞,在赌桌上下筹码 我只希望专业课它别挂 不然搞钱吃饭就麻烦了 A.TreeScript 学弟写的,阅读理解题,读对了就是简单树dp #include<bits/stdc++.h> using namespace std; const int N=2e5; int n,f ......
Programming Regional Contest AEFHKL 2023

The 13th Shandong ICPC Provincial Collegiate Programming Contest

A. Orders 按照订单的结束时间排序,然后遍历一遍即可 #include<bits/stdc++.h> using namespace std; #define int long long using pii = pair<int, int>; using i32 = int32_t; voi ......

Disconnected from the target VM, address: '127.0.0.1:5954', transport: 'sock

一直能正常运行的本地项目,在IDEA中突然跑不起来 解决步骤: 给application启动类的run方法加上try-catch 打印日志为Failed to determine a suitable driver class,说是数据源有问题 实则是IDEA抽风了 1.尝试删除idea缓存重启In ......
Disconnected transport 39 address target

The file “/xx/xxx/xxxx.dita”is outside the scope of the input dita/map directory.

如果路径没错的话,就是引用的内容不在这个ditamap之内,也就是引用的内容不能在被引用时单独生成。 还有个错误:编辑器里面可以正常加载路径,但dita-ot始终说找不到的某个dita文件的错误,我以为是缓存的问题,其实可能是之前引用的地方不止一处,文件加或者文件改名之后没有将其他地方改完,可以用f ......
dita directory the outside input

The importance of learning basic skills

参考范文1 The Importance of Reading Literature Literature is acknowledged as the most precious product of human civilization and wisdom, especially by our ......
importance learning skills basic The

The 13th Shandong ICPC Provincial Collegiate Programming Contest

Preface 昨天VP的那场没有字符串还没有原形毕露,今天遇到一个后期字符串直接和祁神大眼瞪小眼了 最后一个半小时祁神狂冲F成功写出两个version的假算法,而我已经滚去补之前欠下的题目了 赛后被徐神狠狠拷打了,评价为徐神是我们的红太阳,没有他我们都不能活 A. Orders 签到,按截止时间处 ......

The 2023 ICPC Asia Hefei Regional Contest Test D. Balanced Array

Preface 这题赛场上出了个关键点基本都想到的做法,但因为一个地方卡住了没过去导致不得不选择弃掉这道题 赛后补了下发现\(O(n\log n)\)的做法是只差临门一脚了,但\(O(n)\)的做法还是trick性挺强的 Solution 首先考虑枚举\(k\),不难发现此时合法的前缀一定是个连续的 ......
Balanced Regional Contest Array Hefei

ICPC2022Hangzhou A Modulo Ruins the Legend 题解

Link ICPC2022Hangzhou A Modulo Ruins the Legend Question 求 $$\sum\limits_{i=1}^n a_i+n\times s+\frac{n(n+1)}{2}\times d \mod m$$ 的最小值 Solution 我们把这个式子 ......
题解 Hangzhou Modulo Legend Ruins

hive升级元数据报错The reference to entity "useSSL" must end with the ';' delimiter.

使用Hive自带的schematool工具升级元数据,也就是把最新的元数据重新写入MySQL数据库中。 执行以下命令 cd /usr/local/hive ./bin/schematool -initSchema -dbType mysql 出现The reference to entity "us ......
quot delimiter reference 数据 entity

内核文档翻译 —— Overview of the Linux Virtual File System

原文:https://www.kernel.org/doc/html/latest/filesystems/vfs.html#overview-of-the-linux-virtual-file-system Introduction The Virtual File System (also kn ......
内核 Overview Virtual 文档 System

The 2023 ICPC Asia Hefei Regional Contest Test I. Linguistics Puzzle

Preface 这题yysy真不难,但比赛的时候想出做法后没时间写了,只能遗憾地看着倒计时结束 Solution 直接上爆搜复杂度肯定会爆,考虑有哪些数是可以不用搜直接推出来的 首先样例启发我们\(0,1\)这两个数很好确定,因为\(0\)对应的字母单独出现的次数肯定最多,而\(1\)作为两位的开头 ......
Linguistics Regional Contest Puzzle Hefei

关于企业级 Web 应用搜索引擎优化(Search Engine Optimization)的一些工作经验分享

笔者之前的社区文章,分享了自己在日常工作中从事企业级 Web 应用开发的一些工作体会: 企业级 Web 应用里使用 CSS 调整应用外观的一些例子 谈谈企业级 Angular 应用的二次开发 - 基于 Angular Component 替换的 Extensibility 支持案例介绍 所谓企业级前 ......