bricks wall add the
Git常见报错:Your local changes to the following files would be overwritten by merge
### 1、报错原因 该报错在git pull时出现,一句话解释就是你在本地改动了代码但是还没有提交,此时再拉取最新代码,远程代码和你当前的本地代码发生冲突!(注意有冲突时才会提示,如果没有冲突,则git pull成功,因为git pull实质上就是一个远程分支merge到本地分支过程。 ### 2 ......
Oracle启动监听报错:The listener supports no services或出现 unknown状态解决
1、查看$ORACLE_HOME/network/admin/listener.ora 文件中的host是否正确,能不能ping通 2、查看$ORACLE_HOME/network/admin/tnsnames.ora文件中的host是否与listener.ora中的一致 3、查看/etc/host ......
经典面试题函数柯里化: add(1)(2)(3) = 6
```js function currying() { const args = Array.prototype.slice.call(arguments); const inner = function () { args.push(...arguments); return inner; }; ......
CF793F Julia the snail 题解
## 题意 有一个长为 $n$ 的杆,上面有 $m$ 条绳子,每条绳子可以让蜗牛从 $l_i$ 爬到 $r_i$(中途不能离开),保证 $r_i$ 各不相同。蜗牛也可以自然下落。 现在有 $q$ 次询问,询问 $x$ 出发,途中高度不能低于 $x$ 或高于 $y$,问最高能爬到的位置。 $n,m,q ......
svn add代码时,忽略node_modules
1.选中项目,右键,选择TortoiseSVN => Properties 2.点击New,选择Other 3.Property name:选择 svn:global-ignores 在Property value中输入:.idea *.iml .svn vcs.xml workspace.xml ......
The field file exceeds its maximum permitted size of 1048576 bytes.
org.apache.tomcat.util.http.fileupload.impl.FileSizeLimitExceededException: The field file exceeds its maximum permitted size of 1048576 bytes. 文件上传出现 ......
GPT-Use the mic on RK3588
## 1 Find the mic In order to find the microphone on your system, you can use the `aplay` and `arecord` commands. These commands will list the availab ......
[LeetCode] 2369. Check if There is a Valid Partition For The Array
You are given a 0-indexed integer array nums. You have to partition the array into one or more contiguous subarrays. We call a partition of the array ......
安装MinGW时报错“The file has been downloaded incorrectly!”解决方案
这篇文章提供了Windows下安装MinGW报错“The file has been downloaded incorrectly!”的解决方案,简单来说,就是不用下载器,自己找好文件下载就行。 ......
解决Mac 上码云gitee或者github出现The requested URL returned error: 403
出现场景 要把某个项目push到码云上,已经设置了仓库地址,在最后一步直接报错。 adodeMacBook-Pro:yimabao ado$ git push --set-upstream origin master remote: [session-774b45b9] Access denied ......
【转载】The secret to success
## Article Format Source ChatGPT ## Main Content Source Title: The secret to success Source: https://zhuanlan.zhihu.com/p/35819739 Author:壹号课堂 ## Main ......
Go - What's the point of one-way channels in Go?
A channel can be made read-only to whoever receives it, while the sender still has a two-way channel to which they can write. For example: func F() <- ......
1471: Wall
1471: Wall 描述 Once upon a time there was a greedy King who ordered his chief Architect to build a wall around the King's castle. The King was so greed ......
Wall
**Wall** 时间限制(普通/Java):1000MS/3000MS 内存限制:64000KByte **描述** >Once upon a time there was a greedy King who ordered his chief Architect to build a wall ......
tzoj1471 wall(凸包模板题)
题目大意 n个点构成的城堡,给出每个点的坐标。若要修建距离城堡最近距离为L的城墙,问城墙的最短长度。 凸包模板题,用Andrew算法求出凸包然后加上半径为L的圆的周长即可。 Andrew算法 首先对所有点按照y大小进行升序排序,如果y相同就按照x大小升序排序。 构造上凸包 前两个点直接入栈。随后遍历 ......
The selected directory is not a validhome for Go SDK
安装IDE集成开发工具配置 IDE版本:goland-2020.2.3_Protable 错误:下边指定go的sdk错误解决 报“The selected directory is not a validhome for Go SDK”报错解决方法 出现这个错误的原因是 idea 的Go-plugi ......
WSL2 Cannot connect to the Docker daemon [已解决]
如果你已经在网上找了很多方法了,那建议你再试试这个。 1,进入WSL2,去除WSL1遗留的环境变量 ``` shell unset DOCKER_HOST ``` 2,设置Docker-Desktop指定运行的wsl2环境,默认是docker-desktop ![image](https://img ......
创建元组的三种方式、字典中的setdefault和get妙用、类中的重载方法__add__()
### 创建元组的三种方式 ``` # print(tuple([input(),input()])) # print((input(),input())) t = input(),input() print(t) # 可以将列表转换成tuple,也可以直接()创建tuple,或者将多个变量赋值给一 ......
G. Vlad and the Mountains
G. Vlad and the Mountains Vlad decided to go on a trip to the mountains. He plans to move between $n$ mountains, some of which are connected by roads. ......
The MySQL server is running with the LOCK_WRITE_GROWTH option so it cannot execute this statement
然后百度 参考:The MySQL server is running with the LOCK_WRITE_GROWTH option so it cannot execute this statement_冰尘s1的博客-CSDN博客 mysql报错The MySQL server is ru ......
题解 Gym 102978F【Find the LCA】
## problem You are given an integer sequence $A_1,A_2,\ldots,A_N$. You'll make a rooted tree with $N$ vertices numbered from $1$ through $N$. The vert ......
Updates were rejected because the remote contains work that you do
今天在idea里面创建了一个项目,然后又在gitee中创建了一个项目,然后我打算把idea上面的那个小demo上传到我的gitee仓库中,结果一直报 Updates were rejected because the remote contains work that you do这样的错误,其中原 ......
Tarjan例题:洛谷 P2863 [USACO06JAN] The Cow Prom S
### [在洛谷中查看](https://www.luogu.com.cn/problem/P2863) 模板题,缩完点后扫一遍就行了。 巩固基础。 ```cpp #include using namespace std; const int N = 1e4+5; int n,m,dfn[N],lo ......
CUDA 配置环境(三):nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 已解决
解决在QT中编写CUDA程序出现nvcc fatal : Could not set up the environment for Microsoft Visual Studio using的问题问题详情 在QT编写CUDA代码,在已经配好.pro文件中的代码,并且CUDA安装没有问题,还可以在VS ......
使用 Kafka Tools(现已更名为 Offeset Exploer)无法连接虚拟机的 Kafka 集群,报错error connecting to the cluster
发生缘由 学习 Kafka 的使用,结果发现使用 Kafka Tools(现已更名为 Offeset Exploer)无法连接虚拟机的 Kafka 集群,报错信息:error connecting to the cluster. unable to connect to zookeeper serv ......
An Integrated InformationSystem for Monitoring and Sharing Resources across the team
At its core, every task is acollection of processes and procedures. Data collected from the entire testingenvironment move the team forward, ideally i ......
bug笔记_Connected to the target VM, address: '', transport: 'socket'
Connected to the target VM, address: '127.0.0.1:64556', transport: 'socket'错误: 找不到或无法加载主类 com.apexsoft.pif.sys.WdmpSysClientTestApplication 1、maven版本不 ......
【转载】The City Mouse and the Country Mouse
## Article Format Source ChatGPT ## Main Content Source Title: The City Mouse and the Country Mouse Source: https://www.zhihu.com/question/263840407/a ......
Get a quick overview of the hottest diagnostic tools of the day
In today's fast-paced technological world, it is critical for professionals across industries to have access to reliable diagnostic tools. This is esp ......