how abc 306 ak

abc273_e Notebook 题解

# [Notebook](https://vjudge.csgrandeur.cn/problem/AtCoder-abc273_e) ## 题意 有 $q$ 次操作。 现在你有一个空序列 $a$ 和一本 $10^9$ 页的笔记本,每页纸上都有一个空序列。 每次操作是以下四种中的一种: - `ADD ......
题解 Notebook abc 273

How to enable Vsync with Software Rendering in SDL [SOLVED]. 如何在SDL2下实现垂直同步

How to enable Vsync with Software Rendering in SDL [SOLVED]. Hi, I just figured out the dirty way to enable vsync with software rendering on SDL. This ......
Rendering SDL Software enable SOLVED

How to find the TLS used for the SQL Server connection

本文是How to find the TLS used for the SQL Server connection这篇英语文章的翻译,此文出处请见于文章底部链接:原文出处[1] 对于客户,我做了一些研究,如何找出SQL Server数据库会话连接使用了哪一种TLS协议。唯一的方式就是创建一个扩展事件 ......
connection the Server find used

abc271_f XOR on Grid Path 题解

# [XOR on Grid Path](https://vjudge.csgrandeur.cn/problem/AtCoder-abc271_f) ## 题意 有一个 $n \times n$ 的整数矩阵,第 $i$ 行 $j$ 列的数字为 $a_{i,j}$。 你站在 $(1,1)$,每次你可 ......
题解 Grid Path abc 271

[ABC143E] Travel by Car

[Travel by Car 的 传送门](https://www.luogu.com.cn/problem/AT_abc143_e) > $n\le300$ 可~~凭感觉~~进行一遍 Floyd。 然后选两个点 $i,j$,如果 $i,j$ 间的距离小于等于 $l$,则将 $i,j$ 连一条代价为 ......
Travel 143E ABC 143 Car

ABC134F 题解

[$\text{link}$](https://www.luogu.com.cn/problem/AT_abc134_f) 。难想的 $\texttt{dp}$ 。 ![](https://img2023.cnblogs.com/blog/2803184/202305/2803184-2023052 ......
题解 134F ABC 134

How to Delete a Git Branch Both Locally and Remotely

# TL;DR version ``` https://www.freecodecamp.org/news/how-to-delete-a-git-branch-both-locally-and-remotely/ // delete branch locally git branch -d loc ......
Remotely Locally Delete Branch Both

abc271_e Subsequence Path 题解

# [Subsequence Path](https://vjudge.csgrandeur.cn/problem/AtCoder-abc271_e) ## 题意 有 $n$ 个城市和 $m$ 条有向道路,编号从 $1$ 开始,第 $i$ 条道路从 $a_i$ 到 $b_i$,长度为 $c_i$。 ......
题解 Subsequence Path abc 271

ABC146E 题解

## 前言 [题目传送门!](https://www.luogu.com.cn/problem/AT_abc146_e) [更好的阅读体验?](https://www.cnblogs.com/liangbowen/p/17421804.html) 简单题,whk 的时候就秒了,但是不知道为什么很喜欢 ......
题解 146E ABC 146

Atcoder Beginner Contest ABC302 题解

# 代码 见此:。 # A Attack 直接计算 `a/b`,有余数的话答案加一。 # B Find Snuke 枚举每个点,向周围八个方向拓展,判断。 # C Almost Equal 全排列枚举字符串顺序,之后检查。 $O(n)$ 做法:咕。(应该有罢 # D Impartial Gift 双 ......
题解 Beginner Atcoder Contest ABC

LeetCode 周赛 346(2023/05/21)仅 68 人 AK 的最短路问题

> **本文已收录到 [AndroidFamily](https://github.com/pengxurui/AndroidFamily),技术和职场问题,请关注公众号 [彭旭锐] 提问。** - [LeetCode 单周赛第 345 场 · 体验一题多解的算法之美](https://mp.wei ......
LeetCode 问题 2023 346 05

abc271_c Manga 题解

# [Manga](https://vjudge.csgrandeur.cn/problem/AtCoder-abc271_c) ## 题意 有一部连载漫画,共 $10^9$ 卷,你手上有 $n$ 卷漫画,第 $i$ 卷是连载中的第 $a_i$ 卷。 **你在看漫画之前**,可以执行以下操作若干次( ......
题解 Manga abc 271

[ABC230D] Destroyer Takahashi 题解

[题目传送门](https://www.luogu.com.cn/problem/AT_abc230_d) 一道贪心题。 我们可以将每一堵墙的右端点从小到大进行排序,然后我们从第 $1$ 堵墙开始看,将在第 $1$ 堵墙的右端点打破后会倒塌的墙全部跳过,去看下一堵还没被打破的墙。可以证明这是最优解。 ......
题解 Destroyer Takahashi 230D ABC

AT_abc302_f 题解

一、题目描述: 给你 $n$ 个集合 ,第 $i$ 个集合有 $A_i$ 个数,集合里的数都小于等于 $m$。 你可以选择两个至少有一个相同元素的集合,生成它们的并集,然后这两个集合消失。 求最少多少次合并之后,数字 $1$ 和 $m$ 在同一个集合中。如果不可能,请输出 $-1$ 。 数据范围:$ ......
题解 AT_abc 302 abc AT

【题解】Atcoder ABC302 F,G,Ex

完全不会 G 和 Ex,这些套路还是要积累一下的。 ## F.Merge Set ### 题目描述: 给定 $n$ 个集合,每次可以合并两个有交的集合,问最少多少次合并可以让 $1$ **和** $m$ 位于同一个集合中。 ### 题目分析: 一开始将题读成了将 $[1,m]$ 位于同一个集合中,然 ......
题解 Atcoder ABC 302 Ex

abc302 题解

打的还行,加的分不多。 # [A](https://atcoder.jp/contests/abc302/tasks/abc302_a "A") 直接除完上取整即可。 ```cpp #include using namespace std; typedef long long LL; const i ......
题解 abc 302

ABC302

## T1:[Attack](https://atcoder.jp/contests/abc302/tasks/abc302_a) 答案为 $\lceil\frac{A}{B}\rceil$ 代码实现 ``` a, b = map(int, input().split()) print((a+b-1 ......
ABC 302

AT_abc_270_d 总结

题目:AT_abc_270_d 链接:[洛谷](https://www.luogu.com.cn/problem/AT_abc270_d), [AT](https://atcoder.jp/contests/abc270/tasks/abc270_d),[vjudge](https://vjudge ......
AT_abc 270 abc AT

AT_abc270_f 总结

# 题意 - 有 $n$ 个岛屿,可以分别花 $x_i,y_i(1 \le i \le n)$ 的代价在岛屿 $i$ 建一个机场和港口,一个花 $z_i(1 \le i \le m)$ 的代价在 $a_i,b_i$ 之间建一条双向道路。若 $x$ 和 $y$ 都有机场或港口或者有道路相连,那么 $x ......
AT_abc 270 abc AT

abc242E 求解小于等于一个字符串的回文串的个数

题目链接:[E - (∀x∀)](https://atcoder.jp/contests/abc242/tasks/abc242_e "E - (∀x∀)") 考虑26进制,将字母A~Z 折算成数字0~25,求得最大的可能的回文字符串的26进制值即为答案 ```cpp //>>>Qiansui #i ......
回文 字符串 字符 个数 242E

AT_abc_264_g

题目:AT_abc264_g 链接:洛谷,AT,vjudge 题意 有 $n$ 个小写字母字符串 $T_i(1 \le i \le n)$ 和数组 $P$,一个非空且只包含小写字母的字符串 $S$ 的优美度为 $\sum\limits_{i = 1}^{n}T_i \ 在 \ S \ 中的出现字数 ......
AT_abc 264 abc AT

How to use pip3 install the latest version package All In One

How to use pip3 install the latest version package All In One 如何使用pip3安装最新版本包 ......
install package version latest pip3

How to migrate mailboxes from O365 to O365?

Office 365 is a powerful suite of applications that offers a wide range of features to help businesses run efficiently. However, as businesses grow, t ......
365 mailboxes migrate to from

2023.5.16 总结 AT_abc260_g

atcoder AT_abc260_g 题意 一个点 O 可以影响到其它点,能影响到的点的坐标满足:($(u, v)$ 为当前点的坐标,$(x, y) 为能影响到的点的坐标$) $u\le x$ $v\le y$ $(x-u)+\dfrac{(y-v)}{2}<M$ 给 $q$ 个询问,问每个点会被 ......
AT_abc 2023 260 abc 16

How to use the Raspberry Pi and Python to control a DHT11 wet and temperate module All In One

How to use the Raspberry Pi and Python to control a DHT11 wet and temperate module All In One 如何使用树莓派和 Python 来控制温湿度模块 ......
Raspberry and temperate control Python

2018-06-16-How-to-use-git

layout: post title: "使用Git上传本地项目到GitHub/Coding/码云" date: 2018-06-16 12:00:00 author: "qiuhlee" header-img: "img/bg-computer.jpg" header-mask: 0.3 cata ......
How-to-use-git 2018 How git use

ABC262Ex Max Limited Sequence 题解

题意: 给定 $m$ 个限制 $(l_i,r_i,p_i)$ 及 $n,k$,求满足以下条件的长度为 $n$ 的不同序列 $a=(a_1,a_2,\cdots,a_n)$ 的数目。 $\forall i \in[1,n],0\leq a_i\leq k$ $\forall i \in[1,m],\m ......
题解 Sequence Limited ABC 262

ABC191F 题解

题目传送门 题目分析 我们发现,$\text{min}$ 操作实际上就是把两数当中较大的那个删除,较小的那个数不受影响,所以用最小的数删还是用另一个数删是无区别的。 一个性质: $$\gcd(x,y) \le \min(x,y)$$ 不管 $a_{min}$ 是原来的还是在 $\text{gcd}$ ......
题解 191F ABC 191

how to configure blackbox.yml

modules: http_2xx: prober: http http: follow_redirects: true http_post_2xx: prober: http http: method: POST follow_redirects: true headers: Content-Ty ......
configure blackbox how yml to

[AtCoder-AT_ABC070C]题解(C++)

Part I Preface 原题目(Luogu) 原题目(AtCoder) Part II Sketch 给定一个正整数 $N(1 \leq N \leq 100)$,表示时钟数量。 接下来 $N$ 行,每行一个正整数 $T_i(1 \leq T_i \leq 10^{18})$,表示每个时钟旋转 ......
题解 AtCoder-AT_ABC AtCoder ABC 070