码迷,mamicode.com
首页 >  
搜索关键字:circle    ( 1397个结果
UvaOJ494 - Kindergarten Counting Game
Kindergarten Counting Game  Everybody sit down in a circle. Ok. Listen to me carefully. ``Woooooo, you scwewy wabbit!'' Now, could someone tell me how many words I just said? Input and...
分类:其他好文   时间:2014-08-20 18:04:02    阅读次数:205
【COCOS2DX-游戏开发之三六】圆与未旋转矩形的碰撞检测(上篇)
function circleIntersectRect(circle_pt, radius, rect)     local cx = nil     local cy = nil     -- Find the point on the collision box closest to the center of the circle     if circle_pt.x...
分类:其他好文   时间:2014-08-20 16:22:42    阅读次数:213
ZOJ 1450 Minimal Circle 最小圆覆盖
套了个模板直接上,貌似没有随机化序列 QAQ//#pragma comment(linker, "/STACK:16777216") //for c++ Compiler#include #include #include #include #include #include #include #i...
分类:其他好文   时间:2014-08-18 21:42:12    阅读次数:210
java访问控制符
当修饰符修饰成员变量和方法时: private(当前类访问权限):自身的private只能在当前类的内部被访问。 例子说明:      class Circle{ private static double pi = 3.14; private double radius; public Circle(double r){ radius = r; } //获得圆数组中半...
分类:编程语言   时间:2014-08-17 21:24:12    阅读次数:294
Circle 树状数组
DescriptionYou are given n points and two circles. The radius of the circle will be dynamical. Your task is to find how many points are under both cir...
分类:其他好文   时间:2014-08-12 02:57:33    阅读次数:276
HDU 3007
基本小圆覆盖模板题#include #include #include using namespace std;int X,Y; int n;const double eps=0.00000001;struct point{ double x,y;}p[550]; struct Circle{...
分类:其他好文   时间:2014-08-11 14:25:02    阅读次数:228
UVA 11355 Cool Points
Cool Points We have a circle of radius R and several line segments situated within the circumference of this circle. Let’s define a cool point to be a...
分类:其他好文   时间:2014-08-10 12:37:10    阅读次数:245
课程设计(物体类),图片可能没有加载出来,自己运行一下就行了
一.课程设计题目与要求(包括题目与系统功能要求)A.设计如下类,其功能和部分成员如下:Object:抽象类,所有的物体都有价值(profit)属性;Point:点的位置;Line(线段),Rectangle,Cuboid,Square,Cube,Circle,Cylinder.功能:能够实现上述物体...
分类:其他好文   时间:2014-08-08 23:54:36    阅读次数:420
Java 绘制环形的文字 (Circle Text Demo)
1. [代码]CircleTextDemo.java import java.awt.*;import java.awt.event.*;import java.awt.geom.*;/*** A demo class that illustrates drawing text* along th....
分类:编程语言   时间:2014-08-06 22:04:12    阅读次数:347
New Hire Training Experience
Game Description: 1. In a closed door, there will be a circle, and 30 numbers in the circle. 2. Each team (about 10 people) need to take number out of the circle by ascend order. 3. Each team has...
分类:其他好文   时间:2014-08-06 19:06:02    阅读次数:359
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!