问题描述
给定不等式组 $\{x_{u_i}-x_{v_i}\le a_i\}_{i=1}^m$,求一组解或给定 $u, v$ 求有解的情况下 $\max\{x_u-x_v\}$ 。
如果您看到这篇文章,表示您的 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.