regional contest macau 2021

2021-12-30-HaProxy_安装搭建配置

layout: post cid: 45 title: HaProxy 安装搭建配置 slug: 45 date: 2021/12/30 17:09:53 updated: 2021/12/30 17:09:53 status: publish author: cby categories: 默认分 ......
HaProxy 2021 12 30

2021-12-30-Ansible_安装并简单使用

layout: post cid: 34 title: Ansible 安装并简单使用 slug: 34 date: 2021/12/30 17:07:00 updated: 2022/03/25 15:48:24 status: publish author: cby categories: 默认 ......
Ansible 2021 12 30

2021-12-30-Docker容器中使用GPU

layout: post cid: 60 title: Docker容器中使用GPU slug: 60 date: 2021/12/30 17:13:00 updated: 2022/03/25 15:42:19 status: publish author: cby categories: 默认分 ......
容器 Docker 2021 GPU 12

2021-12-30-CentOS8删除boot目录恢复

layout: post cid: 25 title: CentOS8删除boot目录恢复 slug: 25 date: 2021/12/30 17:03:48 updated: 2021/12/30 17:03:48 status: publish author: cby categories: ......
CentOS8 目录 CentOS 2021 boot

2021-12-30-k8s集群进行删除并添加node节点

layout: post cid: 7 title: k8s集群进行删除并添加node节点 slug: 7 date: 2021/12/30 16:58:32 updated: 2021/12/30 16:58:32 status: publish author: cby categories: 默 ......
节点 集群 2021 node k8s

2021-12-30-CentOS_的_YUM安装时卡死解决方案

layout: post cid: 21 title: CentOS 的 YUM安装时卡死解决方案 slug: 21 date: 2021/12/30 17:03:00 updated: 2021/12/30 17:03:00 status: publish author: cby categori ......
解决方案 方案 CentOS 2021 YUM

2021-12-30-Docker启动MySQL、MongoDB、Redis、Elasticsearch、Grafana,数据库

layout: post cid: 5 title: Docker启动MySQL、MongoDB、Redis、Elasticsearch、Grafana,数据库 slug: 5 date: 2021/12/30 16:57:00 updated: 2022/03/25 15:53:08 status ......

AtCoder Beginner Contest 226(E,F,G)

AtCoder Beginner Contest 226(E,F,G) E(并查集) E 这个题的大意是给我们一个无向图,我们可以把这些无向边变成有向边,让每一个点的入度都是$1$,问有多少种变化方式 要让有$x$个点的无向图,形成一棵树的边的数量是$x-1$,但是我们需要的是每一个点的入度为$1$ ......
Beginner AtCoder Contest 226

AtCoder Regular Contest 158 D - Equation

题目链接 原本看着式子直接晕了,觉得是高深的硬核数论,于是放弃(然后E也没想出来,sad) 关键的思路在于,考虑构造由**(a,b,c)->(ta,tb,tc)**这样的求解方式。 在看到这个做法后,会发现它很好地利用了题目齐次的性质;至于如何由齐次式想到这个做法,可能需要足够的天赋或者经验吧(悲) ......
Equation AtCoder Regular Contest 158

SMU Spring 2023 Trial Contest Round 4 (4.4)

SMU Spring 2023 Trial Contest Round 4 (^_^) A小石的图形 思路:pi=acos(-1) #include<bits/stdc++.h> using namespace std; typedef pair<int,int>PII; const int N=1 ......
Contest Spring Round Trial 2023

How CloudFront works with regional edge caches

CloudFront points of presence (also known as POPs or edge locations) make sure that popular content can be served quickly to your viewers. CloudFront ......
CloudFront regional caches works with

How CloudFront delivers content to your users without regional edge caches

本文主要讲述Cloudfront的工作流程、如何将用户请求的数据-资源-对象,返回给用户 本文描述的是没有使用 【区域边缘缓存】的情况,目前为止,AWS中国区的cloudfront本来也就没有使用区域边缘 After you configure CloudFront to deliver your ......
CloudFront delivers regional content without

office2021pro安装教程

打开软件 选择应用 版本是office21pro 等安装完成 打开学习工具,第一次打开提示无法联网需要重新打开即可 目测安装21所有许可证 退出即可 打开office 点完这个关闭后 进入账户即可看到激活 ......
教程 office 2021 pro

AtCoder Beginner Contest 294(E,F,G)

AtCoder Beginner Contest 294(E,F,G) E (思维,双指针) E 这个题的大意就是有一个$2$行$L$列的网格,每个格子里面都有不同的数字,但是它的输入方式不是一个一个输入的,而是从第一个开始,枚举每个数在这一段的数量,(比如$a_1=2,L_1=3$,那么此时就已经 ......
Beginner AtCoder Contest 294

[Leetcode Weekly Contest]339

链接:LeetCode [Leetcode]2609. 最长平衡子字符串 给你一个仅由 0 和 1 组成的二进制字符串 s 。 如果子字符串中 所有的 0 都在 1 之前 且其中 0 的数量等于 1 的数量,则认为 s 的这个子字符串是平衡子字符串。请注意,空子字符串也视作平衡子字符串。 返回 s ......
Leetcode Contest Weekly 339

OWASP TOP 10 2021

OWASP TOP 10 2021 2021 年的 TOP 10 中有 3 个新类别、4 个更改了名称和范围的类别以及一些合并。 A01. 失效的访问控制 Broken Access Control 失效的访问控制是指应用程序中的访问控制措施没有被正确实施或没有被充分考虑,从而导致攻击者能够绕过访问 ......
OWASP 2021 TOP 10

AtCoder Beginner Contest 154

AtCoder Beginner Contest 154 https://atcoder.jp/contests/abc154 今天也比较简单。 E - Almost Everywhere Zero 贪心或者数位dp。 (其实我这个贪心应该就是在模拟数位dp) 贪心 #include <bits/s ......
Beginner AtCoder Contest 154

AtCoder Beginner Contest 296

AtCoder Beginner Contest 296 比赛连接 好久没写题解了~~ D - M<=ab 题意就是给定N,M, 求一个最小的数x同时满足x>=M且x=a*b(a<=N,b<=N); N,M<=1e12 开始脑瘫想了二分,仔细一想很明显x不满足单调性,想了下暴力的时间复杂度巨大... ......
Beginner AtCoder Contest 296

AtCoder Beginner Contest 144

AtCoder Beginner Contest 144 https://atcoder.jp/contests/abc144 补一下3.23做的。 D - Water Bottle 分类讨论,三角函数。 #include <bits/stdc++.h> #define pi acos (-1) u ......
Beginner AtCoder Contest 144

AtCoder Beginner Contest 296 A-E

AtCoder Beginner Contest 296 A - Alternately 1 void solve(){ 2 int n=read(); 3 string s; 4 cin>>s; 5 int ans=1; 6 for(int i=0;i<s.size()-1;i++){ 7 if( ......
Beginner AtCoder Contest 296 A-E

AtCoder Beginner Contest 296

AtCoder Beginner Contest 296 赛时代码 A - Alternately // Problem: A - Alternately // Contest: AtCoder - AtCoder Beginner Contest 296 // URL: https://atcod ......
Beginner AtCoder Contest 296

AtCoder Beginner Contest 296 做题记录

D - M<=ab 题意:求最小的正整数,不小于 $m$,且能被表示为两个不大于 $n$ 的正整数的数,不存在输出 -1。$n,m\le10^{12}$。 直接枚举 $a$,计算最小的满足 $ab\ge m$ 的 $b$,如果 $a>b$ 则后面的情况一定是重复的。时间复杂度 $\text{O}(\ ......
Beginner AtCoder Contest 296

AtCoder Beginner Contest 153

AtCoder Beginner Contest 153 https://atcoder.jp/contests/abc153 这套比较简单。 E - Crested Ibis vs Monster 完全背包 #include <bits/stdc++.h> #define ll long long ......
Beginner AtCoder Contest 153

记录一: Spring Cloud Alibaba 2021.X 搭建

一 》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》》 下载nacos https://github.com/alibaba/nacos nacos-server-2.0.3.zip Windows 版 解压后,数据库新建nacos库,将 X:\nacos\ ......
Alibaba Spring Cloud 2021

洛谷 P8742 [蓝桥杯 2021 省 AB] 砝码称重

经典 01 背包题 首先介绍一下 01 背包,即一种 DP 问题,以放置物品为模型,每个物品只能放一次。其区分于完全背包(每个物品可以放无限多次),以及多重背包(每个物品有一个固定次数上限)。题中给出了 $ N $ 个砝码及每个砝码的质量,要求我们求出可以称出质量的种数。由此想到转化为 01 背包。 ......
蓝桥 砝码 P8742 8742 2021

洛谷 P8762 [蓝桥杯 2021 国 ABC] 123 题解

为什么可以使用前缀和,这里提供解释: 初读题目,我们发现这个数列很迷惑,似乎不能使用数学方法来解。 $$ 1,1,2,1,2,3,1,2,3,4,\cdots $$ 但是,我们可以想到 数形结合 的方式,我们将数列看作一个三角形,于是他变成了: $$1$$ $$1,2$$ $$1,2,3$$ $$1 ......
蓝桥 题解 P8762 8762 2021

AtCoder Beginner Contest 296

E Transition Game 拓扑跑环。 C++ Code #include "bits/stdc++.h" using namespace std; using i64 = long long; int main() { ios::sync_with_stdio(false); cin.ti ......
Beginner AtCoder Contest 296

AtCoder Beginner Contest 296 ABCD

https://atcoder.jp/contests/abc296 ###A - Alternately #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<LL,LL> PII; cons ......
Beginner AtCoder Contest ABCD 296

AtCoder Beginner Contest 296

295? 上周ECF玩去了,咕咕咕 A - Alternately (abc296 a) 题目大意 给定一个包含$MF$的字符串,问是否是 $M,F$交替出现的。 解题思路 判断相邻字母是否相等即可。 神奇的代码 ```cpp #include using namespace std; using ......
Beginner AtCoder Contest 296

AtCoder Beginner Contest 152

AtCoder Beginner Contest 152 https://atcoder.jp/contests/abc152 F我看了半天,编码方式那里还算是感觉比较玄乎,这题确实妙。 D - Handstand 2 只需记录两端数字即可,不要想太复杂。 #include <bits/stdc++ ......
Beginner AtCoder Contest 152