containerization hpc-focoused different solutions

Solution Set - 省选套题选做

2023-05-30 HNOI/AHOI2018 A.[寻宝游戏](https://www.luogu.com.cn/problem/P4424) B.[转盘](https://www.luogu.com.cn/problem/P4425) C.[毒瘤](https://www.luogu.com. ......
Solution Set

Solution Set - “带我去看极光与大海吧”

[TOC] $$ \mathbb{Defining~\LaTeX~macros\dots} \newcommand{\chkmin}[0]{\overset{\min}{\gets}} $$ ## 0.「AGC 062C」Mex of Subset Sum - [Link](https://atco ......
极光 Solution 大海 Set

[犯病记] DPDK报错Symbol `rte_eth_devices' has different size in shared object, consider re-linking

# [犯病记] DPDK报错Symbol `rte_eth_devices' has different size in shared object, consider re-linking > 背景:有一天,我犯了个病,试图在一个机器上安装DOCA,然后安装程序就下了一堆库,把机器上的环境搞得一团 ......

CF482B Interesting Array Solution

构造一个数组,给出了 $m$ 条限制,要求 $[l, r]$ 内的数按位与的值为 $x$。 按位考虑,对于 $x$ 的每个位,$[l, r]$ 的数在这一个位下都应该是 $1$, 否则就无法满足它们的与的值为 $x$。 构造出来的数组并不一定是满足条件的。所以在所有的操作完后还要验证构造的数组是否满 ......
Interesting Solution Array 482B 482

[论文阅读] Few-shot Font Generation by Learning Style Difference and Similarity

## Pre title: Few-shot Font Generation by Learning Style Difference and Similarity accepted: Arxiv 2023 paper: https://arxiv.org/abs/2301.10008 code: ......

[LeetCode] 2451. Odd String Difference

You are given an array of equal-length strings words. Assume that the length of each string is n. Each string words[i] can be converted into a differe ......
Difference LeetCode String 2451 Odd

Solution Set - “我献上明月一盏,照满河山”

[TOC] $$ \mathbb{Defining~\LaTeX~macros\dots} \newcommand{\addeq}[0]{\overset{+}{\gets}} \newcommand{\vct}[1]{\boldsymbol{#1}} $$ ## 0.「集训队互测 2018」「洛谷 ......
河山 明月 Solution Set

Family of Solution Sets

欢迎投歌词!评论告诉我歌曲链接和词就好啦~大概四五天一更? - [Solution Set - “卷起击碎定论的漩涡”](https://www.cnblogs.com/rainybunny/p/17345440.html) $\to$ [《夏虫》](https://www.bilibili.com ......
Solution Family Sets of

Solution Set - “请背诵每条魔法的禁忌”

$$ \mathfrak{Defining~\LaTeX~macros\dots} \newcommand{\lcm}[0]{\operatorname{lcm}} \newcommand{\floor}[1]{\left\lfloor #1\right\rfloor} $$ 0.「HAOI 201 ......
禁忌 Solution 魔法 Set

G. Hits Different

G. Hits Different In a carnival game, there is a huge pyramid of cans with $2023$ rows, numbered in a regular pattern as shown. If can $9^2$ is hit in ......
Different Hits

[ERROR] [MY-012263] [InnoDB] The Auto-extending innodb_system data file './ibdata1' is of a different sizethan specified in the .cnf file: initial 65536 pages, max 0 (relevant if non-zero) pages!

实际my.cnf发现里面的innodb_data_file_path = ibdata1:1G:autoextend 设置得太大,我这机器容量小,所以调到12M , innodb_data_file_path = ibdata1:12M:autoextend ......

CF1829G Hits Different

题目地址 题意:有这样一个塔,初始全为蓝色,第i位上的数为i2,丢球丢中第k位时,将使得第k位和他头顶的数 以及 头顶的数的头顶的数 以及...都变成红色,求红色数的和 Solution dp转移,我们把斜着向右下的所有数转移在一起,然后从第k位数开始往右上走,答案就是所有的和 void init( ......
Different 1829G 1829 Hits CF

CF1829G Hits Different

话说这场比赛的题名字好像都是 Taylor Swift 的歌名。 题意 有一个由罐子排列成的金字塔,罐子自上而下依次编号: 现在你要打下一个罐子,则与其有关的所有罐子也会被击落,计算所有被击落的罐子编号的平方和。 比如说,你击中了 $9$ 号罐子,则上图中所有标红的罐子都会被击落。 $n \le 1 ......
Different 1829G 1829 Hits CF

【组会】difference

difference我一直以为是差异,但有差的意思(a-b的这个-) 所以这篇文章的思路就是分辨出什么是人,什么是静态物体,然后通过相位变化算出人和静态物体的位移,然后将算出的人的位移减去静态物体的位移,就相当于减去了雷达微小运动的影响 ......
difference

Solution AGC034F

$\mathtt{Description}$: 给定 $n$ 和一个长度为 $2^n$ 的数组 $A$ (从 $0$ 标号). 有一个初始为 $0$ 的变量 $x$ . 不断操作, 每次操作以 $\frac {A_i}{\sum_{j=0}^{2^n-1} A_j}$ 的概率将 $x$ 变成 $x\ ......
Solution 034F AGC 034

AtCoder Regular Contest 128 E K Different Values

洛谷传送门 AtCoder 传送门 考虑判断有无解。把序列分成 $c = \left\lceil\frac{len}{k}\right\rceil$ 段,则 $\forall a_i \le c$ 且 $\sum\limits_{i=1}^n [a_i = c] \le ((len - 1) \bm ......
Different AtCoder Regular Contest Values

C++ Primer 5th Edition, Chapter 2, Solutions

Exercise 2.1 Questions What are the differences between int, long, long long, and short? Between an unsigned and a signed type? Between a float and a ......
Solutions Edition Chapter Primer 5th

07 A Glimpse of Industrial Solutions

1. Anti-Aliasing 1.1 Temporel Anti-Aliasing (TAA) 对于静止图像,每一帧的采样取像素内不同的区域,循环变化,下一帧复用上一帧的信息,考虑到递归,就会使得等效SSP变大。 对于运动物体,使用motion vector来查找。 如果出现遮挡等问题使得信息不 ......
Industrial Solutions Glimpse 07 of

Solution Set before PKUSC

JOISC 2022 Day2 T1 「チーム戦 / Team Contest」 首先优先考虑选择各项属性最大的那个。如果一只海狸同时霸占多项属性的最大值,那么这只海狸是不可能产生贡献的,将它删掉,然后对剩下的海狸继续进行如下的操作。如果没有就直接输出答案。如果所有海狸都删完了,则无解。时间复杂度 ......
Solution before PKUSC Set

Solution Set - “也许我们早已经共鸣在那约定之地”

0.「AGC 024D」Isomorphism Freak Link & Submission. 设直径为 $d$, 则最小同构系大小显然是 $d/2+1$, 我们只需要求出满足这个大小的最少叶子数. 我们确定一个点或者一条边为中心, 向外 BFS, 同层结点的度数需要最终相同, 因此此时最少叶子树 ......
Solution Set

Experience Lightning-Fast Wi-Fi Connectivity with the QCN9024: The Ultimate Solution for Dense Environments

The QCN9024 is the latest addition to the Qualcomm Networking Pro Series platform for Wi-Fi 6E access points. Designed to support high-performance, lo ......

递归比较两个字典差异-python dict different

def findDiff(d1, d2, path=""): for k in d1: if (k not in d2): print (path, ":") print (k + " as key not in d2", "\n") else: if type(d1[k]) is dict: if ......
字典 different 差异 两个 python

JPG 100 vs JPG 20: What’s The Difference?

JPG 100 vs JPG 20: What’s The Difference? So you’re into photography and while you’re showing some skill and getting a handle on camera settings for t ......
Difference JPG What 100 The

Solution Set - “让季节停止哽咽”

0.「CTT 2017」「洛谷 P4004」Hello world! Link & Submission. 「B.复杂度平衡」 写答辩 $\to$ 听 Para 赞美最短解 $\to$ 冲到题解区看最短解 $\to$ 叉掉最短解并赞美作者 $\to$ 写答辩. 这步长根号分治和修改次数均摊的味儿太明 ......
Solution 季节 Set

日常翻译【Difference between Interpreter and Compiler Interpreter vs Compiler Animated】

When you land in the world of computers with their strange convoluted machine language, it's a bit like landing on another planet, whose inhabitants s ......

【SD集训】20230425 T2 差(difference) 题解 CF1500F 【Cupboards Jumps】

大家可以猜猜看为什么有两个标题,因为这个因本文就不设密码了,被 He_ren 的原题创到了。 吐槽一下,He_ren 甚至出原题还用脚造数据,虽然数据确实比较难造。不过那两个 $O(n^2)$ 老哥好像都没最后将所有数调整成非负,遗憾 20。 有人场切 * 3500 却没过签到题,我不说是谁。 题目 ......
题解 difference Cupboards 20230425 1500F

Solution Set - “卷起击碎定论的漩涡”

$$ \frak{Defining~\LaTeX~macros\dots} \newcommand{\dist}[0]{\operatorname{dist}} \newcommand{\ord}[0]{\operatorname{ord}} \newcommand{\vct}[1]{\boldsy ......
定论 漩涡 Solution Set

Solution Set (春测集训中旬至省选集训)

Solution Set CF1767F Two Subtrees 首先,考虑询问 $u = v$ 的情况,发现需要使用线段树合并,或者分块/莫队。 问了一下,可以不用薯粉块啥的。但是 9s 啊 9s,为啥啊为啥。 考虑当前 $u$ 最小众数是 $x$ (不妨设 $\max u_x > \max v ......
选集 Solution Set

[ARC138D] Differ by K bits 题解

小清新构造题。 首先 $K=1$ 的情况是 trival 的,直接格雷码即可。 对于 $K>1$,我们发现题目的约束相当于 $\operatorname{popcount}(P_i\oplus P_{(i+1)\bmod 2^N})=K$,考虑 $P_i$ 的差分序列 $D_i$,那么 $D_i$ ......
题解 Differ 138D bits ARC

Solution Set - APIO2015

目录 A.巴厘岛的雕塑 B.雅加达的摩天楼 C.巴邻旁之桥 A 巴厘岛的雕塑 $n$ 个数分为若干组,组数不少于 $a$ 且不多于 $b$。最小化各组和的 $OR$ 值。 $n \le 2000$,$1=a \le b \le n$ 或 $n \le 100$,$1 \le a \le b$。 ke ......
Solution APIO 2015 Set