Khoray Blog


  • 首页

  • 归档

  • 分类

  • 标签

  • 搜索

  • 登录/后台

差分约束

发表于 2024-10-18   |   分类于 算法   |   暂无评论

问题描述

给定不等式组 $\{x_{u_i}-x_{v_i}\le a_i\}_{i=1}^m$,求一组解或给定 $u, v$ 求有解的情况下 $\max\{x_u-x_v\}$ 。

阅读全文 »

欢迎使用 Typecho

发表于 2024-10-17   |   分类于 笔记   |   暂无评论

如果您看到这篇文章,表示您的 blog 已经安装成功.

blog 行内 latex 测试:$\mathbf{A}=\mathrm{softmax}\left(\frac{\mathbf{QK}^\top}{\sqrt{\mathbf{d}}}+\log\mathbf{s}\right)$

行外测试:

$$ \mathbf{A}=\mathrm{softmax}\left(\frac{\mathbf{QK}^\top}{\sqrt{\mathbf{d}}}+\log\mathbf{s}\right) $$

$$ \begin{pmatrix} a_{1} & b_{1}\\ c_{1} & d_{1} \end{pmatrix} \ \ \ \begin{bmatrix} 1 & \cdots & 1\\ \vdots & \iddots & \vdots \\ 1 & \cdots & 1 \end{bmatrix} \ \ \ \ \begin{array}{ c|c|c|c } fx & a_{1} & \nearrow & a_{2}\\ \hline & b_{1} & \swarrow & b_{2} \end{array} \ \ \ fx=\begin{cases} \alpha & \mathrm{if,} \ a=b\\ \beta & \mathrm{if,} \ a\neq b \end{cases} $$

color test: $\displaystyle y=\frac{\textcolor[rgb]{1,0,0}{\sum\limits _{i} w_{i} y_{i}}}{\sum\limits _{i} w_{i}} \ \ ,i=1,2...k$

This is red

<summary>I have keys but no locks. I have space but no room. You can enter but can't leave. What am I?</summary>
A keyboard.


12
Khoray

Khoray

学生

7 文章
6 分类
0 标签
RSS
GitHub 知乎 V2EX SF
© 2025 Khoray
Typecho
主题 - NexT.Pisces