fedor game and new
A. Vika and Her Friends
A. Vika and Her Friends Vika and her friends went shopping in a mall, which can be represented as a rectangular grid of rooms with sides of length $n$ ......
idea报错 java: You aren't using a compiler supported by lombok, so lombok will not work and has been dis
转‘’: idea较新版本识别不了lombok生成的方法 在这增加参数: -Djps.track.ap.dependencies=false ......
【文献阅读】Optimization and perform criteria of a Stokes polarimeter based on two variable retarders
minimize the noise transmitted through the matrix 主要用三个参数衡量 indicator the condition number (CN) the Equally Weighted Variance (EWV) the error associat ......
CF1848C Vika and Price Tags 题解
每组 $(a_i,b_i)$ 之间相互独立,于是我们只需要考虑一对数 $(a,b)$。 首先 $(0,0)$ 的情况是平凡的。考虑我们需要的状态 $(0,b)$,它的变化过程是这样的:$(0,b)\to(b,b)\to(b,0)\to(0,b)$,所以是三轮一个循环,且除了 $(0,b)$ 之外另外 ......
New!DevExpress WPF v23.1 最新版本系统环境配置要求
DevExpress WPF 拥有120+个控件和库,将帮助您交付满足甚至超出企业需求的高性能业务应用程序。通过DevExpress WPF能创建有着强大互动功能的XAML基础应用程序,这些应用程序专注于当代客户的需求和构建未来新一代支持触摸的解决方案。 无论是Office办公软件的衍伸产品,还是以 ......
CF512D Fox And Travelling 题解--zhengjun
计数好题。 首先对于每个连通块独立考虑,最后合并答案。 发现 点数超过 1 的强连通分量一定删不掉。 - 若连通块中存在 点数超过 1 的强连通分量 - tarjan 缩点之后,称这些点数超过 1 的强连通分量为关键点; - 那么两关键点之间的点也不能删; - 于是对于剩下的点直接 dp 即可,由于 ......
python: thead and processing
线程: # encoding: utf-8 # 版权所有 2023 涂聚文有限公司 # 许可信息查看: # 描述: # Author : geovindu,Geovin Du 涂聚文. # IDE : PyCharm 2023.1 python 311 # Datetime : 2023/7/16 ......
题解 CF1842H【Tenzing and Random Real Numbers】
看了题解。好难受,想用积分求概率,算了半天。发现没啥规律,不是不能算,就是太可怕了。 ## Problem 有 $n$ 个 $[0,1]$ 范围内的均匀随机变量 $x_{1\cdots n}$ 和 $m$ 条限制,每条限制形如 $x_i+x_j\le 1$ 或 $x_i+x_j\ge 1$。请你求出 ......
6194: jump and jump 深搜/广搜/动态规划
描述 寒假在家里无聊极了,小w看到地上的瓷砖,想出了一个游戏。这个游戏是这样子的,一共有n个格子,刚开始在起点的时候可以跳到第1个到第k个格子中的一个上面,之后在每个格子上只能向前跳相对应的长度。请问至少需要多少步可以恰好跳到最后一个格子呢? 输入 第一行输入两个整数n和k(1<=n<=100000 ......
题解 CF1784E【Infinite Game】
## solution DP。 - 0:前面是空的。 - 1:一只落单的 $a$。 - 2:一只落单的 $b$。 - 3:正在决斗的 $ab$ - 4:正在决斗的 $ba$。 画出一个有向图。 ......
Linux /etc/passwd and /etc/shadow All In One
Linux /etc/passwd and /etc/shadow All In One
Linux 用户管理
Linux 用户权限管理
Raspberry Pi
......
flex and bison usage in PostgreSQL
# flex/bison usage in pgsql In regular bison usage, we call `yyparse()` to get an AST. So, I searched for `yyparse` in PostgreSQL source code, which e ......
Lakehouse: A New Generation of Open Platforms that Unify Data Warehousing and Advanced Analytics
在Delta Lake官网上提到的一篇新一代湖仓架构的论文.  ## 题意 给定一张 $N*M$ 的矩形网格纸,两名玩家轮流行动。在每一次行动中,可以任选一张矩形网格纸,沿着某一行或者某一列的格线,把它剪成两部分。首先剪出 ......
DockerDeskTop系列---【启动DockerDeskTop时报错:Please try shutting WSL down (wsl --shutdown) and...】
# DockerDeskTop安装完成后,无法启动 报错信息如下: > Please try shutting WSL down (wsl --shutdown) and/or rebooting your computer. If not sufficient, WSL may need to b ......
50.new操作符具体干了什么呢如何实现
#### 50. new 操作符具体干了什么呢?如何实现? ```js // (1)首先创建了一个新的空对象 // (2)设置原型,将对象的原型设置为函数的 prototype 对象。 // (3)让函数的 this 指向这个对象,执行构造函数的代码(为这个新对象添加属性) // (4)判断函数的返 ......
cpp class constructor initialize list and override cout
//book.h#pragma once #include <iostream> class book { public: int idx; std::uint64_t id; std::string author; std::string content; std::string comment; ......
TryHackMe | Game Zone Writeup
TryHackMe | Game Zone Writeup Task 1 Deploy the vulnerable machine 大卡通头像叫什么名 一眼杀手47 agent 47 Task 2 Obtain access via SQLi 输入用户名' or 1=1 -- - 密码空着就可以进 ......
Codeforces 1495E - Qingshan and Daniel
假设 $1$ 号队伍机器人总牌数比 $2$ 号队伍多,那么显然最终 $2$ 号队伍中的牌都会走光。 如果 $1$ 号机器人属于 $1$ 号队伍那么我们暴力模拟第一轮即可。下面只讨论 $1$ 号机器人属于 $2$ 号队伍的情况。 由于我们走牌顺序一定是 $212121212\cdots 21$ 直到没 ......
mybatis-plus QueryWrapper and or 连用组成查询条件
* 我的代码片段 ``` String numberCode = (String) params.get("numberCode"); if(StringUtils.isNotBlank(numberCode)){ wrapper.and(qw -> qw.eq("number", numberCo ......
【图论,网络流】CF1525F Goblins And Gnomes
[Problem Link](https://codeforces.com/problemset/problem/1525/F) 你在打怪。你有一个 $n$ 个点 $m$ 条边的 DAG,接下来会有 $k$ 波怪来袭,第 $i$ 波怪有 $i$ 个,它们会各自选择走一条路径,要求它们所选的路径点不相 ......
node高版本报错: node:os:68 throw new ERR_SYSTEM_ERROR(ctx);
 1.找出报错文件地址 2.定位至const os = require('os'); 3.添加内容`os. ......
CF1846D Rudolph and Christmas Tree 题解
## _Decription_ 一颗圣诞树由 $n$ 个底边为 $d$,高度为 $h$ 的等腰三角形组成,每个三角形以 $y$ 轴为对称轴,底边均平行于 $x$ 轴,三角形有可能重叠。 给出 $n,d,h$ 以及每个三角形底边与 $x$ 轴的距离,求该圣诞树的面积。 ## _Solution_ ![ ......
python魔术方法之__new__
# 一、基本用法 ```PYTHON # 从一个类建立一个对象 # __new__ 从class建立一个object过程 # __init__ 有了object初始化过程 class Language: def __new__(cls, *args, **kwargs): print("__new_ ......
Shiro characteristic and attack
# Characteristic If `RememberMe=deleteMe ` at Cookie, So It is Shiro. # Shiro Key You get the key and to mix a vulnerability will get the servers shel ......
IUP Text Format State test and enhancement
## 功能 - 测试IUP Text 控件 格式(Formating)在交互中的跟随性; - 尝试提升格式跟随性。 ## 涉及点 - Text的回调顺序关联; - 撤销(undo)操作还原到的状态——上次手动改变光标时的状态; - 输入时的状态(中文输入时涉及IME); - k_any的C; Cap ......
[VLDBJ 2022]Privacy and efficiency guaranteed social subgraph matching
# Privacy and efficiency guaranteed social subgraph matching ## 动机 目标是在不影响查询处理的同时保护隐私 ## 其中的子图匹配算法PGP  [CF 传送门](https://codeforces.com/problemset/problem/1525/F "CF 传送门") 套路地,将 DAG 的最小不交路径覆盖转化为点数 ......
[SIGMOD 2022]Lightweight and Accurate Cardinality Estimation by Neural Network Gaussian Process
# Lightweight and Accurate Cardinality Estimation by Neural Network Gaussian Process ## 总结 用无限宽度神经网络和高斯过程来等价贝叶斯过程,并利用主动学习提高精度,实现对某个SQL查询的cost估算 ## 动机 ......