objectives you for and

Educational Codeforces Round 151 (Rated for Div. 2) B. Come Together

给三个点 $A, B, C$ ,两个人一开始都在 $A$ 点,一个人希望最快到达 $B$ ,另一个人希望最快到达 $C$ ,且他们希望尽可能走一条路径。则这条路径最长是多长。 经典的高维可以由低维叠加的问题。 * 坐标问题 * 动态规划问题 并非所有高维问题都可由低维叠加,但任何二维问题都可由一维叠 ......
Educational Codeforces Together Round Rated

Educational Codeforces Round 149 (Rated for Div. 2) B. Comparison String

给一个长度为 $n$ 的字符串 $s$ ,只包含字符“”。 一个长度为 $n + 1$ 的数组 $a$ 与 $s$ 是兼容的当且仅当对于任意 $i$ : 1. $s_i$ is $$ ,当且仅当 $a_i > a_{i - 1}$ 定义一个数组的 $cost$ 为这个数组中不同数的个数。 求一个 $ ......

Educational Codeforces Round 143 (Rated for Div. 2) B. Ideal Point

给 $n$ 条一维线段,一条端点为 $l, r$ 的线段可以覆盖 $\forall i, l \leq i \leq r$ 。定义 $f(x)$ 为点 $x$ 被线段覆盖的次数。一个点 $x$ 称为是 “完美的” 如果 $y \neq x, f(x) > f(y)$ 。 给一个点 $k$ ,询问是否 ......
Educational Codeforces Round Rated Ideal

1521A - Nastia and Nearly Good Numbers

## A. Nastia and Nearly Good Numbers https://codeforces.com/problemset/problem/1521/A ```python """ 思路: 1.就是普通的打印,NO的情况是只有b=1的时候才会出现,其他的都是YES,如果不想再继续分 ......
Numbers Nastia Nearly 1521A 1521

SLAMesh论文及代码阅读与思考<五>Real-time LiDAR Simultaneous Localization and Meshing

# 前言 本节重点对filterMeshGlb()函数进行理解。该函数在可视化模块中重点对全局地图中的每个栅格进行mesh的生成。一开始我的疑惑是代码是如何实现相邻cell之间的mesh连接的,这个应该具有较大的挑战性。其实,代码只考虑栅格内部的mesh的生成,全局mesh地图也就是mesh的并集, ......

The Riordan Group and Applications 第1章 笔记

2022年的一本书,只有376页。证明直接去书里面找。 [TOC] # 1 介绍 ## 1.1 啥是RiordanArray ## 1.2 起源和研究动机 ## 1.3 基础的应用 $$ \mathfrak{B}_r=\sum_{n \geq 0} \frac{1}{(r-1) n+1}\left( ......
Applications Riordan 笔记 Group The

class-dump使用报错 Cannot find offset for address 0x88000000010af973 in stringAtAddress:

从链接https://github.com/AloneMonkey/MonkeyDev/blob/master/bin/class-dump中重新下载class-dump拖入到路径:/usr/local/bin ......

匿名函数中带有for的写详解

max,min,filte,map,sorted五个内置函数匀可和lamdba函数结合使用 用sorted来个例子吧 例1; 结果为: 由上得出sorted排序的权重x【0】来决定,而x(帽号前的X)是匿名函数传入的变量参数 帽号后的x[0]是返回给匿名函数的值 例2: 结果为: 可见如果中刮号将整 ......
函数 for

Gym-104354F-Art for Last

# Gym-104354F-Art for Last (单调队列) 题意:`n`个数中选`k`个数出来,使得这些数的任意两个数相减得到的最小值与最大值的乘积最小 分析:遍历`n`个数排序后的连续`k`个数,维护两数之差的最大值和最小值即可。 首先,在排序以后,相邻的两个数相减是最小,其次,对于选择` ......
104354 F-Art Last Gym Art

Object.freeze()如何使const定义的复杂数据类型不可更改数据结构

##const本质 引用阮一峰的话:const实际上保证的,并不是变量的值不得改动,而是变量指向的那个内存地址所保存的数据不得改动。对于简单类型的数据(数值、字符串、布尔值),值就保存在变量指向的那个内存地址,因此等同于常量。但对于复合类型的数据(主要是对象和数组),变量指向的内存地址,保存的只是一 ......
数据 数据结构 类型 结构 Object

解决命令行提示“cannot create temp file for here-document: No space left on device”但磁盘使用率并未满的问题

问题如题,出现“cannot create temp file for here-document: No space left on device”,且部分应用出现故障,比如重启后Docker容器无法启动 先使用 df -h 检查磁盘使用率,显示使用率50%还不到 继续排查,使用 lsof | g ......

上市公司碳排放量的计算(分读for循环的应用)

需求: 工作中需要计算上市公司碳排放数据,需要利用分读for循环进行文本值提取,然后进行匹配和记录写入,最后需要分析汇总,用于后续的深度数据挖掘。 ......
排放量 上市公司 公司 for

Fixing Missing Windows App Runtime Environment Prompt for Unpackaged WinUI 3 Applications

This article will tell you how to fix the prompt for a missing Windows App Runtime environment when running non-packaged WinUI 3 applications on a cus ......

Proj CDeepFuzz Paper Reading: Differential Testing of Cross Deep Learning Framework APIs: Revealing Inconsistencies and Vulnerabilities

## Abstract 背景:目前对cross-framework conversion中的inconsistencies和security bugs的研究少有 本文:TensorScope Task: test cross-frame APIs in Machine Learning Librar ......

css: SVG and CSS

https://developer.mozilla.org/en-US/docs/Web/SVG/Tutorial/SVG_and_CSS 两种方式的CSS SVGCSS: /*** SVG demonstration ***/ /* page */ svg { background-color: ......
css SVG CSS and

SLAMesh论文及代码阅读与思考<四>Real-time LiDAR Simultaneous Localization and Meshing

# 前言 本节继续对update()函数进行理解。update是将当前点云对应的map_now对全局地图map_glb进行更新。 ## 获取重叠的区域 `OverlapCellsRelation overlap_ship = map_now.overlapCells(*this);` ```c++ ......

for

C++ 中 for 循环的语法: 1 2 3 4 for ( init; condition; increment ) { statement(s); } 下面是 for 循环的控制流: init 会首先被执行,且只会执行一次。这一步允许您声明并初始化任何循环控制变量。您也可以不在这里写任何语句,只 ......
for

Educational Codeforces Round 154 (Rated for Div. 2)

# Educational Codeforces Round 154 (Rated for Div. 2) [比赛链接](https://codeforces.com/contest/1861) 我都快忘了还有这一场比赛,今天打开cf看见这场比赛正好有时间就补了!!! 2023.9.3也许是出去玩了 ......
Educational Codeforces Round Rated 154

B. Fedor and New Game

## B. Fedor and New Game https://codeforces.com/problemset/problem/467/B ```python """ 467B 思路: 1.暴力方法: 通过循环二进制之后的,逐个位与fedor进行判断,通过取余,如果最后不同的超过3个就计+1 ......
Fedor Game and New

Proj CDeepFuzz Paper Reading: DeepGauge: multi-granularity testing criteria for deep learning systems

## Abstract 本文: DeepGauge Task: provide multi-granularity testing criteria for DL systems Method: multi-granularity testing criteria for DL systems: 1 ......

XOR and Favorite Number题解

## XOR and Favorite Number题解 ### 思路引导 这一道题主要是为了说明莫队算法和分块之间的联系。 先主要讲讲莫队的用处吧。 它是个离线算法,维护两个指针l,r。 移动l和r的时候顺便进行更改,维护好l-r区间内的某个值。 对于询问区间的排序,遵循l所在的分块相同,其次是r ......
题解 Favorite Number XOR and

Proj CDeepFuzz Paper Reading: Combinatorial Testing for Deep Learning Systems

## Abstract 本文:DeepCT Task: Testing DL Models with Combinatorial Testing Method: 1. 将输出值的空间离散化为区间,以便覆盖每个区间,对不同层内的神经元交互进⾏采样,并减少必须执⾏的测试输⼊的数量。 2. a set o ......

Load balancer does not have available server for client: tony-provider

一、概述 这个问题出现在我搭建SpringBoot+Nacos+OpenFeign。执行远程服务调用的时候发生的。 二、解决办法 我这个产生的原因是Nacos服务的分组名称不一致,如下图所示,改成一致的就可以进行服务的远程调用了 ......

Position-Enhanced and Time-aware Graph Convolutional Network for Sequential Recommendations

# Position-Enhanced and Time-aware Graph Convolutional Network for Sequential Recommendations [TOC] > [Huang L., Ma Y., Liu Y., Du B., Wang S. and Li ......

Scheduling and Resource Allocation

Module aims Real-life problems arising in computer science, computational management and economics often involve deciding the best way to use a given ......
Scheduling Allocation Resource and

[AIGC] a brief summary for this week, replica and localGPT

In this week, I experienced two main projects, replica and localGPT. ## replica demo: ![image](https://img2023.cnblogs.com/blog/3007012/202309/3007012 ......
localGPT summary replica brief AIGC

QQ for Linux 正式发布 3.2.0

QQ for Linux 正式发布 3.2.0 来源: OSCHINA 编辑: 局 2023-09-02 15:57:28 8 Linux 版 QQ 正式发布了 3.2.0。 QQ Linux 版 3.2.0 (2023.09.01) 1、新增夜间模式并支持跟随系统,享受更沉浸的聊天体验;2、新增 ......
Linux for QQ

k8s安装etcd出现Job for etcd.service failed......"journalctl -xe" for details.

### 错误如下 ![image](https://img2023.cnblogs.com/blog/2045410/202309/2045410-20230903205418854-1623317359.png) **先按照提示,输入 `journalctl -xe` 看一些详细信息** ![im ......
etcd quot journalctl for details

What's the best approach for generating a new API key?

https://stackoverflow.com/questions/14412132/whats-the-best-approach-for-generating-a-new-api-key Edit: I've spoke to a few friends (email/twitter) an ......
generating approach What best API

CF1848B Vika and the Bridge 题解

# CF1848B Vika and the Bridge 题解 ## 题目大意 ~~给个题目传送门吧,感觉题意已经很清楚了~~ [题目传送门](https://www.luogu.com.cn/problem/CF1848B) ## 分析 (~~我不会告诉你我第一眼看过去是二分~~) 因为我们只能 ......
题解 Bridge 1848B 1848 Vika