码迷,mamicode.com
首页 >  
搜索关键字:floating point    ( 7266个结果
POJ1860:Currency Exchange(BF)
http://poj.org/problem?id=1860DescriptionSeveral currency exchange points are working in our city. Let us suppose that each point specializes in two p...
分类:其他好文   时间:2014-09-13 20:08:45    阅读次数:410
C# 无边框窗体移动代码
C# 无边框窗体移动代码 Point _frmPoint = new Point(); //移动前窗体左上角坐标 Point _mousePoint = new Point(); //按下鼠标时坐标 bool move = false; //是否移动 ...
分类:移动开发   时间:2014-09-13 18:43:15    阅读次数:190
<<Python基础教程>>学习笔记之|第01章|基础知识
本学习笔记主要用要记录下学习<>过程中的一些Key Point,或自己没怎么搞明白的内容,可能有点杂乱,但比较实用,查找起来也方便。 第01章:基础知识 ------ Jython: Python的Java实现,运行在JVM中,相对稳定,但落后于Python,当前版本2.5,在TA(Python+Robot)会用到 IronPython: Python的C#实现,运行在Common Language Runtime,速度比Python要快 >>> from __futu...
分类:编程语言   时间:2014-09-13 10:43:35    阅读次数:285
二维凸包 Graham 算法
三点以下的情况就不写了 Python: import math class Point( object ): def __init__( self, x, y ): self.x = x self.y = y def __cmp__( self, other ): if self.y < other.y:...
分类:其他好文   时间:2014-09-13 00:50:24    阅读次数:409
数论 - 欧拉函数的运用 --- poj 3090 : Visible Lattice Points
Visible Lattice PointsTime Limit:1000MSMemory Limit:65536KTotal Submissions:5636Accepted:3317DescriptionA lattice point (x,y) in the first quadrant (x...
分类:其他好文   时间:2014-09-12 23:24:04    阅读次数:251
Mount与Mount Point是什么意思
Mount与Mount Point是什么意思 概述 我们平时经常见到“Mount”这个概念,它被译为“挂载”。例如在Root Explorer中,就会让你选择“挂载为只读/读写”,获取root权限以后就可以将整个系统挂载为读写,从而可以自由操作各种敏感文件。 “挂载”是一个动词,它一般用于各种存储设备。当你的系统挂载了一个存储设备后,你和你的操作系统就能访问到这个存储设备上的数据。简单说,你...
分类:其他好文   时间:2014-09-12 19:18:24    阅读次数:205
点类派生出直线类
程序代码 #include #include using namespace std; class Point //定义坐标点类 { public: Point(double x = 0, double y = 0);//构造函数 double getX();//得到x坐标 double getY();//得到y坐标 void PrintPoint();...
分类:其他好文   时间:2014-09-12 19:13:24    阅读次数:232
C++实现Point类
程序代码 #include using namespace std; class Point//点类 { public: //使用初始化表初始化点类 Point(double a = 0, double b = 0):x(a), y(b){} double getX();//得到x坐标 double getY();//得到y坐标 //重载<<实现点...
分类:编程语言   时间:2014-09-12 19:12:14    阅读次数:334
Point类派生出Circle类
程序代码 #include using namespace std; class Point//点类 { public: //使用初始化表初始化点类 Point(double a = 0, double b = 0):x(a), y(b){} double getX(); double getY(); //重载<<实现点的坐标的输出 fri...
分类:其他好文   时间:2014-09-12 19:10:54    阅读次数:287
凸包 Graham 算法
import math class Point( object ): def __init__( self, x, y ): self.x = x self.y = y def __cmp__( self, other ): if self.y < other.y: return -1...
分类:其他好文   时间:2014-09-12 15:13:23    阅读次数:190
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!