数字图像的5种增强处理#include#includeusing namespace
std;int main(){int
i,j,n,m,w,a[100][100],x[100][100],max[100][100][20],b[100][100],k,p,u;cout>n>>m;cout>a[i...
分类:
其他好文 时间:
2014-05-23 03:09:34
阅读次数:
170
#include#includeusing namespace std;int main(){int
n,i,j,a[100],u,max,b[100],m,s[100],min;cout>n>>m;for(j=1;j>a[i];s[j]=s[j]+a[i];}max=a[1];for(i=2;im...
分类:
其他好文 时间:
2014-05-23 02:57:23
阅读次数:
267
#includeusing namespace std;int main(){int
n,m,i,j,k,o,u,p,a[100][100],x[100][100],max[100][100][20],b[100][100];cout>n>>m;cout>a[i][j];}}for(k=1;k=ma...
分类:
其他好文 时间:
2014-05-23 02:51:18
阅读次数:
227
#includeusing namespace std;int main(){int
n,m,i,j,x[100],a[100],p;cout>n>>m;for(i=1;in){j=(x[i-1]+1)%n;}else{j=x[i-1]+1;}p=1;do{if(a[j]!=0){j++;if(j>...
分类:
其他好文 时间:
2014-05-23 02:47:17
阅读次数:
211
Cancellation tokenParallel
optionsCancellationTokenSource cancellationTokenSource = new
CancellationTokenSource();Task.Factory.StartNew(() =>{ Thre...
分类:
Web程序 时间:
2014-05-22 16:43:14
阅读次数:
332
19> Hanzi = >. >20>
io:format("~ts",[Hanzi]).汉字ok21> io:format("~w",[Hanzi]). >ok
分类:
其他好文 时间:
2014-05-22 16:22:29
阅读次数:
222
--innodb和myisam存储引擎插入速度------------------------------------2014/05/21MySQL
5.6 全部默认设置,插入数据9999条,性能一般的虚拟机。mysql> delete from test;Query OK, 10000 rows
...
分类:
数据库 时间:
2014-05-22 16:12:53
阅读次数:
295
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-05-22 16:05:56
阅读次数:
239
List integers = new List() { 0, 1, 2, 3, 4, 5,
6, 7, 8, 9 };Parallel.ForEach(integers, (int item, ParallelLoopState state)
=>{ if (item > 5) { ...
分类:
Web程序 时间:
2014-05-22 16:03:56
阅读次数:
287
1> 使用场合* UIImageView: 如果仅仅是显示图片,不需要监听图片的点击*
UIButton: 既要显示图片,又要监听图片的点击2> 相同:能显示图片3> 不同点* UIButton能处理点击事件,
UIImageView不能处理点击事件* UIButton既能显示图片, 又能显示文字*...
分类:
其他好文 时间:
2014-05-22 16:02:38
阅读次数:
198