and

FIT5222 executing and pipelining processes

FIT5222 Assignment 2: executing and pipelining processes 1/4 Assignment 2: executing and pipelining processes Due 30 Apr by 23:59 Points 10 Available ......
pipelining executing processes 5222 FIT

【五期李伟平】CCF-B(PR'12)Feature evaluation and selection with cooperative game theory

Xin, S. , et al. "Feature evaluation and selection with cooperative game theory." Pattern Recognition 45.8(2012):2992-3002. 基于合作博弈寻找最优特征子集,重点解决传统基于信息论 ......

hdu3595 GG and MM Every SG博弈

这是一道很神奇的题,神奇的地方在于全网这个模型只有这题 什么是Every SG? 不同于普通的ICG,它由多个游戏同时进行,且必须同时进行 比如这道题,要求先手一次对所有石头堆都要操作 显然对于单独的每种情况,我们都可以求出这是必败态还是必胜态 现在摆在我们眼前的就有一堆游戏,对于每个游戏,你其实是 ......
Every 3595 hdu and GG

ENGG1310 P3.1 Electricity and Protections

这一章虽然比较硬核,但大部分都是高中物理学过的知识 并且对于高中熟知的一些公式 (电压/电流有效值) 之类的将会给出推导 (毕竟现在会积分了),所以还是很值得学习的一 part 原子 Atom All MATTERS are made of atoms. 电子 electron: negativel ......
Electricity Protections ENGG 1310 and

BinaryFormatter serialization and deserialization are disabled within this application.

当前微软已经不推荐BinaryFormatter serialization and deserialization,并且在以后的版本可能移除这个选项,所以使用时请谨慎。具体原因可参考官方文档 https://aka.ms/binaryformatter for more information。 ......

CF617E XOR and Favorite Number

简要题意 给出一个三个正整数 $n,m,k$ 和一个长度为 $n$ 的序列 $a$。 有 $m$ 个询问,每个询问给出一个区间 $[l,r]$。求这个区间内有多少个子区间异或和等于 $k$。 允许离线。$1 \leq n,m \leq 10^5,0 \leq a_i,k \leq 10^6$。时间限 ......
Favorite Number 617E 617 XOR

Sample-Based Learning and Search with Permanent and Transient Memories

**发表时间:**2008(ICML 2008) **文章要点:**这篇文章提出Dyna-2算法,把sample-based learning and sample-based search结合起来,并在Go上进行测试。作者认为,search算法是一种transient的算法,就是短期记忆用了就忘了 ......

CF1366E Chiori and Doll Picking

CF1366E Chiori and Doll Picking 位运算和 __builtin 函数记得开 long long!!!!! 这题很厉害。 记 $p(x) = \operatorname{popcount}(x)$,$\operatorname{span}(B)$ 表示 $B$ 张成的线性 ......
Picking Chiori 1366E 1366 Doll

Exclude/Include option in EXPDP and IMPDP Datapump

Exclude/Include option in EXPDP/IMPDP Datapump Oracle Exclude and include option used to limit the object type which can be exported and imported in D ......
Datapump Exclude Include option EXPDP

【题解】CF1626E Black and White Tree

题目分析: 因为要对每个点都进行求解,所以可以考虑换根 $dp$。 也就是我们先想想若给定根,怎么求解,我们发现点 $u$ 若可以走到某一个黑色点,当且仅当它的某一个儿子可以走到这个黑色点且它可以走到它的儿子,而他能走到它的某一个儿子节点并经过儿子节点继续走,当且仅当它这个儿子的子树内有大于等于 $ ......
题解 1626E Black White 1626

Producers and Consumers Model

生产者消费者模型要点 主要使用 JoinableQueue, Process 类 JoinableQueue([maxsize]):这就像是一个Queue对象,但队列允许项目的使用者通知生成者项目已经被成功处理。 通知进程是使用共享的信号和条件变量来实现的。 参数介绍: maxsize是队列中允许最 ......
Producers Consumers Model and

Approximation Theory and Method part 2

Approximation Theory and Method part 2 Approximation operators 在前面的讨论中,我们得到了 best approximation 的一些性质. 但是实际上我们并不总是能有 best approximation 这么好的结果。那么我们能不能 ......
Approximation Theory Method part and

CF1770F Koxia and Sequence

CF1770F Koxia and Sequence 题目链接。 $\text{difficulty}={\color{red}6},1$。 $\text{tags}=组合数学,子集反演,容斥原理,二进制$。 神仙题。 首先进行观察。由于计算式与每个数在那个位置无关,所以每个位置都是相同的。 可以将 ......
Sequence 1770F Koxia 1770 and

英语 reciting and small talk

Hello, everyone. My reciting passage is Did you deal with fortune fairly. Did You Deal With Fortune Fairly Most people complain of fortune, few of nat ......
reciting small talk and

Dijkstar-And-Astar算法

Dijkstra And A* 1.0 引出 $\quad$ 首先,在一个实际上的最短路问题中,从图中一个节点到达另外一个邻居节点是有 Cost 这一说的,这个 Cost 可以是我们平常所说的 Length、Time、Energy. etc. $\quad$ 当所有的权重(Cost)都为 $1$ 的 ......
Dijkstar-And-Astar 算法 Dijkstar Astar And

THFuse: An infrared and visible image fusion network using transformer and hybrid feature extractor 论文解读

###THFuse: An infrared and visible image fusion network using transformer and hybrid feature extractor 一种基于Transformer和混合特征提取器的红外与可见光图像融合网络 研究背景: 现有的图 ......
transformer and extractor infrared feature

PromptPerfect:prompt optimizer for LLMs LMs and LMOps

1. Introduce Welcome to PromptPerfect(完美提示), a cutting-edge prompt optimizer designed for large language models (LLMs), large models (LMs) and LMOps. ......
PromptPerfect optimizer prompt LMOps LLMs

Perceptron, Support Vector Machine and Dual Optimization Problem (1)

Linear Decision Boundary(线性决策边界) Example. (classification problem) 给定一个二元的特征空间 $\mathcal{X} = \left{ \text{weight} \times \text{height} \right}$,对标签 $ ......

CF1279F New Year and Handle Change 题解

来翻译一下 cf 评论区一老哥的证明。 首先问题可以转化为选出 $k$ 个长为 $l$ 的区间使得覆盖的 $1$ 个数最多。 不妨设 $kl\le n$,设选 $k$ 个区间最多能覆盖 $f_k$ 个 $1$,显然存在一种最优方案使得区间两两不交。 下面证明 $f_{k+1}\ge \frac{f_ ......
题解 Handle Change 1279F 1279

【读论文】LLaMA: Open and Efficient Foundation Language Models

论文:LLaMA: Open and Efficient Foundation Language Models 模型代码:https://github.com/facebookresearch/llama/blob/main/llama/model.py 你也可以打开之前的目录看完整代码。 摘要、介 ......
Foundation Efficient Language Models 论文

npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues

npm WARN deprecated core-js@2.6.12: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the ......

Divide and Conquer: Towards Better Embedding-based Retrieval for Recommender Systems From a Multi-task Perspective

Zhang Y., Dong X., Ding W., Li B., Jiang P. and Gai K. Divide and Conquer: Towards better embedding-based retrieval for recommender systems from a mul ......

Conda in Windows under MSYS2 and Zsh 的问题解决

Conda in Windows under MSYS2 and Zsh 的问题解决 在Window11上使用git bash 安装zsh,并配置p10k主题,主要问题就是prompt中无法显示conda env;conda activate/deactivate 命令不能正常使用; 总结其实就是一 ......
Windows 问题 Conda MSYS2 under

CF743B Chloe and the sequence 题解 分治

题目链接:http://codeforces.com/problemset/problem/743/B 题目大意: 对于一个 n-序列,如果 n==0 ,那么它是一个空的序列(也就是说空序列中没有元素)。 然后会进行 i 次操作,每次操作,会在原序列末尾添加一次原序列,并且在两个原序列之间插入一个值 ......
题解 sequence Chloe 743B 743

Mahmoud and a Dictionary CF766D

给一些单词,它们可能是同义或者反义,给出一些关系定义,从前面的定义开始建立关系,如果有的关系定义和之前的冲突输出NO,否则输出YES。 然后查询q次单词x和单词y的关系。 扩展域并查集 1~n 存朋友,n+1~2n 存敌人 #include <iostream> #include <map> usi ......
Dictionary Mahmoud 766D 766 and

What's the difference between {% tag variable%} and {{variable}}

What's the difference between {% tag variable%} and {{variable}} In Django templates, {% tag variable %} and {{ variable }} are two different types of ......
variable difference between What the

CF1172E Nauuo and ODT

题面传送门 还是见识太少了。 直接算颜色个数不好算,因为是和式,所以考虑计算某个颜色的贡献。 对于某个时刻,有一些位置是当前时刻,那么设所有没有这些位置的联通块平方和为 $S$ ,则贡献为 $n^2-S$。 因为总共有效的修改只有 $O(m)$ 个,因此我们需要支持:改变一个点的状态,查询为 $1$ ......
1172E Nauuo 1172 and ODT

pytest踩坑--运行报错DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated since Python 3.3 ,and in 3.9 it will stop working

问题现象: 使用pytest运行用例时,用例执行完毕总会提示以下警告 警告意思:弃用警告:从collections中导入ABCs已被弃用,并在python3.9中将停止工作,可使用collections.abc代替它进行使用 但我代码中并未使用这个库,也没有导入这个库。就很纳闷 解决: 百度了一下解 ......

WABCO DIAGNOSTIC KIT (WDI) WABCO Trailer and Truck Diagnostic Interface

Wabco Diagnostic Kit is a universal diagnostic tool designed for maintenance of trailers, trucks and buses. Wabco Diagnostic tool supports most popula ......

Pencils and Boxes CF985E

给出nn个整数a1,a2,...,an,现在需要对其进行分组,使其满足以下条件: 每个数都必须恰好分入一组中 每一组中必须至少包含K个数 在每一组中,整数的权值之差的绝对值<=D。 请判断是否存在满足条件的分组方案,若有请输出"YES",否则输出"NO"。 直接的贪心是错误的,但要魔改一下,双指针+ ......
Pencils Boxes 985E 985 and