segments 1858d trees and

[论文速览] RectifiedFlow@Flow Straight and Fast{colon}Learning to Generate and Transfer Data with Rectified Flow

## Pre title: Flow Straight and Fast: Learning to Generate and Transfer Data with Rectified Flow accepted: ICLR 2023 paper: https://arxiv.org/abs/2209 ......
Flow RectifiedFlow Rectified and Learning

[论文阅读] Few-shot Font Generation by Learning Style Difference and Similarity

## Pre title: Few-shot Font Generation by Learning Style Difference and Similarity accepted: Arxiv 2023 paper: https://arxiv.org/abs/2301.10008 code: ......

NIST SP 800-37 Risk Management Framework for Information Systems and Organizations A System Life Cycle Approach for Security and Privacy

NIST SP 800-37 Risk Management Framework for Information Systems and Organizations A System Life Cycle Approach for Security and Privacy It structured ......

【cpluplus教程翻译】重载和模板(Overloads and templates)

# 重载函数 C++允许两个函数同名,只要参数不同,数目或类型不同都行,就不会编译报重定义的错误 ```c++ // overloading functions #include using namespace std; int operate (int a, int b) { return (a* ......
Overloads templates cpluplus 模板 教程

Codeforces 1439E - Cheat and Win

模拟赛放了道 *3500,结果全场都切了,非常恐怖。 首先考虑怎么样的树是合法的,打个表发现 SG 函数值为 $\sum_{d}2^d·(\text{深度为 d 的点个数}\bmod 2)$,换句话说后手必胜当且仅当每种深度的点数都是偶数。 于是实际上我们只用建出虚树之后树上差分一下求出每个点被覆盖 ......
Codeforces 1439E Cheat 1439 and

[ABC294G] Distance Queries on a Tree 题解

## Description 有一个节点数为 $N$ 的树。边 $i$ 连接 $u_i$ 和 $v_i$,边的权值为 $w_i$。 $Q$ 次询问,询问一共有两种。 ```1 i w``` :改变第 $i$ 条边的权值为 $w$。 ```2 u v``` :输出 $u$ 到 $v$ 的路径距离。 数 ......
题解 Distance Queries 294G Tree

CF659C Tanya and Toys题解

## 题目大意 你有 $n$ 个已经买了的玩具,还有 $m$ 元,求最多还可以买多少个不重复的玩具(玩具的编号等于花费)。 ## 思路 ### 贪心 要买最多个,就要使得玩具的价值最小。于是我们就从最小的 $1$ 开始枚举,找到没买的就加上,一直加到总价值大于 $m$ 为止。 考虑数据范围, $m ......
题解 Tanya 659C Toys 659

CF714B Filya and Homework 题解

## 题意 给定一个长度为 $n$ 的数组。 我们可以给一些数加上一个 $x$ ,也可以减去一个 $x$ ,也可以不加也不减。 问:是否存在一个数 $x$ ,使得这个数组里各个数都相等。 ## 思路 ### 一道思维题 - 首先考虑,在这个数组中,相同的元素,我们一定是给它做相同的操作,否则一定不相 ......
题解 Homework Filya 714B 714

[学习笔记] dsu on tree

- 适用于动态维护子树信息 - 流程 类似树链剖分定义重儿子,轻重链。 先便历轻边子树,不保存信息(删)。 最后便历重儿子子树,保存重儿子信息。 再加入轻儿子子树即可得到子树信息了。 复杂度:一个点被加/删的次数为轻边数( $logn$ )。 - code 点击查看代码 ``` void solve ......
笔记 tree dsu on

Codeforces Round 837 (Div. 2) F. Hossam and Range Minimum Query

[传送门](https://codeforces.com/contest/1771/problem/F) 大致题意: ** 给一个n,然后给一个数组a, 有m个询问,询问区间[l, r]出现次数为奇数的最小值,若没有输出0, 每次输入的l,r需要异或上上一个答案,在第一个询问的时候认为上一个答案为0 ......
Codeforces Minimum Hossam Round Range

Distributed System and Application

Assignment 2:Distributed System and ApplicationCloud Computing and Distributed Systems (CLOUDS) LaboratorySchool of Computing and Information SystemsT ......
Distributed Application System and

在本地运行spark程序,出现Scala module 2.13.4 requires Jackson Databind version >= 2.13.0 and < 2.14.0 - Found jackson-databind version 2.12.7

这是jackson多版本题 , 我们需要屏蔽所有hadoop 组件中的Jackson,在pom.xml文件里修改: 添加 <exclusions> <exclusion> <groupId>com.fasterxml.jackson.module</groupId> <artifactId>*</a ......

javascript prototype and class

js中的prototype绝对是js的一个重要知识点,有点像delegate的模式,和oop对象形式还是有些差别的,尽管可以做同样的事情。 简要学习可以参见:https://developer.mozilla.org/en-US/docs/Learn/JavaScript/Objects/Objec ......
javascript prototype class and

Pycharm中配置Pyinstaller工具 and 多文件打包

## 一、Pycharm中配置Pyinstaller 首先,要下载个pyinstaller库,用pip install installer等待完成即可 (顺带记录下pip 配置国内镜像的方法: 国内源: - 阿里云 http://mirrors.aliyun.com/pypi/simple/ - 中 ......
Pyinstaller Pycharm 文件 工具 and

JS 树形数据 Tree的通用方法

点击查看代码 ``` /** * @description 查找包含自身节点的父代节点 * @param list 列表数据 * @param id 节点 id * @param pid 节点的父id */ export function listToTree(list, id, pid) { li ......
树形 方法 数据 Tree JS

「解题报告」CF1179E Alesya and Discrete Math

又到了我最爱的一步都想不出来的环节了! 首先我们有一个分治做法:每次找出所有函数中 $f_k(x_k) = \frac{L}{2}$ 的序列 $\{x_k\}$。我们按照这个进行排序,将函数分为两部分,这样我们就能把问题分为两个子问题: - 定义域为 $[1, x_{\frac{n}{2}}]$,值 ......
Discrete 报告 Alesya 1179E 1179

Oceans on a Shoestring: Shape Representation, Meshing and Shading(低成本的海洋:形状表示、网格划分和着色)-2013年

作者:Huw Bowles 单位:Studio Gobo Introduction(简介):Studio Gobo is a small team of talented developers based in Brighton / UK The Crew(成员):Ben Andrews, Paul ......

1066 Root of AVL Tree

题目: An AVL tree is a self-balancing binary search tree. In an AVL tree, the heights of the two child subtrees of any node differ by at most one; if at ......
1066 Root Tree AVL of

CF1819C The Fox and the Complete Tree Traversal

# [$\color{purple}\text{The Fox and the Complete Tree Traversal}$](https://www.luogu.com.cn/problem/CF1819C) 比较有意思的一题。先考虑一个序列的权值。对长度为 $len$ 的序列排序,价值为 ......
Traversal Complete 1819C 1819 Tree

关于msyql between and 的边界问题

between 的范围是包含两边的边界值 eg: id between 3 and 7 等价与 id >=3 and id<=7 not between 的范围是不包含边界值 eg:id not between 3 and 7 等价与 id < 3 or id>7 mysql between日期边界 ......
边界 between 问题 msyql and

【cpluscplus教程翻译】友元和继承(Friendship and inheritance)

# 友元函数(Friend functions) 原则上,private和protected成员不能在声明的类外被使用,然而这条规则不适用于友元 友元是用friend关键字声明的函数或者说类 如果一个非成员函数声明成一个类的友元,那么它可以访问private和protected。这可以通过在类里添加 ......

1110 Complete Binary Tree(附测试点2,3,4,6分析)

题目: Given a tree, you are supposed to tell if it is a complete binary tree. Input Specification: Each input file contains one test case. For each case ......
Complete Binary 1110 Tree

Tree-of-Thought

引言 人工智能的发展一直以来都是实现智能系统推理能力的主要目标之一。近年来,大型语言模型的发展取得了重大进展,特别是它们在上下文学习方面的应用,为机器推理开辟了新的途径,但其在复杂推理方面仍面临挑战。为此今天分享的这篇文章,介绍了一种名为“Tree-of-Thought(ToT)”的框架,旨在提高自 ......
Tree-of-Thought Thought Tree of

Paper Reading: forgeNet a graph deep neural network model using tree-based ensemble classifiers for feature graph construction

[toc] Paper Reading 是从个人角度进行的一些总结分享,受到个人关注点的侧重和实力所限,可能有理解不到位的地方。具体的细节还需要以原文的内容为准,博客中的图表若未另外说明则均来自原文。 | 论文概况 | 详细 | | | | | 标题 | 《forgeNet: a graph dee ......

UE Build System:Target and Module

Module 是构成 Unreal 的基本元素,每一个 Module 封装和实现了一组功能,并且可以供其他的 Module 使用,整个 Unreal Engine 就是靠各个 Module 组合驱动的,连我们创建的游戏项目本身,都是一个单独的 Module。 那么 UE 又是怎么创建和构建这这些 M ......
System Module Target Build and

Open-Vocabulary Panoptic Segmentation with MaskCLIP论文阅读笔记

这篇文章的arxiv版看着太折磨了,可以直接看openreview上作者修改后的版本https://openreview.net/forum?id=zWudXc9343以及rebuttal帮助理解。 ## 摘要 本文提出了一个新任务:开放词汇全景分割,同时作者给出了基于ViT CLIP骨干的base ......

How to Delete a Git Branch Both Locally and Remotely

# TL;DR version ``` https://www.freecodecamp.org/news/how-to-delete-a-git-branch-both-locally-and-remotely/ // delete branch locally git branch -d loc ......
Remotely Locally Delete Branch Both

Myarray and Mystring

### Mystring.cpp ``` #include using namespace std; class Mystring { public: Mystring() : s_(NULL), len_(0), siz_(0) {} //无参构造 Mystring(const char* s); ......
Mystring Myarray and

1127 ZigZagging on a Tree

题目: Suppose that all the keys in a binary tree are distinct positive integers. A unique binary tree can be determined by a given pair of postorder and ......
ZigZagging 1127 Tree on

CLIP-S^4:Language-Guided Self-Supervised Semantic Segmentation论文阅读笔记

## 摘要 作者提出了CLIP-S4,借助自监督像素表示学习和V-L模型实现各种语义分割任务,不需要使用任何像素级别标注以及未知类的信息。作者首先通过对图像的不同增强视角进行像素-分割对比学习来学习像素嵌入。之后,为进一步改善像素嵌入并实现基于自然语言的语义分割,作者设计了由V-L模型指导的嵌入一致 ......