practical problem physics 253

QOJ # 6509. Not Another Range Query Problem

[题面传送门](https://qoj.ac/problem/6509) 首先~~~感性理解~~理性分析一下会发现,如果不考虑额外删除的第一个,对全局模拟一次删除,求出每个点的删除时间和是前面哪个点给他删除的,那么在进行区间询问的时候,如果一个点被删除了并且不是被第一个点删除的,那么这个点的删除点和 ......
Another Problem Range Query 6509

Math Problem

E-Math Problem ## 题面翻译 **【题目描述】** 给定两个正整数 $n$ 和 $k$,您可以进行以下两种操作任意次(包括零次): - 选择一个整数 $x$ 满足 $0 \leq x < k$,将 $n$ 变为 $k\cdot n+x$。该操作每次花费 $a$ 枚金币。每次选择的整数 ......
Problem Math

文件解压 //problem/2928 or /contest/1709/problem/3

字符串套 递归 #include<bits/stdc++.h> using namespace std; char s[1005]; int n,i; string work(){ string p; int t = 0; while(++i <= n){ if(s[i] >= '0' && s[i ......
problem contest 文件 2928 1709

CF1858C Yet Another Permutation Problem 题解

## 思路 这个题是一个简单的构造题。~~竟然比 T2 简单,也是少见~~ 我们可以首先从 $1$ 开始不断乘以 $2$,像这样:$1, 2, 4, 8, 16\cdots,2^x$,直到什么时候超过 $n$ 就停止。 这样相邻两个数字就可以凑出 $1, 2, 4, 6, \cdots,2^{x- ......
题解 Permutation Another Problem 1858C

Slackware之SSL certificate problem问题解决

# Slackware之SSL certificate problem问题 个人用户在自己选择最小安装slackwre后,使用类如`slackpkg update`(尤其是在设置为current源后),`git clone`等命令时,经常报如下错误: *SSL certificate problem ......
certificate Slackware problem 问题 SSL

CF1858C Yet Another Permutation Problem 题解

## 杂言 赛时想到做法,结果调 code 把自己心态调炸了,所以来写一篇题解(恼)。 另:此题与 [P9345 夕阳西下几时回](https://www.luogu.com.cn/problem/P9345) 几乎相同,可以此练手。 另另:本题多测,多测不清空,爆零两行泪。 ## 题意翻译 $a_ ......
题解 Permutation Another Problem 1858C

CF776D The Door Problem

### 题目大意 给定门和钥匙的数量,每把钥匙控制 $k_i$ 扇门,每扇门被两把钥匙控制。 给定初始时每扇门的状态,求是否存在一种方法使得所有的门都打开。 ### 思路 扩展域并查集。 考虑分类讨论: - 对于开着的门,要么两把钥匙都用,要么两把钥匙都不用; - 对于关着的门,两把钥匙只能用一把。 ......
Problem 776D Door 776 The

2-07-Feign-基于Feign的远程调用-not practice

### 使用Feign共四步 引入依赖 ```xml org.springframework.cloud spring-cloud-starter-openfeign ``` 启动类添加注解开启功能 ![](https://img2023.cnblogs.com/blog/3090785/20230 ......
Feign practice not 07

2-06-Nacos配置管理-Nacos集群搭建-not practice

# Nacos集群搭建 # 1.集群结构图 官方给出的Nacos集群图: ![](https://img2023.cnblogs.com/blog/3090785/202308/3090785-20230815083154386-353496022.png) 其中包含3个nacos节点,然后一个负载 ......
Nacos 集群 practice not 06

胡萝卜问题 Carrot Problems

![](https://img2023.cnblogs.com/blog/474029/202308/474029-20230814202557915-1954441632.png) ![](https://img2023.cnblogs.com/blog/474029/202308/474029- ......
胡萝卜 Problems Carrot 问题

2-05-Nacos配置管理-多环境配置共享-not practice

#### 单环境配置文件-${spring.application.name}-${spring.profiles.active}.yaml #### 多环境配置文件-${spring.application.name}.yaml 配置优先级: ${spring.application.name}- ......
practice 环境 Nacos not 05

2-04-Nacos配置管理-配置热更新-not practice

### 所谓的热更新共有两种实现方式 1.@Value+@Refresh 针对单一类的配置热更新 2.@ConfigurationProperties+@Autowired,针对所有类的配置热更新 ![](https://img2023.cnblogs.com/blog/3090785/202308 ......
practice Nacos not 04

物理 physics

1.原子物理2.生物物理学3.凝聚态物理4.宇宙学5.高能物理学6.计算物理学7.天体物理和天文学8.光学物理9.应用物理 ​​​ 物理与信息科学学院 物理与电子科学学院 数学与计算机科学学院 信息科学与技术学院 信息学院 计算机学院 软件学院 1、判天地之美,析万物之理 ;2、物理定律不能单靠“思 ......
物理 physics

Python错误:This error originates from a subprocess, and is likely not a problem with pip.

问题描述: 最近把Python升级到了3.11,重新下载了一些模块,但下载安装pymssql的时候发生了如下报错: 解决办法: 原因分析:之前下载pymssql的时候是没有发生如上情况的,但当时用的Python版本是3.7、3.10,所以猜想是版本不兼容的问题。输入 pip install pyms ......
originates subprocess 错误 problem Python

Paper Reading: FT4cip: A new functional tree for classification in class imbalance problems

本文提出了一种类不平衡问题的功能树(FT4cip),该模型使用了考虑类不平衡的分割评估函数 Twoing,以及使用了一种优化 AUC 的新型剪枝算法。同时对多变量分割使用特征选择,进一步提高分类性能和可解释性。通过大量的实验分析证明,FT4cip 在 AUC 上的分类性能优于 LMT 和 Gama。... ......

more and more construction problem,what should i do ?

## 一些构造 ### CF1464F Showing Off 显然原图连边会形成若干内向基环树森林,所有在同一个环上的点 $S$ 是相同的,注意到原图是二分图,因此所有环都是偶环。 一个重要观察是,我们可以让所有环的长度都是 2,因为总可以把长度 $> 2$ 的环拆成若干个二元环,而且在 $S_{ ......
more construction problem should what

Random Walk Problem

> **Notice**: This article is just a short discussion on Random Walk problem, I compute $E(X^2)$ in this article. After I read some materials, from a ......
Problem Random Walk

An Easy Problem(二分)

**GDCPC A题** **原题链接:**https://cpc.csgrandeur.cn/csgoj/problemset/problem?pid=1168 **类似的题目及视频解释链接:** **题目:**https://www.acwing.com/problem/content/desc ......
Problem Easy An

Practice on Codeforces and Atcoder in August

## [Educational Codeforces Round 151 A~E](https://www.cnblogs.com/oierpyt/p/17598936.html) ## [Codeforces Round #879 Div.2](https://www.cnblogs.com/oi ......
Codeforces Practice Atcoder August and

PTE RS practice

She has a small business selling toys to big manufactures at home. Students must attend the safety course before entering the engineering work shop. T ......
practice PTE RS

pip安装error:There was a problem confirming the ssl certificate

``` Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=44 ......
certificate confirming problem error There

Practice on Codeforces and Atcoder in July

## [$1844E$](https://codeforces.com/problemset/problem/1844/E) 题意: 定义一个矩形 $a$ 是好的,当且仅当其满足以下条件: 1. 矩形中每一个元素 $x$ 都为 $A,B,C$ 其中之一 2. 每一个 $2\times 2$ 的子矩形 ......
Codeforces Practice Atcoder July and

Practice on Codeforces and Atcoder in June

# $Practice$ $on$ $codeforces$ $in$ $June$ wk,误删了4个题,但我不想补了 ## [$CF1839D$](https://codeforces.com/contest/1839/problem/D) 题意:给一个正整数序列 $a$,给定 $k$ 个 0,将 ......
Codeforces Practice Atcoder June and

Practice on Codeforces and Atcoder in May

# CF补题题解2023.5 说明:CF题直接去luogu看翻译,AT题会附上简要题意 ## [CF1821E](https://codeforces.com/contest/1821/problem/E) 先考虑如何高速计算权值 一个显而易见的贪心是尽量在右边取括号消除,设右括号为 1,左括号为 ......
Codeforces Practice Atcoder May and

【每日一题】Problem 653B. Bear and Compressing

[原题](https://codeforces.com/contest/653/problem/B) #### 解决思路 根据当前字符串的首字符进行深度递归即可 ##### 误区 字符串是从头开始匹配的,因此只需要对首字符进行替换 ```C++ #include int dfs(std::map> ......
Compressing Problem Bear 653 and

【每日一题】Problem 628B. New Skateboard

[原题](https://codeforces.com/problemset/problem/628/B) #### 解决思路 数学题 只要有两位数可以被 4 整除,那么以该两位数结尾的任何数都可以被 4 整除,推导过程如下: 设 10x + y = 4z, 则对于任意的前置 n 有 10(10n ......
Skateboard Problem 628 New

【每日一题】Problem 626B. Cards

[原题](https://codeforces.com/contest/626/problem/B) #### 解决思路 找规律 1. 对于 n:0:0 形式的,只有一种结果,是第一个元素 2. 对于 m:n:t 形式的,三个元素都是可能的 3. 对于 1:n:0 形式的,可以发现,第二种元素是永远 ......
Problem Cards 626

【每日一题】Problem 602B. Approximating a Constant Range

[原题](https://codeforces.com/contest/602/problem/B) #### 解决思路 设 $[a_l, a_r]$ 满足要求,而加入 $a_{r+1}$ 则不满足要求,那么根据题目中**相邻两数差不超过 1**,$a_{r+1} - min([a_l, a_r]) ......
Approximating Constant Problem Range 602

[AGC024F] Simple Subsequence Problem

Problem StatementYou are given a set $S$ of strings consisting of 0 and 1, and an integer $K$. Find the longest string that is a subsequence of $K$ or ......
Subsequence Problem Simple 024F AGC

HAOI2011 Problem b

# Problem b [link](https://www.luogu.com.cn/problem/P2522) 做法:莫比乌斯反演。 思路: 对于给出的 $n$ 个询问,每次求有多少个数对 $(x,y)$,满足 $a \le x \le b$,$c \le y \le d$,且 $\gcd(x ......
Problem HAOI 2011