码迷,mamicode.com
首页 >  
搜索关键字:point    ( 7079个结果
百度地图是用过程笔记
记忆力不行,做过好多东西,下次用的时候还会忘记,于是就记录一些,为了以后更快的入手:1.marker的点击事件中获取marker的信息 在函数中this就代表当前的markerthis.getPosition()就获取到了marker的位置,不能用e.point 这个是点击的位置。
分类:其他好文   时间:2014-05-26 15:14:03    阅读次数:195
计算几何模板
1、典型的Point结构体 1 struct point { 2 double x, y; 3 point(double _x = 0, double _y = 0): x(_x), y(_y) { 4 } 5 void input() { 6 sca...
分类:其他好文   时间:2014-05-23 03:40:15    阅读次数:362
HDU 1048 What Is Your Grade? (简单模拟)
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
CentOS系统mount windows共享文件夹
格式: 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...
分类:Windows程序   时间:2014-05-23 00:39:58    阅读次数:458
POJ - 1054 The Troublesome Frog
题意:给你个矩阵,里面有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
【SQL】检索满足条件的最大值的数据集合
是不是看题目觉的看不懂?其实我自己也看不懂,但是又找不到更好的词来形容。为了更好的表达我的意思,请看下。如果有一张成绩表(Points),学生(student)成绩(point)科目(subject)张三70英语张三80数学李四75语文李四85数学我想知道每个学生成绩最好的是哪一科,该怎么算??我们...
分类:数据库   时间:2014-05-21 20:43:22    阅读次数:316
13周 项目1 点,圆的关系
#include #include using namespace std; class Point { public: Point(double a,double b):x(a),y(b) {} double getx() { return x; } double gety() { ...
分类:其他好文   时间:2014-05-21 14:44:07    阅读次数:281
C++ 构造器 普通构造器 代理构造器
Point():Point(0,0){}...
分类:编程语言   时间:2014-05-21 13:54:57    阅读次数:228
13周 项目2 圆的比较
#include #include using namespace std; class Point { public: Point(double a,double b):x(a),y(b) {} double getx() { return x; } double gety() { return y; ...
分类:其他好文   时间:2014-05-21 10:09:26    阅读次数:309
[ACM] hdu 2717 Catch That Cow (BFS)
Catch That Cow Problem Description Farmer John has been informed of the location of a fugitive cow and wants to catch her immediately. He starts at a point N (0 ≤ N ≤ 100,000) on a number li...
分类:其他好文   时间:2014-05-21 07:02:40    阅读次数:312
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!