ergodicity liouville theorem and

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

CF1848B Vika and the Bridge 题解

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

Photometry and Radiometry

Photometry(光度学):度量感知量 Radiometry(辐射度量学):度量物理量 Radiometric | Symbol | Unit | Photometric | Symbol | Unit : : | : : | : : | : : | : : | : : 辐射能量 Radiant ......
Photometry Radiometry and

双指针(9/1 and9/2 )

1、复习了前缀和,差分(一维和二维) 2、双指针 //双指针核心思想就是优化时间 for() for()->O(n^2) >优化成O(n) /*for(i=0,j=0;i<n;i++) { while(j<i&&check(i,j)) j++; //每道题的逻辑 }*/ #include <iost ......
指针 and9 and

443A - Anton and Letters

## A. Anton and Letters https://codeforces.com/problemset/problem/443/A ##### Recently, Anton has found a set. The set consists of small English lette ......
Letters Anton 443A 443 and

C. Vika and Price Tags

C. Vika and Price Tags Vika came to her favorite cosmetics store "Golden Pear". She noticed that the prices of $n$ items have changed since her last v ......
Price Vika Tags and

CF797F Mice and Holes 题解

## Description 有一天 Masha 回到家,发现有 $n$ 只老鼠在它公寓的走廊上,她大声呼叫,所以老鼠们都跑进了走廊的洞中。 这个走廊可以用一个数轴来表示,上面有 $n$ 只老鼠和 $m$ 个老鼠洞。第 $i$ 只老鼠有一个坐标 $x_i$ ,第 $j$ 个洞有一个坐标 $y_j$ ......
题解 Holes 797F Mice 797

Q-learning and RL implementation

Aim: Train a model to properly play vintage video games... Deep Q-learning Algo~ Very short Brief of Notations: {A,pi(Policy),Q(quality of action-at a ......
implementation Q-learning learning and RL

go: json marshal and unmarshal

引用: https://bluehive.medium.com/golang-json-marshal-a-struct-with-pointers-2a362d0543f5 1. Golang JSON Marshal a Struct With Pointers: a. Always name ......
unmarshal marshal json and go

Python中while的and和or

while A and B: 同时满足A和B条件while A or B:满足A或B任意一条 以1768. 交替合并字符串官方答案为启发,以前没意识到while还可以用and和or。 其实无论用什么,只要看最后的结果是True或False class Solution: def mergeAlter ......
Python while and

[LeetCode] 2240. Number of Ways to Buy Pens and Pencils

You are given an integer total indicating the amount of money you have. You are also given two integers cost1 and cost2 indicating the price of a pen ......
LeetCode Pencils Number 2240 Ways

E. Josuke and Complete Graph 数论分块

题意:很简单,给你l,r,让你输出对于这个区间中任意两个不同的数字的gcd组成的set的大小是多大。至于题面,我只能说,聪明人早就看出来那些图啊边啊啥的都是唬人的。 做法:显然我们是要去枚举的,但是我们不能去枚举选的那两个数字。所以我们选择枚举gcd有哪些。这些gcd又分两种: 第一种,假如一个数字 ......
数论 Complete Josuke Graph and

CF477E Dreamoon and Notepad

# CF477E Dreamoon and Notepad key:分类讨论;贪心;拆贡献、放缩等思想。 ## Solution ~~简要~~ 写一下分类讨论,防止写代码的时候脑子不清晰。参考了 [这篇](https://www.luogu.com.cn/blog/_post/567771) 题解。 ......
Dreamoon Notepad 477E 477 and

What's the difference between Async Await and Promise in JavaScript All In One

# What's the difference between Async Await and Promise in JavaScript All In One > `Async` vs `Promise` ## demos --> ## (🐞 反爬虫测试!打击盗版⚠️)如果你看到这个信息, 说明 ......
JavaScript difference Promise between Async

CF1174E Ehab and the Expected GCD Problem 题解

## 题意 对于一个排列 $p$,定义 $g$ 为 $p$ 的前缀最大公约数序列,即 $g_i = \gcd\limits_{j = 1}^{i} p_j$。定义 $f(p)$ 为 $g$ 的元素种类数。 给定 $n$,求长度为 $n$ 的且使得 $f(p)$ 取最大值的排列个数,对 $10^9 + ......
题解 Expected Problem 1174E 1174

【1305C】Kuroni and Impossible Calculation(数学)

**题目大意** *** ```cpp #include using namespace std; typedef long long ll; ll n,m,a[200000+10]; int main(){ cin >> n >> m; for(ll i=1;i> a[i]; if(n<=m){ ......
Calculation Impossible 数学 Kuroni 1305C

CF449D Jzzhu and Numbers

[原题链接](https://codeforces.com/problemset/problem/449/D "原题链接") 首先我们让 $c_s$ 表示有多少 $a_i$ 是 $s$ 的超集,那么有:取与后是 $s$ 的超集的集合个数 $f_s=2^{c_i}$。 再让 $g_s$ 表示有多少集合 ......
Numbers Jzzhu 449D 449 and

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

# 前言 由于之前安装cuda、ros、boost版本等一些问题,环境配置竟然花了两天时间,期间遇到各种版本冲突,最后把环境重新配置到最直接的版本即可,cuda暂时就先卸载了。 在整个代码中,一个鲜明的特色是作者使用一个Log类来做整个pipeline的信息管理,之前用的比较少,看代码才发现通过日志 ......

CF1864B Swap and Reverse

### 题目大意 给定一个长度为 $n$ 的字符串 $s$ 和一个整数 $k$。 你可以进行若干次操作: - 选取一个 $i$($1\le i\le n-2$),交换 $a_i$ 和 $a_{i+2}$ - 选取一个 $i$($1\le i\le n-k+1$),翻转区间 $s_{[i,i+k-1] ......
Reverse 1864B 1864 Swap and

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

# 前言 从SLAM建图到SLAM建模,是近年来这一领域发展的重要趋势之一。在此之前,环境三维模型的构建的一个重要标签就是实时性不足的问题,SLAMesh的提出,在这一问题上迈出了重要的一步,创新性地将高斯过程引入到环境信息的建模与预测任务之中,使得建模过程避免了对mesh顶点的搜索与优化,通过有序 ......

How to Disable Suspend and Hibernation Modes In Linux

参考:https://www.tecmint.com/disable-suspend-and-hibernation-in-linux/sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.targ ......
Hibernation Disable Suspend Modes Linux

【MT&PT】Central limit theorem, Law of large numbers

I Chebyshev inquation $E(X)=\mu,D(X)=\sigma^{2}$ $P\{|X-\mu|>=\varepsilon\}<=\frac{\sigma^{2}}{\varepsilon^{2}}\\ it's\ equation:\\ P\{|X-\mu|<\vareps ......
Central theorem numbers limit large

【CF1395C】Boboniu and Bit Operations(贪心、位运算)

**题目大意:** 数组$a$长度为$n$,数组$b$长度为$m$,构造数组$c$满足$c[i]=a[i]\&b[j]$,求数组$c$按位或的和的最小值。 *** 设题目的答案为$ans$。 由于数组$a$和$b$的元素值小于$2^{9}$,所以数组$c$元素和$ans$在二进制表示下最多为$9$位 ......
Operations Boboniu 1395C 1395 Bit

hdu: Girls and Boyst

Problem Description the second year of the university somebody started a study on the romantic relations between the students. The relation “romantica ......
Girls Boyst hdu and

CFG file is missing and source table is found to have row versions报错原因分析

参考: https://docs.percona.com/percona-xtrabackup/8.0/error-message-instant.html https://dev.mysql.com/doc/refman/8.0/en/innodb-table-import.html https: ......
原因分析 versions 原因 missing source

软件测试|SQL AND和OR运算符解析

![在这里插入图片描述](https://img-blog.csdnimg.cn/ab23313af47443ef9013b89134fac33f.png) ### [获取更多技术资料,请点击!](https://ceshiren.com/t/topic/26026) ## 简介 在SQL(Stru ......
运算符 软件测试 软件 SQL AND

CF1864B Swap and Reverse 题解

## 题意 给定一个长度为 $n$ 的字符串 $s$ 和一个正整数 $k$,每次可以进行如下两种操作当中的一种(字符串下标从 $1$ 开始标号): - 选择 $i \in \left[1, n - 2\right]$ 并交换 $s_i$ 和 $s_{i + 2}$; - 选择 $i \in \lef ......
题解 Reverse 1864B 1864 Swap

A pure js Array reactive solution with Proxy and Reflect All In One

A pure js Array reactive solution with Proxy and Reflect All In One 纯 js 实现数组响应式 ......
reactive solution Reflect Array Proxy