Forward rebuild发生在磁盘或节点挂掉的时候. 这种rebuild的过程的load是均衡到protection domain中所有可用的磁盘和节点上的. 这种rebuild相对于backwards rebuild更快, 更平顺. Backward rebuild发生在挂点的节点或磁盘恢复...
分类:
其他好文 时间:
2014-11-10 13:34:27
阅读次数:
381
杨辉三角,穷竭搜索,组合数,暴力,acm,dfs...
分类:
其他好文 时间:
2014-11-10 10:02:31
阅读次数:
168
GSL 学习笔记(快速傅立叶变换)
GNU Scientific Library (GSL)是一个开源的科学计算的函数库,里面实现了大量的数学函数,还提供了方程求解、傅立叶变换等多种功能。
GSL 中FFT 的定义如下,
正变换(forward):
逆变换(inverse):
还有一个叫做反向变换:
反变换(backward):
复数FFT,长度为2^N
这是最简单的一种。C89标...
分类:
其他好文 时间:
2014-11-08 22:13:09
阅读次数:
459
Problem ThreepalindromesA regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCB...
分类:
其他好文 时间:
2014-10-30 07:09:03
阅读次数:
271
emacs是一个很强大的编辑器。常用的快捷键总结如下:
退出emacs:ctrl+x ctrl+c
移动到下一屏:ctrl+v
移动到上一屏:alt+v
将光标所在行移动到屏幕中间:ctrl+l
将光标移动到上一行:ctrl+p(previous)
将光标移动到下一行:ctrl+n(next)
将光标右移:ctrl+f(forward)
将光标左移:ctrl+b(backward)...
分类:
系统相关 时间:
2014-10-14 18:11:59
阅读次数:
250
给出杨辉三角的顶点值,求底边各个数的值。直接DFS就好了
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define ll __int64
#define INF 0x3fffffff
#define rep(i,n) for(int (i)=0;(i)<n;(...
分类:
其他好文 时间:
2014-10-09 01:31:47
阅读次数:
174
1653: [Usaco2006 Feb]Backward Digit SumsTime Limit:5 SecMemory Limit:64 MBSubmit:207Solved:161[Submit][Status][Discuss]DescriptionFJ and his cows enjo...
分类:
其他好文 时间:
2014-09-20 21:31:29
阅读次数:
223
move原型:
std::move
template
OutputIterator move (InputIterator first, InputIterator last, OutputIterator result);
该函数是将指定范围内的元素移动到从result开始的位置。
move之后,[first,last)范围内的元素去留的具体实现由编译器决定。
...
分类:
其他好文 时间:
2014-09-19 10:09:05
阅读次数:
150
无疑是STL 中最大的一个头文件,它是由一大堆模板函数组成的。下面列举出中的模板函数:adjacent_find / binary_search / copy / copy_backward / count/ count_if / equal / equal_range / fill / fill_...
分类:
其他好文 时间:
2014-09-14 20:43:37
阅读次数:
280
exit: C-x C-c :qa /:wq /:xa /:q!
Get back/command mode: C-g <esc>
Backward(left): C-b h
For...
分类:
其他好文 时间:
2014-09-04 15:11:39
阅读次数:
242