discovery presents channel contest

AtCoder Beginner Contest 214 G Three Permutations

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc214_g "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc214/tasks/abc214_g "AtCoder 传送门") 比较平凡的一个容斥 ......
Permutations Beginner AtCoder Contest Three

SMU Spring 2023 Trial Contest Round 11

A. The Text Splitting 题意:给出字符串长度,给出p和q两种切割方式,任选其中一种,把字符串分割输出结果。 题解:先进行判断,p和q是否能整个的分割n,利用p和q的函数关系判断(见代码),再计算有几个p几个q,再进行输出即可 void solve() { cin >> n >> ......
Contest Spring Round Trial 2023

[日志管理] 启动程序时,因报“log4j-slf4j-impl cannot be present with log4j-to-slf4j”错误而导致程序终止运行[转发]

此错误出现过了几次了,有必要记录一下。 # 1 问题描述 运行测试用例的spring-boot Java程序片段时,报如下错误: ``` log SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [ ......
程序 4j log4 log4j-to-slf log4j-slf

AtCoder Beginner Contest 247 Ex Rearranging Problem

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc247_h "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc247/tasks/abc247_h "AtCoder 传送门") 考虑我们如何判定一 ......
Rearranging Beginner AtCoder Contest Problem

AtCoder Beginner Contest 303

# **A - Similar String** ```cpp #include using namespace std; #define int long long int32_t main() { int n; string s , t; cin >> n >> s >> t; for( int ......
Beginner AtCoder Contest 303

AtCoder Beginner Contest 213 H Stroll

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc213_h "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc213/tasks/abc213_h "AtCoder 传送门") 考虑一个朴素 dp ......
Beginner AtCoder Contest Stroll 213

2022 Shanghai Collegiate Programming Contest

# A. Another A+B Problem 暴力枚举出所有的情况,然后特判一下 ```cpp #include using namespace std; set res; int t; string a , b , c = "????????"; #define f(d) ((d[0]-'0' ......
Programming Collegiate Shanghai Contest 2022

AtCoder Beginner Contest 288(D,E,F)

# AtCoder Beginner Contest 288(D,E,F) ## D(思维) [D](https://atcoder.jp/contests/abc288/tasks/abc288_d) 有一个数组,然后有$q$次询问,每一次输入一对$l,r$,我们要判断这一段里面的数是不是好数组 ......
Beginner AtCoder Contest 288

The 2023 Guangdong Provincial Collegiate Programming Contest

# A - 算法竞赛 ```cpp #include using namespace std; #define int long long void solve(){ int st , n , ed; cin >> st >> n; map cnt; for( int i = 1 , x ; i > ......

AtCoder Beginner Contest 258 Ex Odd Steps

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc258_h "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc258/tasks/abc258_h "AtCoder 传送门") 不错的矩阵快速幂优 ......
Beginner AtCoder Contest Steps 258

AtCoder Beginner Contest 289(E,F)

# AtCoder Beginner Contest 289(E,F) ## E(dijkstra) [E](https://atcoder.jp/contests/abc289/tasks/abc289_e) 这个题的大意就是有两个人,一个人在点$1$,一个人在点$n$,现在两个人要同时走(题目给 ......
Beginner AtCoder Contest 289

AtCoder Beginner Contest 303

## [A - Similar String (abc303 a)](https://atcoder.jp/contests/abc303/tasks/abc303_a) ### 题目大意 给定两个字符串,问这两个字符串是否相似。 两个字符串相似,需要每个字母,要么完全相同,要么一个是`1`一个是` ......
Beginner AtCoder Contest 303

AtCoder Regular Contest 153 D Sum of Sum of Digits

[洛谷传送门](https://www.luogu.com.cn/problem/AT_arc153_d "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/arc153/tasks/arc153_d "AtCoder 传送门") 又浪费一道好题![ ......
Sum AtCoder Regular Contest Digits

AtCoder Regular Contest 161

# Preface ARC战俘闪总出列 这场一上来就感觉状态不太对,先是A顺序敲反WA了一发,然后C题看到秒出一个贪心然后也WA了 看一眼榜发现D过的比C多,然后跑去把D写了,中间还偷偷挂了两发 最后50min回去沉淀C题,结果换了两种写法都还是一样的挂,后面发现想法还是有纰漏 总结:彩笔 # ** ......
AtCoder Regular Contest 161

AtCoder Regular Contest 148 E ≥ K

[洛谷传送门](https://www.luogu.com.cn/problem/AT_arc148_e "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/arc148/tasks/arc148_e "AtCoder 传送门") 是一道不错的计数。 ......
AtCoder Regular Contest 148

AtCoder Beginner Contest 290(D,E)

# AtCoder Beginner Contest 290(D,E) ## D (思维,数学) [D](https://atcoder.jp/contests/abc290/tasks/abc290_d) 这个题的大意就是我们需要标记$n$个位置,他是这样标记的,一开始有一个初始值为$0$的$x$ ......
Beginner AtCoder Contest 290

52.同源策略(Same-Origin Policy)限制了跨域请求No 'Access-Control-Allow-Origin' header is present on the requested resource.

又遇到如下报错了,该如何处理, Access to XMLHttpRequest at 'http://localhost:3000/users' from origin 'http://localhost:5173' has been blocked by CORS policy: No 'Acc ......

rabbitMQ windows环境重装后报错RabbitMQ service is already present - only updating service parameters

错误如下:C:\Users\Administrator>rabbitmq-service installRabbitMQ service is already present - only updating service parametersC:\Program Files\erl\erts\bi ......

AtCoder Regular Contest 161 E Not Dyed by Majority (Cubic Graph)

[洛谷传送门](https://www.luogu.com.cn/problem/AT_arc161_e "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/arc161/tasks/arc161_e "AtCoder 传送门") 给构造题提供了一种 ......
Majority AtCoder Regular Contest Cubic

AtCoder Beginner Contest 303 题解 A - E

## [A](https://atcoder.jp/contests/abc303/tasks/abc303_a) - Similar String ### 题目大意 忽略`0`和`o`的差别以及`1`和`l`的差别比较两个字符串。 ### 解题思路 1. 可以硬求,直接写个超长的if判断一下。 2 ......
题解 Beginner AtCoder Contest 303

AtCoder Beginner Contest 303 G Bags Game

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc303_g "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc303/tasks/abc303_g "AtCoder 传送门") 经典题,考虑区间 ......
Beginner AtCoder Contest Bags Game

Atcoder Beginner Contest ABC303 题解

题目: 。 # A 挨个判断。 # B 暴力枚举两个人是否会 in bad mood。 # C 用 map 或者 set 记录回血的位置。 # D 考虑 dp。 $f_{i,[0,1]}$ 表示当前到 $i$,是否开了大写锁定的方案数。 转移: ```cpp if(s[i]=='A'){ f[i][ ......
题解 Beginner Atcoder Contest ABC

AtCoder Beginner Contest 292(E,F,G)

# AtCoder Beginner Contest 292(E,F,G) ## E(图) [E](https://atcoder.jp/contests/abc292/tasks/abc292_e) 这个题的大意是给你一个有$n$个点,$m$条单向边的图,然后我们需要把满足下面条件的点连接在一起, ......
Beginner AtCoder Contest 292

Presentation-Nuclear Power

欢迎观众: Hello everyone, I am xxx, I'm from Computer Science Institute and majoring in Artificial Intelligence, welcome to my presentation, I'm so glad t ......

AtCoder Beginner Contest 298(D,F)

# AtCoder Beginner Contest 298(D,F) ## D(思维,模拟,快速幂) [D](https://atcoder.jp/contests/abc298/tasks/abc298_d) 大意是最初有一个数字$1$,然后进行$q$个操作 有三种操作 $1$,输入$1,x$, ......
Beginner AtCoder Contest 298

AtCoder Beginner Contest 299(E,F)

# AtCoder Beginner Contest 299(E,F) ## E (最短路) [E ](https://atcoder.jp/contests/abc299/tasks/abc299_e) 题目大意为有$n$个点和$m$条边,我们我个这些点匹配颜色(有两种颜色),但是要满足下面的条件 ......
Beginner AtCoder Contest 299

每日一题-Contest

[Contest](https://ac.nowcoder.com/acm/problem/13947) 本来以为要cdq什么的 看了题解之后发现它的排名是不重的(题目里好像没说啊)。 那么我们可以发现,对于两个三元组,如果对答案造成贡献,那么它们的关系一定是两个大于一个小于 或是两个小于一个大于, ......
Contest

Atcoder Grand Contest 062 D - Walk Around Neighborhood

csy/bx wjz/bx 首先将 $a$ 排序,如果 $\sum\limits_{i=1}^{n-1}a_id$ 的元素 $x$,满足 $\le d$ 的元素之和 $\ge x-d$,那我们肯定可以先走到 $(x-d,0)$ 然后一步走到 $(-d,0)$,否则可以证明是不行的。 从全局的角度考虑 ......
Neighborhood Atcoder Contest Around Grand

AtCoder Regular Contest 139 E Wazir

[洛谷传送门](https://www.luogu.com.cn/problem/AT_arc139_e "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/arc139/tasks/arc139_e "AtCoder 传送门") 好题。 这种题一般 ......
AtCoder Regular Contest Wazir 139

AtCoder Beginner Contest 300(E,F)

# AtCoder Beginner Contest 300(E,F) ## E (概率dp) [E](https://atcoder.jp/contests/abc300/tasks/abc300_e) 这个题意大致就是一开始有一个初始数$x$为$1$,然后我们有一个骰子,最后得到的点数概率一样, ......
Beginner AtCoder Contest 300