codeforces contest round https

Codeforces Round 864 A~C

vp过三题,c是交互题,想起了打华师大校赛时的不愉快经历了。 ## A.Li Hua and Maze [Problem - A - Codeforces](https://codeforces.com/contest/1797/problem/A) ### 题意 给定一个n×m的矩阵,矩阵中有两个 ......
Codeforces Round 864

Atcoder Beginer Contest 306 D ~ E

vp中途突然拉肚子>_ using namespace std; using ll = long long; int main() { ios::sync_with_stdio(false); cin.tie(nullptr); int n; cin >> n; array dp; for(int ......
Atcoder Beginer Contest 306

Could not fetch URL https://pypi.org/simple/keras-bert/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443):

pip下载包的时候报错 Could not fetch URL https://pypi.org/simple/keras-bert/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pyp ......

如何强制访问无https的网站

## 提问 如何强制访问无https的网站 ## 回答 快捷方式目标增加如下项 ``` --test-type --ignore-certificate-errors ``` ![](https://img2023.cnblogs.com/blog/599607/202307/599607-2023 ......
https 网站

AtCoder Regular Contest 163

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

codeforces 树上题目总结

### codeforces 树上题目总结 **[CF1559D2](https://www.luogu.com.cn/problem/CF1559D2)** 先猜一个结论——一定能通过加边让一个森林变成一棵树,归纳一下发现是对的,并且随便加合法的边都符合条件,所以暴力是 $\mathcal O(n ......
codeforces 题目

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

腾讯云服务器配置https转发到其他端口号

1.服务器域名解析 2.域名申请免费ssl证书 3.把证书下载到服务器解压 4.配置nginx的配置文件 server { listen 18080 ssl; server_name www.shoubanchengshi.com; #需要将yourdomain.com替换成证书绑定的域名。 ssl ......
口号 服务器 https

Educational Codeforces Round 151 (Rated for Div. 2) A-D

# A ## 代码 ```c++ #include using namespace std; using ll = long long; bool solve() { int n, k, x; cin >> n >> k >> x; if (x != 1) { cout = 3) { if (k > ......
Educational Codeforces Round Rated 151

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

Codeforces 293B Distinct Paths

发现 $n, m$ 的数据范围是假的,因为每一步一个颜色最多也就 $k\le 10$ 种颜色,所以当 $n + m - 1 > k$ 时一定无解。 接下来发现这个数据范围挺小的,考虑状压,设 $f_{x, y}$ 为走到 $(x, y)$ 点所用的颜色的集合,其可以由 $f_{x - 1, y}, ......
Codeforces Distinct Paths 293B 293

Codeforces Round 878 (Div3)

## B. Binary Cafe >![image-20230703193601400](https://zeoy-typora.oss-cn-hangzhou.aliyuncs.com/image-20230703193601400.png) > >$1 \leq n,k \leq 10^9$ ......
Codeforces Round Div3 878 Div

CodeForces 1508D Swap Pass

[洛谷传送门](https://www.luogu.com.cn/problem/CF1508D "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/1508/D "CF 传送门") 先忽略掉所有 $a_i = i$ 的点。 考虑我 ......
CodeForces 1508D 1508 Swap Pass

Codeforces 585D Lizard Era: Beginning

很容易想到可以对于每个任务选不去的那一个人进行搜索,时间复杂度 $O(3^n)$,明显过不了。 发现 $n\le 25,\lceil \frac{n}{2}\rceil\le 13$,且各个任务间不会互相影响,便可以用折半搜索分成 $2$ 部分来搜最后来合并。 考虑如何合并两部分,令前一部分得到的值 ......
Codeforces Beginning Lizard 585D 585

nginx下https绑定kkFileView

需求 用https域名访问kkFileView 预览附件 实现用nginx代理 添加https 证书+key 加上对应的端口(默认443可能不能用)。转发到kkFileView启动的默认端口。 总结 :要用到 nginx + https证书+kkFileView配置 nginx kkfileview ......
kkFileView nginx https

app之抓取https包的配置

# 使用charles抓取HTTPS包 - 安卓7以上,将证书安装在**系统**级别,才能抓https的包。 - 安卓7以下,将证书安装在**用户**级别,就可以抓https的包。 ## 安卓7以下(模拟器) ```python # 1.打开模拟器,打开charles; # 2.在charles中找 ......
https app

每日一题 力扣 445 https://leetcode.cn/problems/add-two-numbers-ii/

可以直接用栈去做就行,逆序想到栈的做法 然后算完一个就直接赋值给答案数组 我用的是常见 public ListNode addTwoNumbers(ListNode l1, ListNode l2) { int sizeA=0; int sizeB=0; ListNode start=l1; Lis ......

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 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

Codeforces Round 881 Div2 A-F1题解

# codeforces round 881 div2 题解 马上要秋招了,自己本事全丢了,感觉如果这样的话今年就估计要饿死了。先打div3,7月份得开始收心了 ## A. Sasha and Array Coloring 题意,可以分任意组,每组的贡献是max - min,问最大贡献 显然是贪心, ......
题解 Codeforces Round Div2 881

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 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

Codeforces Round #877 (Div. 2) A-E

# A ## 代码 ```c++ #include using namespace std; using ll = long long; bool solve() { int n; cin >> n; int mx = -2e9, mi = 2e9; for (int i = 1;i > x; mi ......
Codeforces Round 877 A-E Div

Educational Codeforces Round 151 (Rated for Div. 2)

# Preface 期末考终于结束了,终于可以回来写题了 这场是刚考完最后一门的那个晚上打的,因为太久没有写代码了所以不是很熟练而且脑子也不太灵光,只能堪堪写到D题而且手速感人 上次CF第二个号因为Rating被roll了导致从紫名掉下来了,这场就把它又打上去了,再这样后面兴许要用第三个号打了 由于 ......
Educational Codeforces Round Rated 151