monocarp and set the
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: ......
SLAMesh论文及代码阅读与思考<四>Real-time LiDAR Simultaneous Localization and Meshing
# 前言 本节继续对update()函数进行理解。update是将当前点云对应的map_now对全局地图map_glb进行更新。 ## 获取重叠的区域 `OverlapCellsRelation overlap_ship = map_now.overlapCells(*this);` ```c++ ......
大模型时代的推荐系统Recommender Systems in the Era of Large Language Models (LLMs)
文章地址:https://arxiv.org/abs/2307.02046 笔记中的一些小实验中的模型都是基于GPT-3.5架构的ChatGPT模型。 本文主要讲述了比较具有代表性的方法利用LLM去学习user和item的表示,从预训练、微调和提示三个范式回顾了近期用于增强推荐系统的LLM先进技术, ......
error: The following untracked working tree files would be overwritten by merge
错误内容如下: error: The following untracked working tree files would be overwritten by merge: xxx/xxx/xxx/xxx/xxx/xxx/xxx.java Please move or remove them b ......
【题解】CF1852A Ntarsis' Set
考虑我们先手模一下样例: $$ \begin{cases} 1&3&5&6&7\\ 2&8&10&11&12\\ 4&13&15&16&17 \end{cases} $$ ???一脸疑惑,有什么规律吗?真有,但是很难看出来捏。 正难则反,我们考虑如果知道操作一次后一个数的位置,我们可以很容易推出,操 ......
B. Fedor and New Game
## B. Fedor and New Game https://codeforces.com/problemset/problem/467/B ```python """ 467B 思路: 1.暴力方法: 通过循环二进制之后的,逐个位与fedor进行判断,通过取余,如果最后不同的超过3个就计+1 ......
The 2nd Universal Cup. Stage 1: Qingdao
### G #### Description 给定一个数列,每次ban一个位置,在每次ban之前,求连续子序列逆序对数的最大值,强制在线。(6s)$n\leq10^5, \sum n \leq10^6$ #### Solution 先考虑用权值线段树来维护区间逆序对数,不难支持在原数列前后加或删除一 ......
The colossus
BY SYLVIA PLATH I shall never get you put together entirely, Pieced, glued, and properly jointed. Mule-bray, pig-grunt and bawdy cackles Protected fro ......
XOR and Favorite Number题解
## XOR and Favorite Number题解 ### 思路引导 这一道题主要是为了说明莫队算法和分块之间的联系。 先主要讲讲莫队的用处吧。 它是个离线算法,维护两个指针l,r。 移动l和r的时候顺便进行更改,维护好l-r区间内的某个值。 对于询问区间的排序,遵循l所在的分块相同,其次是r ......
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 ......
[AIGC] a brief summary for this week, replica and localGPT
In this week, I experienced two main projects, replica and localGPT. ## replica demo: 元素的个数。 返回值 返回 Set 对象中(唯一的)元素的个数。 const set1 = new Set<Any>( ......
The native HTML dialog tag All In One
The native HTML dialog tag All In One
......
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 ......
CF1848B Vika and the Bridge 题解
# CF1848B Vika and the Bridge 题解 ## 题目大意 ~~给个题目传送门吧,感觉题意已经很清楚了~~ [题目传送门](https://www.luogu.com.cn/problem/CF1848B) ## 分析 (~~我不会告诉你我第一眼看过去是二分~~) 因为我们只能 ......
Python教程(12)——Python数据结构集合set介绍
集合是一种无序、可变的数据结构,它也是一种变量类型,集合用于存储唯一的元素。集合中的元素不能重复,并且没有固定的顺序。在Python 提供了内置的 `set` 类型来表示集合,所以关键字`set`就是集合的意思。 你可以使用大括号 `{}` 或者 `set()` 函数来创建一个集合。 ```pyth ......
Photometry and Radiometry
Photometry(光度学):度量感知量 Radiometry(辐射度量学):度量物理量 Radiometric | Symbol | Unit | Photometric | Symbol | Unit : : | : : | : : | : : | : : | : : 辐射能量 Radiant ......
双指针(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 ......
1335B - Construct the String
## B. Construct the String https://codeforces.com/problemset/problem/1335/B #### 分析: 首先不要被他的示例迷惑掉,这个问题可以看作若干个小问题 Q: 1. 如何简单的构造a个长度里有b个不同的值 2. 如何是n里的所有 ......
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 ......
Implementing Domain Driven Design (A practical guide for implementing the Domain Driven Design with the ABP Framework)
##CONTENTS **Introduction**.................................................. * **Goal**...................................................... * **Sim ......
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 ......
266B - Queue at the School
## A. Team [https://codeforces.com/problemset/problem/266/B](https://codeforces.com/problemset/problem/266/B) ##### During the break the schoolchildre ......
C. The Football Season 数学exgcd
题意: 给你四个数,n,p,d,w。让你求出任意一组x,y,z,要满足下面的条件 做法: 对于第一个式子,我们可以先用exgcd求出合法的解,在他的整个解系中进行mod(k)+k再mod(k)的操作,判断x和y能否同时非负。 对于第二个式子,我们要让z非负,那么x+y要尽可能小。而还要满足第一个式子 ......
CF797F Mice and Holes 题解
## Description 有一天 Masha 回到家,发现有 $n$ 只老鼠在它公寓的走廊上,她大声呼叫,所以老鼠们都跑进了走廊的洞中。 这个走廊可以用一个数轴来表示,上面有 $n$ 只老鼠和 $m$ 个老鼠洞。第 $i$ 只老鼠有一个坐标 $x_i$ ,第 $j$ 个洞有一个坐标 $y_j$ ......
关于Azure-磁盘加密集-Disk Encryption Set-的创建与说明
在Azure中如果要使用自己的key加密磁盘,那么就得先创建一个密钥保管库,并生成密钥 但是创建磁盘时,还是无法直接使用密钥保管库中的Key,先得有一个中间的产品,叫磁盘加密集,一个磁盘加密集,只能指定一个密钥保管库中的一个key 于是整个过程为 ,1、先有密钥保管库及密钥 ,2,创建磁盘加密集,创 ......
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 ......
AtCoder Beginner Contest 317 C - Remembering the Days
# C - Remembering the Days [原题链接](https://atcoder.jp/contests/abc317/tasks/abc317_c) 题意:每个点最多经过一次,求最长路 思路:数据范围很小,深搜每个点能到其他点的所有路,取最大 ```c++ #include us ......