码迷,mamicode.com
首页 > 其他好文
标量滤波的过程分析和证明及C实现
摘要: 标量滤波的过程分析和证明及C实现,希望能够帮助入门的小白,同时得到各位高手的指教。并不涉及其他Kalman滤波方法。 本文主要参考自《A Introduction to the Kalman》 (需要的同学可以自行百度,也可以找到中文版的) 注:递归思想,高斯分布独立性的应用,数据融合的应用 ...
分类:其他好文   时间:2016-10-04 07:23:59    阅读次数:287
【Codeforces 723D】Lakes in Berland (dfs)
海洋包围的小岛,岛内的有湖,'.'代表水,'*'代表陆地,给出的n*m的地图里至少有k个湖,求填掉面积尽量少的水,使得湖的数量正好为k。 dfs找出所有水联通块,判断一下是否是湖(海水区非湖)。将湖按面积排序,若湖的数量为cnt,填掉前cnt-k个湖。 http://codeforces.com/p ...
分类:其他好文   时间:2016-10-04 07:24:58    阅读次数:149
Bootstrapa精简教程
bootstrap 的学习非常简单,并且它所提供的样式又非常精美。只要稍微简单的学习就可以制作出漂亮的页面。 bootstrap中文网:http://v3.bootcss.com/ bootstrap提供了三种类型的下载: 用于生产环境的 Bootstrap 编译并压缩后的 CSS、JavaScri ...
分类:其他好文   时间:2016-10-04 01:44:44    阅读次数:245
poj1654-Area
题目大意:给你n个点,按顺序可围成一个封闭的多边形,求多边形面积。 算法:计算几何(之点线面运算) 解析:叉积P1^P2:x1*y2-x2*x2 它的绝对值的几何意义是点(0,0),P1,P2,P1+P2 这四个点所围成的平行四边形(特殊时或是一条线) 若向量P1在向量P2的顺指针方向,则叉积为正; ...
分类:其他好文   时间:2016-10-04 01:43:04    阅读次数:206
使用getDrawable时遇到的一个bug
做一个筛选菜单时候,用到了dongjunkun的DropDownMenu,github地址:https://github.com/dongjunkun/DropDownMenu 遇到几个问题: (1)最右面的上三角形、下三角形很难看,需要改成向上箭头向下箭头,而且靠近文件,在右边; (2)背景颜色需 ...
分类:其他好文   时间:2016-10-04 01:41:21    阅读次数:292
cf723b Text Document Analysis
Modern text editors usually show some information regarding the document being edited. For example, the number of words, the number of pages, or the n ...
分类:其他好文   时间:2016-10-04 01:43:18    阅读次数:224
如何用 redis 造一把分布式锁
基本概念 锁 wiki:In computer science, a lock or mutex (from mutual exclusion) is a synchronization mechanism for enforcing limits on access to a resource i ...
分类:其他好文   时间:2016-10-04 01:43:14    阅读次数:271
Redis 内存使用优化与存储
Redis 常用数据类型 Redis 最为常用的数据类型主要有以下五种: ? String ? Hash ? List ? Set ? Sorted set 在具体描述这几种数据类型之前,我们先通过一张图了解下 Redis 内部内存管理中是如何描述这些不同数据类型的: 首先 Redis 内部使用一个 ...
分类:其他好文   时间:2016-10-04 01:40:32    阅读次数:267
QuickContactBadge--------------关联联系人-----------------------
xml 布局 ...
分类:其他好文   时间:2016-10-04 01:40:46    阅读次数:161
Golang里面使用protobuf(proto3)
原文:https://developers.google.com/protocol-buffers/docs/gotutorial 1.proto3文档:https://developers.google.com/protocol-buffers/docs/proto3go api文档:https: ...
分类:其他好文   时间:2016-10-04 01:39:24    阅读次数:856
cf723a The New Year: Meeting Friends
There are three friend living on the straight line Ox in Lineland. The first friend lives at the point x1, the second friend lives at the pointx2, and ...
分类:其他好文   时间:2016-10-04 01:41:20    阅读次数:172
cf723c Polycarp at the Radio
Polycarp is a music editor at the radio station. He received a playlist for tomorrow, that can be represented as a sequence a1,?a2,?...,?an, where ai  ...
分类:其他好文   时间:2016-10-04 01:41:18    阅读次数:265
uva624 01背包要求输出路径
You have a long drive by car ahead. You have a tape recorder, but unfortunately your best music is onCDs. You need to have it on tapes so the problem ...
分类:其他好文   时间:2016-10-04 01:38:41    阅读次数:183
内存编程(所有的情况都有例子)
1. 内存分配方式 1.1 内存分配的几种方式 (1) 从静态存储区域分配。 内存在程序编译的时候就已经分配好,这块内存在程序的整个运行期间都存在。例如全局变量,static变量。 初始化的全局变量和静态变量在一块区域, 未初始化的全局变量和未初始化的静态变量在相邻的另一块区域。 (2) 在栈上创建 ...
分类:其他好文   时间:2016-10-04 01:38:30    阅读次数:313
cf723d Lakes in Berland
The map of Berland is a rectangle of the size n?×?m, which consists of cells of size 1?×?1. Each cell is either land or water. The map is surrounded b ...
分类:其他好文   时间:2016-10-04 01:36:35    阅读次数:386
CodeForces 723D Lakes in Berland (dfs搜索)
题意:给定一个n*m的矩阵,*表示陆地, . 表示水,一些连通的水且不在边界表示湖,让你填最少的陆地使得图中湖剩下恰好为k。 析:很简单的一个搜索题,搜两次,第一次把每个湖的位置和连通块的数量记下来,第二次去填陆地,选少的进行填。 代码如下: ...
分类:其他好文   时间:2016-10-04 01:34:21    阅读次数:172
Codeforces_723_A
http://codeforces.com/problemset/problem/723/A 取中间那个数就可以了,答案为最大值减最小值。 ...
分类:其他好文   时间:2016-10-04 01:35:18    阅读次数:158
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!