solution p9194 the of
CF420E Playing the ball
## Description 程序员不能总是整天坐着编程。有时站起来离开办公桌,休息一下,与同事闲聊,甚至玩一会,也是十分好的主意。F 公司的程序员就特别喜欢一种球类游戏。 让我们想象一个在笛卡尔坐标系平面上玩的游戏。玩家坐落在点 $(0,0)$ 上,选择任意一个方向,扔出球。飞了一会儿的球在距离原 ......
Top-level await 新特性(ERROR: Top-level await is not available in the configured target environment (“chrome87”.....})
Top-level await 新特性 「ECMAScript」提案 Top-level await 由 Myles Borins 提出,它可以让你在模块的最高层中使用 await 操作符。在这之前,你只能通过在 async 函数或 async generators 中使用 await 操作符。To ......
How to save a web page as a long screenshot in its entirety? How to save a batch of screenshots of web pages? High-definition pictures, multiple formats
How to save a web page as a long screenshot in its entirety? How to save a batch of screenshots of web pages? High-definition pictures, multiple forma... ......
Android studio 安装应用出现 The application could not be installed: INSTALL_FAILED_USER_RESTRICTED 错误
### 错误详情 ``` Installation did not succeed. The application could not be installed: INSTALL_FAILED_USER_RESTRICTED List of apks: [0] '/Users/topjoy/git ......
我将介绍一种名为功率型锂离子电池双无迹卡尔曼滤波算法(DUKF)的方法,用于同时估计锂离子电池的状态 of
我将介绍一种名为功率型锂离子电池双无迹卡尔曼滤波算法(DUKF)的方法,用于同时估计锂离子电池的状态 of charge(SOC)和 state of health(SOH),并估计电池的欧姆内阻,以此来表征电池的SOH。这个算法可以使用Matlab代码实现,并且在DST和US06工况下进行了验证。 ......
TabError: inconsistent use of tabs and spaces in indentation
001、python程序报错如下: 002、报错原因(看着缩进是一样的,实际上是不一样的) 003、解决方法 将缩进统一调整为tab键, 对齐即可。 参考:https://blog.51cto.com/yunyaniu/4724938 。 ......
Unexpected EOF read on the socket问题研究及解决
背景 在图片上传的过程中,后台总是会看到很多这种异常的报错,对于客户端而言是一个超时中断的报错。 org.apache.tomcat.util.http.fileupload.impl.IOFileUploadException: Processing of multipart/form-data ......
【NSSCTF逆向】【2023题目】《stream》《a_cup_of_tea》
#总览 stream RC4 base64 exe解包 pyc反编译 a_cup_of_tea tea #题目 stream  - [摘要](#摘要) - [介绍](#介绍) - [背景](#背景) - [深度学习框架](#深度学习框架) - [深度学习硬件](#深度学习硬件) - ......
CodeForces 1508C Complete the MST
[洛谷传送门](https://www.luogu.com.cn/problem/CF1508C "洛谷传送门") [AtCoder 传送门](https://codeforces.com/problemset/problem/1508/C "AtCoder 传送门") 比较需要观察的题。 设 $v ......
anolis 8.8 (CentOS 8) yum update error: Problem 1: package mod_ssl-1:2.4.37-56.0.1.module+an8.8.0+11061+87142f8c.6.x86_64 requires , but none of the providers can be installed
#yum update error message: Problem 1: package mod_ssl-1:2.4.37-56.0.1.module+an8.8.0+11061+87142f8c.6.x86_64 requires httpd = 2.4.37-56.0.1.module+an8 ......
js/ts文件中,导入i18n报错:Must be called at the top of a `setup` function
import { useI18n } from 'vue-i18n'; const { t } = useI18n(); 会在非组件情况下报错: 此时我们需要将上述导入方式改为: import i18n from '@/lang/i18n';//@/lang/i18n为语言包位置 const { t ......
mac解决pycharm运行报错NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled
mac解决pycharm运行报错NotOpenSSLWarning: urllib3 v2.0 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled 第一步:卸载 urllib3 pip3 uninstall url ......
CodeForces 1847F The Boss's Identity
[洛谷传送门](https://www.luogu.com.cn/problem/CF1847F "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/1847/F "CF 传送门") 我们首先观察 $a$ 的形态。令题面中给出的 $ ......
CodeForces 997C Sky Full of Stars
[洛谷传送门](https://www.luogu.com.cn/problem/CF997C "洛谷传送门") [CF 传送门](https://codeforces.com/problemset/problem/997/C "CF 传送门") 考虑容斥,钦定 $i$ 行 $j$ 列放同一种颜色, ......
Paper Reading: Ensemble of Classifiers based on Multiobjective Genetic Sampling for Imbalanced Data
大多数处理不平衡学习的技术都是针对二分类问题提出的,这些方法并不一定适用于不平衡的多分类任务。针对这些问题,本文提出了一种新的自适应方法——基于多目标遗传抽样的分类器集成(E-MOSAIC)。E-MOSAIC 将训练数据集中提取的样本编码为个体进行进化,通过多目标优化过程搜索能够在所有类别中产生具有... ......
QNX-9—QNX官网文档翻译—Resource Managers—The resource manager library
注:本文翻译自QNX Software Development Platform --> Programming --> Getting Started with QNX Neutrino --> Resource Managershttp://www.qnx.com/developers/docs ......
Restart the journey
在开始新的旅途之前,明确一些事情。 做题方法论比学习方法论重要。 如何解题: 泛化模型,寻找特殊性质。 性质的发现:共性,特殊性,结构。 考虑限制的松紧,为什么只在这个情况下能做。 规约到之前遇见过的问题,需要对基本模型的认知。 从简单的,边界的情况入手。 利用几何/代数直观。 考虑 “剖面”。 枚 ......
【论文解析】EJOR 2011 A clustering procedure for reducing the number of representative solutions in the Pareto Front of multiobjective optimization problems
> 论文名称:A clustering procedure for reducing the number of representative solutions in the Pareto Front of multiobjective optimization problems ### 动机 假 ......
Can't import the named export 'inject' from non EcmaScript module (only default export is available)
最近在开发一个electron应用,需要用到ssh功能。 经过挑选,最终使用的是node-ssh这个包。 然而,使用的过程并不顺利,执行npm run electron:serve运行出错,报错信息如下(仅截取部分): error in ./node_modules/node-ssh/lib/esm ......
《Generative Agents: Interactive Simulacra of Human Behavior》论文学习
一、论文基本思想 Figure 1: Generative agents create believable simulacra of human behavior for interactive applications. In this work, we demonstrate generati ......
创建LVM报错:Can't initialize physical volume "/dev/sdb1" of volume group "myvg" without -ff
问题: 在使用fdisk /dev/sdb 删除原有LVM分区,在接着创建LVM新分区/dev/sdb1。完毕保存之后。 执行pvcreate /dev/sdb1出现报错 Can't initialize physical volume "/dev/sdb1" of volume group "my ......
Solution Set - 2023 省队集训
## 2023-7-8 模拟赛 ### 铁路 (railway) Source: ROI 2017 D1T4 C 国有 $n$ 个城市与 $m$ 条铁路线,铁路均为单向,第 $i$ 号铁路线被从起点到终点的 $(s_i + 1)$ 个城市 $c_{i, 1}, c_{i, 2}, \cdots, c ......
XXI Opencup, Grand Prix of Korea
[TOC] ## XXI Opencup, Grand Prix of Korea OpenCup强度这么大吗( ### A 根据 Hall 定理, 把 $a$ 从大到小排序对于 $\forall x \in [1, n]$ 如果有 $\sum_{i = 1} ^ xa_i \leq \sum_{i ......
P6545 [CEOI2014] The Wall 总结记录--zhengjun
[link](https://www.luogu.com.cn/problem/P6545) 思维好题。 - 找到结论,即包住所有点的充要条件 两次最短路的思想确实很妙。 > 结论:找到 $(0,0)$ 到每个标记方格左上角的最短路,那么一定存在包住这些路径的最优解。 证明考虑反证,比较好证的。 # ......
nth-of-type nth-child和一点正则
nth-of-type: 会找到类名为span-50的标签,你这里的span-50的标签是div,就会拿父级里面的所有div去算奇数偶数的 let res = '123456789'.replace(/(?!^)(?=(\d{4})+$)/g, ','); 用于给数字加分割逗号 ......
麒麟V10服务器安装MySQL报错file /etc/my.cnf from install of mysql-community-server-8.0.33-1.el7.x86_64 conflicts with file from package mariadb-common-3:10.3.9-9.p02.ky10.x86_64
1.问题描述 具体地说,"/etc/my.cnf" 文件与 "mysql-community-server-8.0.33-1.el7.x86_64" 包中的文件发生冲突,并与 "mariadb-common-3:10.3.9-9.p02.ky10.x86_64" 包中的文件相冲突。 这种冲突是由于系 ......
Linux内核的container_of宏
# 简介 container_of宏是内核的常用宏, 通常用于通过结构体成员指针来获取结构体指针. 该宏依赖的一个基本原则是结构体在虚拟内存中是连续存储的. 还有铭记就是它是一个编译期就已经计算好的宏. ## 为什么要有container_of 根据内核考古学, container_of首次出现在L ......
CentOS grub引导损坏 Minimal BASH-like line editing is supported.For the first word.TAB lists possible command completions.Anywhere else TAB lists possible deyice or file completions.
这是 GRUB boot loader 的命令行提示。它可能出现在以下情况中: 系统没有正确引导 启动项配置不正确 硬盘分区有问题 GRUB 配置有误等 为了解决这个问题,你需要做的是恢复 GRUB。以下是一般步骤,适用于大多数 Linux 发行版(如 Ubuntu): 启动 Live CD - 首 ......