monocarp and set the

"Don't be shy. Speak English loudly and crazily!"

"Don't be shy. Speak English loudly and crazily!" 俞敏洪犀利点评马云、王石、刘强东、雷军英语水平 俞敏洪:马云8岁学英语,考上杭师范读专科,而我在北大读本科! 李阳、马云、俞敏洪,这三个中国最著名的英语老师,只有李阳仍坚守在一线。 是啊,当马云再次登 ......
quot English crazily loudly Speak

Codechef - Longest AND Subarray(位运算)

题目大意 给定一个正整数N,其序列为[1, 2, 3, ..., N],找到一个长度最大的连续子列,使得其所有元素取与运算的结果为正(最终输出只需要输出最大长度即可)。 思路 刚开始可能并不好注意到,可以举一些小的样例来找规律。比如2:1 & 2 = 0,不满足条件,所以只能取长度为1的数组[1]或 ......
Codechef Subarray Longest AND

CF793F Julia the snail 题解

## 题意 有一个长为 $n$ 的杆,上面有 $m$ 条绳子,每条绳子可以让蜗牛从 $l_i$ 爬到 $r_i$(中途不能离开),保证 $r_i$ 各不相同。蜗牛也可以自然下落。 现在有 $q$ 次询问,询问 $x$ 出发,途中高度不能低于 $x$ 或高于 $y$,问最高能爬到的位置。 $n,m,q ......
题解 Julia snail 793F 793

redis set 结构 count 大于31000的并发量会出现等于0的情况吗?

srandmember key [count]count: 为可选的参数 作用: 如果 count 为正数,且小于集合基数,那么命令返回一个包含 count 个元素的数组,数组中的元素各不相同。如果 count 大于等于集合基数,那么返回整个集合。如果 count 为负数,那么命令返回一个数组,数组 ......
结构 情况 redis count 31000

PnP and Perspective Projection and Pose Computation

# PnP and Perspective Projection and Pose Computation *Review PnP problem from a computer graphics rendering view* 首先从一个 [StackExchange](https://compu ......
Perspective Computation Projection and Pose

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. 文件上传出现 ......
permitted 1048576 exceeds maximum field

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 ......
GPT-Use 3588 GPT Use the

Mongodb or and 查询

查询两个条件符合一个即可 { $or : [ { $and : [ { "Type" : "Unorganized" }, { "Tel" : "Procedure" }, { "Factor" : { "$ne" : { } } } ] }, { $and : [ { "Type" : "Orga ......
Mongodb and or

Git:Vscode提交报错Make sure you configure your "user.name" and "user.email" in git

使用VScode编辑代码后,Push到云端报错:Make sure you configure your "user.name" and "user.email" in git 解决步骤: 1.进入本地端的文件夹,右键Git Bash; 2.输入命令: $ git config --global u ......
quot user configure Vscode email

[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  ......
Partition LeetCode Check Array There

安装MinGW时报错“The file has been downloaded incorrectly!”解决方案

这篇文章提供了Windows下安装MinGW报错“The file has been downloaded incorrectly!”的解决方案,简单来说,就是不用下载器,自己找好文件下载就行。 ......

collect_set、collect_list、array_contains函数

collect_set(col):将col字段的所有值去重后置于一个array类型的对象中。 collect_list(col):将col字段的所有值置于一个array类型的对象中,不去重。 array_contains(Array<T> arr, T value):判断数组arr中是否包含valu ......

CaltechCS122 笔记:Assignment 1: NanoDB Set-Up and Storage Layer

# Assignment 1: NanoDB Set-Up and Storage Layer NanoDB 是加州理工大学 Caltech CS122 课程使用的教学数据库系统 ## buffer pool manager lab1 的第二部分是实现充分利用空间的 bpm,当前所给出的 bpm 代 ......
Assignment CaltechCS Storage 笔记 NanoDB

「解题报告」AGC064C Erase and Divide Game

第二次打 AGC,场上过了 C,还是很开心的。 而且是在一整天没碰 OI 的情况下。所以长时间 AFO 再回来打比赛会不会对 OI 有一定的 buff?有时候思维过度疲惫的情况下貌似打比赛脑子是真的转不动。 不过为啥 D 过的比 C 多啊,我觉得 C 很简单啊,基本没有任何转化,可能 AT 的这类计 ......
报告 Divide Erase 064C Game

nacos 使用 MySQL8.x 出现 Nacos No DataSource set异常解决

http://www.taodudu.cc/news/show-6345954.html?action=onClick nacos 使用 MySQL8.x 出现 Nacos No DataSource set异常解决 注:当前版本nacos2.1.0 1、nacos默认室mysql5.7当链接mys ......
DataSource MySQL8 nacos MySQL Nacos

解决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 ......
requested returned github gitee error

UOI 2023 An Array And Addition Again

传送门:https://uoi2023-2.eolymp.io/problems/3 题目大纲: 给予一个整数 n 。 (n<=1e18) 你现在有一个数组 a, a 的所有号码为 0 除了 a[100] 为 1 你需要给一些指令, 每一个指令需要一个整数 s , 他会进行 d[s]+=d[s+1] ......
Addition Again Array 2023 UOI

D. Andrey and Escape from Capygrad

D. Andrey and Escape from Capygrad An incident occurred in Capygrad, the capital of Tyagoland, where all the capybaras in the city went crazy and star ......
Capygrad Andrey Escape from and

Data structure and algorithm-One

右边界左边界 函数式编程 传统的实现方式通常是将具体的功能代码直接写在方法内部。这样的实现方式对于固定的功能来说可能是足够的,但它的灵活性和复用性较低。每当需要不同的功能时,您需要编写新的方法或修改原有方法,这可能会导致代码的冗余和不易维护。 而函数式编程的优点在于它将函数本身作为参数传递,使得调用 ......
algorithm-One structure algorithm Data and

【翻译】为什么我们需要极限和无穷小?(Why Do We Need Limits and Infinitesimals?)

那么多数学课,没有任何上下文,就跳到极限,无穷小,非常小的数(T)。但是我们为什么要在乎呢?数学帮助我们模拟世界。我们可以把一个复杂的想法(一条蜿蜒的曲线)分解成更简单的部分(矩形): ![image](https://img2023.cnblogs.com/blog/2469253/202308/ ......
无穷小 Infinitesimals 极限 Limits Need

C++STL库 二分查找,以及对set集合进行二分查找,来源于”leetcode7022. 限制条件下元素之间的最小绝对差“

C++的头文件<algorithm>中有用于二分查找的函数,lower_bound()、upper_bound()以及binary_search(): lower_bound():返回大于等于目标值的第一个位置upper_bound():返回大于目标值的第一个位置,binary_search():若 ......
leetcode 元素 条件 之间 来源

maven系列:简介和安装配置(Mac、Linux、Windows、settings.xml、IDEA配置)

[TOC] ## 一、简介 官网:https://maven.apache.org maven 是一个项目管理工具,主要作用是在项目开发阶段对Java项目进行依赖管理和项目构建。 依赖管理:就是对jar包的管理。通过导入maven坐标,就相当于将仓库中的jar包导入了当前项目中。 项目构建:通过ma ......
settings Windows 简介 maven Linux

CF643F Bears and Juice

[题面传送门](https://www.luogu.com.cn/problem/CF643F) 感觉这个从信息的角度去考虑比较高妙。 首先取 $p=\min(p,n-1)$。 我们来考虑每个桶对应喝的熊,这样会有一个长度为 $n$ 的数组,假设有 $t$ 天,那么每个位置会写一个 $[1,t+1] ......
Bears Juice 643F 643 and

【转载】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 ......
success secret The to

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() <- ......
channels one-way point Go What

【Oracle】SEGMENT SHRINK and Details. (Doc ID 242090.1)

``` PURPOSE In Oracle10g and onwards, we have the option to shrink a segment, which will help DBAs to manage the space in better way. This feature als ......
242090.1 Details SEGMENT Oracle 242090

[图论记录] CF1082G Petya and Graph

([题目传送门](https://www.luogu.com.cn/problem/CF1082G)) 一道最大权闭合子图的模板题 把所有点当作负权点,所有边当作正权点。 考虑一条边 $e=(x,y,z)$ 能选择的条件,当 $x,y$ 均被选择时就可以选,那对应到最大权闭合子图的模型中,就可以将 ......
1082G Petya Graph 1082 and

Striving for Simplicity and Performance in Off-Policy DRL: Output Normalization and Non-Uniform Sampling

![](https://img2023.cnblogs.com/blog/1428973/202308/1428973-20230812075327194-1111056360.png) **发表时间:**2020(ICML 2020) **文章要点:**这篇文章基于SAC做简单并且有效的改进来提升 ......

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 ......
directory validhome selected The SDK

WSL2 Cannot connect to the Docker daemon [已解决]

如果你已经在网上找了很多方法了,那建议你再试试这个。 1,进入WSL2,去除WSL1遗留的环境变量 ``` shell unset DOCKER_HOST ``` 2,设置Docker-Desktop指定运行的wsl2环境,默认是docker-desktop ![image](https://img ......
connect Cannot Docker daemon WSL2