//form==>http://www.cnblogs.com/2050/archive/2012/08/10/2632256.htmlhaha
555555555555555555555555555555555haha 555555555555555555555555555555555 wor.....
分类:
其他好文 时间:
2014-05-26 21:02:51
阅读次数:
263
continue和break的用法一样,直接写上这个单词,后面加一个分号就行比如:continue;break;我们先来谈continue看代码
for (int i=0; i<10; i++) { Console.Write(i); }这个程序的意思输出从0...
分类:
其他好文 时间:
2014-05-26 20:36:46
阅读次数:
351
记忆力不行,做过好多东西,下次用的时候还会忘记,于是就记录一些,为了以后更快的入手:1.marker的点击事件中获取marker的信息
在函数中this就代表当前的markerthis.getPosition()就获取到了marker的位置,不能用e.point 这个是点击的位置。
分类:
其他好文 时间:
2014-05-26 15:14:03
阅读次数:
195
(一) 判断二进制末尾 ff.seekg(0,ios::end) ; 可以找到末尾,但是那里没有内容。
我们用 int END =ff.seekg(0,ios::end) ; 记录这个位置 。 然后 pos = ff.tellg(); if(pos == END)
break ; 这样就避免读到非法...
分类:
其他好文 时间:
2014-05-26 12:19:37
阅读次数:
244
排列问题1、实现排列A(n,m)对指定的正整数m,n(约定11) i--; /* 回溯 */
if(a[i]==n && i==1) break; /* 退出循环,结束 */ else a[i]=a[i]+1;}4、代码实现 1
#include 2 #include 3 4 int mai...
分类:
编程语言 时间:
2014-05-26 12:18:53
阅读次数:
242
FCM 算法用一个Job寻找cluster的中心点。在map的初始化节点,加载初始化(或上一轮迭代的结果)中心点。在map中计算point 和每一个簇的亲和度。在combiner计算同一个cluster的参数,该过程只能计算同一cluster的局部信息。在reduce中首先计算同一个cluster的全局参数,然后计算该cluster是否收敛,输出cluster。...
分类:
其他好文 时间:
2014-05-26 04:12:39
阅读次数:
302
今天阅读opencv2.0手册的时候,看到一句话,很有感触:Unless you are
targeting embedded platforms, there’s no point to using the old methods(unless
you’re a masochist program...
分类:
其他好文 时间:
2014-05-24 09:51:04
阅读次数:
258
What Is Your Grade?
Problem Description
“Point, point, life of student!”
This is a ballad(歌谣)well known in colleges, and you must care about your...
分类:
其他好文 时间:
2014-05-23 00:59:22
阅读次数:
375
格式:
mount -t cifs //IP/share-folder /mnt-point -o username=your-username,passwd=your-password
[root@client mnt]# mount -t cifs //192.168.230.1/f /mnt/share/ -o username=***,passwd=***
[root@clien...
题意:给你个矩阵,里面有n个标记的点,许多只青蛙在上面跳,每次跳的距离都是一样的且轨迹是直线,目标是从一边跳到另一边,求最多步数的青蛙
思路:排序后,枚举判断
#include
#include
#include
#include
using namespace std;
const int MAXN = 5050;
struct point{
int x,y;
void ini...
分类:
其他好文 时间:
2014-05-22 18:50:02
阅读次数:
255