oF

CF1857E Power of Points

`2023-08-08 22:59:22 CF1857E solution` ## 思路 我们发现每个点的答案其实是它与之前的点的答案加上与后面的点的答案加上与自己的答案。而与前面和与后面的前后缀答案都是可以通过递推的方式得到的,我们令 $pre_i$ 表示 $i$ 点的前缀答案,$sub_i$ 表 ......
Points 1857E Power 1857 CF

Why Kiki's Delivery Service Is The Perfect Coming of Age Story

# Why Kiki's Delivery Service Is The Perfect Coming of Age Story Studio Ghibli is well known for producing timeless classics that have engaging protag ......
Delivery Service Perfect Coming Story

[LeetCode] 1383. Maximum Performance of a Team

You are given two integers n and k and two integer arrays speed and efficiency both of length n. There are n engineers numbered from 1 to n. speed[i]  ......
Performance LeetCode Maximum 1383 Team

Proj CDeepFuzz Paper Reading: A Comprehensive Study of Deep Learning Compiler Bugs

## Abstract 背景:深度学习编译器处理的深度学习模型与命令式程序有根本的不同,因为深度学习模型中的程序逻辑是隐式的。(the DL models processed by DL compilers differ fundamentally from imperative programs ......

Proj CDeepFuzz Paper Reading: DeepMutation: Mutation Testing of Deep Learning Systems

## Abstract 本文:DeepMutation Github: https://github.com/berkuva/mutation-testing-for-DNNs Task: mutation testing framework specialized for DL systems t ......

Proj CDeepFuzz Paper Reading: SparseProp: Efficient Sparse Backpropagation for Faster Training of Neural Networks

## Abstract 本文:SparseProp Github: https://github.com/IST-DASLab/sparseprop Task: a back-propagation algo for sparse training data, a fast vectorized i ......

go101自定义泛型翻译——First Look of Custom Generics(上)

## 初识自定义泛型 1. 在自定义泛型的世界中。可能会与被定义成泛型类型的类型,泛型函数的函数。此外泛型类型也是会被定义成类型的,所有它们也可能会有相应的方法。 2. 关于泛型类型,泛型函数以及相应的方法的定义都会包含一种称为类型参数列表的部分,这是与普通方法函数以及方法最大的不同之处。 ### ......
Generics Custom First Look 101

The Power of Diagnostic Kits: Unleashing the Potential of John Deere Service Advisor EDL v2,Interface

In the rapidly evolving world of automotive diagnostics, the importance of reliable and efficient diagnostic tools cannot be overstated. These tools s ......

docker启动mysql报错Can't read dir of '/etc/mysql/conf.d/'

执行命令: docker run -p 3306:3306 --privileged=true -v /mysql/data:/var/lib/mysql -v /mysql/log:/var/log/mysql -v /mysql/conf:/etc/mysql-e MYSQL_ROOT_PASS ......
mysql 39 docker conf read

Proj CDeepFuzz Paper Reading: PELICAN: Exploiting Backdoors of Naturally Trained Deep Learning Models In Binary Code Analysis

## Abstract 背景: 1. 本文研究的不是被恶意植入的后门,而是products of defects in training 2. 攻击模式: injecting some small fixed input pattern(backdoor) to induce misclassifi ......

Induction of Design Pattern

网上查到的设计模式有23种,通过归纳去认识他们也是一种不错的视角。 我这边不按照主流的观点去划分为创建型、结构型、行为型三大类,我只归纳为创建型(Creational Class)、简单功能场景(Simple Method Class)、复杂功能场景(Complex Method Class)三大类 ......
Induction Pattern Design of

# Codeforces Round 887 E Ina of the Mountain(反悔贪心)

~~被这个题折磨了好久,决定写一篇题解~~ 先考虑没有这个$k$的限制的情况,等价于对原来的$a_i$序列的差分数组$b_i$,每次找到两个位置$1\le x 0$的位置进行$-1$的操作,后面对应的$+1$可以放在$b_ic[i]$,那么$c[i]$减去$k$对答案的贡献就是$0$,因为$d[i] ......
Codeforces Mountain Round 887 Ina

Proj CDeepFuzz Paper Reading: Balancing Effectiveness and Flakiness of Non-Deterministic Machine Learning Tests

## Abstract 背景:In fact, some of the latest findings suggest that the existence of adversarial attacks may be an inherent weakness of deep learning mod ......

Proj CDeepFuzz Paper Reading: Natural attack for pre-trained models of code

## Abstract 背景:目前大多数的adversarial attack method on pre-trained models of code忽略了perturbations should be natural to human judges(naturalness requirement ......

How to tell which version of HW your Tesla Model 3 is using All In One

How to tell which version of HW your Tesla Model 3 is using All In One 如何判断你的 Tesla Model 3 使用的是那个版本的 HW ......
version Tesla Model which using

CF1852C Ina of the Mountain

*2400 https://codeforces.com/problemset/problem/1852/C 如果没有 $\mod k$ 的限制的话,我们都会做,因为都是正数,那么 $\sum_i^n d_i>0$,因此,答案即为 $\sum[d_i>0]d_i$。 但是现在多了一个操作,即为区间加 ......
Mountain 1852C 1852 Ina the

行为型设计模式-责任链 Chain Of Responsibility

### 简介 使多个对象都有机会处理请求,从而避免请求的发送者和接收者之间的耦合关系。将这些对象连成一条链,并沿着这条链传递该请求,直到有一个对象处理它为止。 ### 角色 - Handler 接口 定义处理方法签名,设置nextHandler方法 - Concrete Handler 具体类 实现 ......

解决vue项目build的时候报错Warning: Accessing non-existent property ‘cat‘ of module exports inside circular

* 正在执行任务: npm run build > selection-tool@1.0.0 build> node build/build.js - building for production...(node:8992) Warning: Accessing non-existent prop ......

MySQL的Equality Range Optimization of Many-Valued Comparisons

最近新上线的系统中遇到一个SQL,明明可以使用索引,但是发现实际执行并没有使用到索引。SQL的主要特点是where子句中,in判断中有大量的条件。类似如下: select * FROM a WHERE td in ('2023-08-01') and fuid in ('2','3','41','4 ......

Act of Birth

Ryszard Krynicki born in transit I came upon on the place of death the cult of the individual unit of measures and weights the military unit progressi ......
Birth Act of

CF724G Xor-matic Number of the Graph

[题目链接](https://codeforces.com/problemset/problem/724/G) 不妨先看一道更为基础的题:[CF845G](https://codeforces.com/problemset/problem/845/G)以及[它的题解](https://www.cnb ......
Xor-matic Number Graph matic 724G

Proj CDeepFuzz Paper Reading: Framework for Evaluating Faithfulness of Local Explanations

## Abstract 本文: Task: 1. study the faithfulness of an explanation system to the underlying prediction model on consistency and sufficiency 2. introduc ......

Cannot deserialize value of type `com.xx.xxxx` from Array value (token `JsonToken.START_ARRAY`)<LF> at [Source: (PushbackInputStream); line: 1, column: 1177] (through reference chain

点击提交按钮的时候,直接服务器端报上面的错,意思是json不能解析。 因为程序中用到了递归,就是自己引用了自己(实体类)。 原因: 实体类中children定义的是对象的形式,但是前端定义的是数组[]的形式。 解决: 前端改成对象形式,{},这样前后端一致就可以正常传值了。 上面children赋值 ......

【题解】CF1852C Ina of the Mountain

我们先从题目的一部分入手。 如果说,我们没有当一个数为 $0$ 时,让这个数变成 $k$ 的性质,我们如何求答案呢? 很简单,在图上就是: 绿色线段的长度加起来即为答案(本图中是 $6$) 我们考虑很显然地,将一个数从 $0$ 变为 $k$ 即为将一个数一开始加上 $k$ 我们如果要让第 $i$ 列 ......
题解 Mountain 1852C 1852 Ina

安装cocoapods: Error installing cocoapods: The last version of activesupport (>= 5.0, < 8) to support your Ruby & RubyGems was 6.1.7.6. Try installing it with `gem install activesupport -v 6.1.7.6`问题解决

问题描述: 在终端命令行安装cocoapods时,可能出现如下问题: Error installing cocoapods: The last version of activesupport (>= 5.0, < 8) to support your Ruby & RubyGems was 6.1 ......

How to fix waitForFunction TimeoutError of puppeteer All In One

How to fix waitForFunction TimeoutError of puppeteer All In One page.waitForFunction 超时错误 TimeoutError: Waiting failed: 30000ms exceeded ......

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

[LeetCode] 2433. Find The Original Array of Prefix Xor

You are given an integer array pref of size n. Find and return the array arr of size n that satisfies: pref[i] = arr[0] ^ arr[1] ^ ... ^ arr[i]. Note ......
LeetCode Original Prefix Array 2433

大模型时代的推荐系统Recommender Systems in the Era of Large Language Models (LLMs)

文章地址:https://arxiv.org/abs/2307.02046 笔记中的一些小实验中的模型都是基于GPT-3.5架构的ChatGPT模型。 本文主要讲述了比较具有代表性的方法利用LLM去学习user和item的表示,从预训练、微调和提示三个范式回顾了近期用于增强推荐系统的LLM先进技术, ......
Recommender Language 模型 Systems 时代

Proj CDeepFuzz Paper Reading: DeepTest: automated testing of deep-neural-network-driven autonomous cars

## Abstract 本文: DeepTest Task: a systematic testing tool for DNN-driven vehicles Method: 1. generated test cases with real-world changes like rain, fo ......