addition atcoder regular contest

AtCoder Regular Contest 163

# Preface 补题,这场比赛的时候被拉去开科研组会了,所以就没现场打了 这两天军训在伤病连划水,白天可以好好想题目舒服的一批 这场D题确实很妙,需要一些竞赛图相关的知识才能想到转化,不过也算是学到一个重要trick了吧 # **A - Divide String** 显然只要考虑能否分成两个串 ......
AtCoder Regular Contest 163

2022-2023 ICPC Brazil Subregional Programming Contest(B,D,F,I,L,N)

# 正题 题目链接:[https://codeforces.com/gym/103960](https://codeforces.com/gym/103960) # B-Fun with Stones【博弈论,数位dp】 ## 题目大意 三个堆的取石子游戏,第 $i$ 个堆石子个数可能是 $[L_i ......
Subregional Programming Contest Brazil 2022

AtCoder Beginner Contest 308 ABCDEF

# [AtCoder Beginner Contest 308]([AtCoder Beginner Contest 308 - AtCoder](https://atcoder.jp/contests/abc308)) ## **A - New Scheme** ### Problem State ......
Beginner AtCoder Contest ABCDEF 308

AtCoder Regular Contest 163 D Sum of SCC

[洛谷传送门](https://www.luogu.com.cn/problem/AT_arc163_d "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/arc163/tasks/arc163_d "AtCoder 传送门") 怎么连这种相对传统 ......
AtCoder Regular Contest 163 Sum

[Leetcode Weekly Contest]350

链接:[LeetCode](https://leetcode-cn.com/contest/weekly-contest-350/) ## [Leetcode]2739. 总行驶距离 卡车有两个油箱。给你两个整数,mainTank 表示主油箱中的燃料(以升为单位),additionalTank 表示 ......
Leetcode Contest Weekly 350

AtCoder Regular Contest 153 E Deque Minimization

[洛谷传送门](https://www.luogu.com.cn/problem/AT_arc153_e "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/arc153/tasks/arc153_e "AtCoder 传送门") 我们考虑给定 $X ......
Minimization AtCoder Regular Contest Deque

AtCoder ABC168C : (Colon) 题解

## AtCoder ABC168C : (Colon) 题解 ### 前置知识 本题主要考察的是高中知识——余弦定理。 具体的相关信息可以参考知乎的一片文章:《[余弦定理及推理证明过程](https://zhuanlan.zhihu.com/p/359951716)》。 简单的说,就是如果两个线段 ......
题解 AtCoder Colon 168C ABC

AtCoder Beginner Contest 308 G Minimum Xor Pair Query

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc308_g "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc308/tasks/abc308_g "AtCoder 传送门") 考虑没有删除操作怎 ......
Beginner AtCoder Contest Minimum Query

AtCoder Regular Contest 163 C Harmonic Mean

[洛谷传送门](https://www.luogu.com.cn/problem/AT_arc163_c "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/arc163/tasks/arc163_c "AtCoder 传送门") 这题是不是想到裂项 ......
Harmonic AtCoder Regular Contest Mean

AtCoder ABC307D 题解

## AtCoder ABC307D Mismatched Parentheses 题解 ### 思路分析 #### First —— 配对括号序列 首先,每个右括号肯定是要与其左边最近的左括号配对。因此,我们便可以使用一个栈来进行存放左括号的下标。当有右括号时,便可以弹出栈顶元素,但是栈为空时,便 ......
题解 AtCoder 307D ABC 307

AtCoder Beginner Contest 308 A~F

[AtCoder Beginner Contest 308](https://atcoder.jp/contests/abc308) ![image-20230702174419133](C:\Users\magicat\AppData\Roaming\Typora\typora-user-imag ......
Beginner AtCoder Contest 308

AtCoder Beginner Contest 308

A: 1 #include<cstdio> 2 #include<cstring> 3 #include<algorithm> 4 #include<iostream> 5 #include<string> 6 #include<vector> 7 #include<stack> 8 #includ ......
Beginner AtCoder Contest 308

AtCoder Beginner Contest 308

> 这几天在收拾东西搬家,先附上代码,晚点补上题解 > 感觉这次FG都写不太明白 ## [A - New Scheme (abc308 A)](https://atcoder.jp/contests/abc308/tasks/abc308_a) ### 题目大意 给定八个数,问是否满足以下要求: - ......
Beginner AtCoder Contest 308

【atcoder beginner 308E - MEX】

前缀和 二分查找 打表枚举 代码如下 import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.StreamTokenizer; import ......
beginner atcoder 308E 308 MEX

AtCoder Grand Contest 021 E Ball Eat Chameleons

[洛谷传送门](https://www.luogu.com.cn/problem/AT_agc021_e "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/agc021/tasks/agc021_e "AtCoder 传送门") 容易发现一个变色龙 ......
Chameleons AtCoder Contest Grand Ball

AtCoder Beginner Contest 307(E,F,G)

# AtCoder Beginner Contest 307(E,F,G) ## E(dp) [E](https://atcoder.jp/contests/abc307/tasks/abc307_e) 这个题大意就是我们需要组成一个长度为$n$的数组,满足两个相邻的数字不可以相等,其中,$a_1$ ......
Beginner AtCoder Contest 307

Educational Codeforces Round 151 [div.2 #A-C] 赛后总结(contest/1845)

### [link](https://codeforces.com/contest/1845 "Educational Codeforces Round 151") $\textcolor{52C41A}{A}-\textcolor{FADB14}{B}-\textcolor{FADB14}{C}- ......
Educational Codeforces contest Round 1845

AtCoder Beginner Contest 280 ABCDE

# [AtCoder Beginner Contest 280](https://atcoder.jp/contests/abc280) ## **A - Pawn on a Grid** ### Problem Statement 题意:给你$N$行$M$列的网格,问你有多少个# ### Solu ......
Beginner AtCoder Contest ABCDE 280

AtCoder Beginner Contest(abc) 297

*** ## B - [chess960](https://atcoder.jp/contests/abc297/tasks/abc297_b) #### 题目大意 >给定一串字符串, 里面一定包含2个' B ', 2个' R ', 1个' K ', 问该字符串是否满足以下两个条件, 一是两个'B' ......
Beginner AtCoder Contest 297 abc

AtCoder Beginner Contest 296 Ex Unite

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc296_h "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc296/tasks/abc296_h "AtCoder 传送门") 不错的 dp。 考 ......
Beginner AtCoder Contest Unite 296

AtCoder Beginner Contest 227 H Eat Them All

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc227_h "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc227/tasks/abc227_h "AtCoder 传送门") 好奇特的题。 考虑 ......
Beginner AtCoder Contest Them 227

AtCoder Beginner Contest 306(ABC 306) E~F补题

# E ### 题目大意 给定数字\$k\$,规定数组 $A$ 的函数 $f(A)$ :$A$ 数组前 $k$ 大数字的和 - 如 $A=[1,~3,~7,~4]$ ,$k=2$ ,则 $f(A)=7+4=11$ 现在给定最大数组长度 $n$ ,有 $q$ 组操作,每次将第 $x$ 个数字修改为 $ ......
306 Beginner AtCoder Contest ABC

AtCoder Beginner Contest 228 G Digits on Grid

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc228_g "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc228/tasks/abc228_g "AtCoder 传送门") ?这啥啊,不会。 ......
Beginner AtCoder Contest Digits Grid

AtCoder Beginner Contest 072

# A - Sandglass2 ```cpp #include using namespace std; #define int long long int32_t main() { int a , b; cin >> a >> b; cout using namespace std; #defi ......
Beginner AtCoder Contest 072

AtCoder Beginner Contest 238 Ex Removing People

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc238_h "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc238/tasks/abc238_h "AtCoder 传送门") 考虑期望转计数,方 ......
Beginner Removing AtCoder Contest People

AtCoder Beginner Contest 307 Ex Marquee

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc307_h "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc307/tasks/abc307_h "AtCoder 传送门") 一开始看错题了,看 ......
Beginner AtCoder Contest Marquee 307

AtCoder Beginner Contest(abc) 307

*** ## A - [Weekly Records](https://atcoder.jp/contests/abc307/tasks/abc307_a) #### 题目大意 >小莫每天跑步, 输入n周每天的步数, 输出每周跑的总步数; #### 解题思路 >签到题不多嗦了; #### 神秘代码 ......
Beginner AtCoder Contest 307 abc

SMU Spring 2023 Contest Round 7

A. Programming Contest 签到题. 输入输出读完应该就懂了: 从y1枚举到y2,若枚举的年份不在停办年份里则答案加一 void solve() { int n,m; cin >> n; vector<int> a(N),year(N); cin >> m; for(int i = ......
Contest Spring Round 2023 SMU

AtCoder Beginner Contest 307 G Approximate Equalization

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc307_g "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc307/tasks/abc307_g "AtCoder 传送门") 考虑我们如果确定了 ......

AtCoder Beginner Contest 245 Ex Product Modulo 2

[洛谷传送门](https://www.luogu.com.cn/problem/AT_abc245_h "洛谷传送门") [AtCoder 传送门](https://atcoder.jp/contests/abc245/tasks/abc245_h "AtCoder 传送门") 很好的题。 下文令 ......
Beginner AtCoder Contest Product Modulo