码迷,mamicode.com
首页 >  
搜索关键字:aligned    ( 201个结果
LeetCode 883 Projection Area of 3D Shapes 解题报告
题目要求 On a N * N grid, we place some 1 * 1 * 1 cubes that are axis-aligned with the x, y, and z axes. Each value v = grid[i][j] represents a tower of v ...
分类:其他好文   时间:2019-02-02 10:33:48    阅读次数:205
Largest Rectangle in a Histogram HDU - 1506 (单调栈)
A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. The rectangles have equal widths but may have different h ...
分类:其他好文   时间:2019-01-28 13:55:51    阅读次数:166
Bzoj2510 弱题(矩阵快速幂)
题面(权限题) 题解 一道概率$dp$,可以设$f[i][j]$表示第$i$次操作后,标号为$j$的小球的期望个数,那么有: $$ \begin{aligned} &f "i][j]=(1 \frac 1m)f[i 1][j]+\frac1mf[i 1][j 1" \\ &f[i][0]=(1 \f ...
分类:其他好文   时间:2019-01-26 17:11:10    阅读次数:178
CF 1103B Game with modulo
"题目" $a, x$ 是正整数。显然有 \begin{aligned} x \ge 2x \pmod{a} \implies a \le 2x \end{aligned} 若 $x \le a$ 则 \begin{aligned} x 2x \end{aligned} 证明 首先,$x x$,当 ...
分类:其他好文   时间:2019-01-23 11:40:01    阅读次数:124
[P5170] 类欧几里得算法
のすたの“类欧几里得算法”第二题 P5170 【题意】已知$n,a,b,c$,求 $$ \begin{aligned} f_{1}(a,b,c,n)&=\sum_{i=0}^n\lfloor\dfrac{ai+b}{c}\rfloor\\ f_{2}(a,b,c,n)&=\sum_{i=0}^n\l ...
分类:编程语言   时间:2019-01-21 22:11:47    阅读次数:360
luoguP4705 玩游戏 分治FFT
$$ \begin{aligned} Ans(k) &= \sum \limits_{i = 1}^n \sum \limits_{j = 1}^m \sum \limits_{t = 0}^k \binom{k}{t} a_i^t b_j^{k t} \\ &= \sum \limits_{t = ...
分类:其他好文   时间:2018-12-27 22:58:13    阅读次数:191
P4213 【模板】杜教筛(Sum)
$\color{ 0066ff}{题 目 描 述}$ 给定一个正整数$N(N\le2^{31} 1)$ 求 $\begin{aligned} ans_1=\sum_{i=1}^n\varphi(i) \end{aligned}$ $\begin{aligned} ans_2=\sum_{i=1}^n ...
分类:其他好文   时间:2018-12-23 23:55:30    阅读次数:213
AABB和OBB包围盒简介
一、AABB立方体边界框检测 用球体去近似地代表物体运算量很小,但在游戏中的大多数物体是方的或者长条形的,应该用方盒来代表物体。另一种常见的检测模型是立方体边界框,如图10-31展示了一个AABB检测盒和它里面的物体。 坐标轴平行(Axially-aligned)不仅指盒体与世界坐标轴平行,同时也指 ...
分类:其他好文   时间:2018-12-22 13:06:53    阅读次数:272
MachineLearningOnCoursera
Week Six F Score $$\begin{aligned} P &= &\dfrac{2}{\dfrac{1}{P}+\dfrac{1}{R}}\\ &= &2 \dfrac{PR}{P+R} \end{aligned}$$ Week Seven Support Vector Machin ...
分类:系统相关   时间:2018-12-03 11:14:33    阅读次数:141
883. Projection Area of 3D Shapes
On a N N grid, we place some 1 1 1 cubes that are axis aligned with the x, y, and z axes. Each value v = grid[i][j] represents a tower of v cubes plac ...
分类:其他好文   时间:2018-10-20 12:15:43    阅读次数:218
201条   上一页 1 ... 6 7 8 9 10 ... 21 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!