自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(7)
  • 资源 (4)
  • 收藏
  • 关注

原创 hdu 5017 Ellipsoid 模拟退火算法模板

//109MS 304K#include #include #include #include using namespace std;const double EPS = 1e-9;const double INF = 1e18;const double dx[8] = {1.0, 1.0, 0.0, -1.0, -1.0, -1.0, 0.0, 1.0};const dou

2014-09-24 19:55:31 523

原创 hdu 5017 Ellipsoid 模拟退火算法 西安网络赛

Given a 3-dimension ellipsoid(椭球面)your task is to find the minimal distance between the original point (0,0,0) and points on the ellipsoid. The distance between two points (x1,y1,z1) and (x2,y2,

2014-09-24 13:13:51 818

原创 hdu 5023 A Corrupt Mayor's Performance Art 广州网络赛 线段树的区间覆盖+种类查询

Problem DescriptionThe wall was divided into N segments and the width of each segment was one cun(cun is a Chinese length unit). All segments were numbered from 1 to N, from left to right. There w

2014-09-24 10:57:27 430

原创 Line.h

#ifndef LINE_H_INCLUDED#define LINE_H_INCLUDED//#define Point Vectorstruct Line { Point P; Vector V; //直线的点向式表示 Line(Point P, Vector V) : P(P), V(V) {} Point intersectionOfTwoLin

2014-09-16 17:16:00 524

原创 Vector.h

#ifndef VECTOR_H_INCLUDED#define VECTOR_H_INCLUDEDconst double EPS = 1e-10;struct Vector { double x, y; Point(double x = 0, double y = 0) : x(x), y(y) {} Vector operator +(Vector A,

2014-09-16 16:07:25 627

原创 51单片机C语言开发之花样流水灯程序

#include typedef unsigned char uchar;typedef unsigned int uint; //int是16位的sbit ADDR0 = P1^0;sbit ADDR1 = P1^1;sbit ADDR2 = P1^2;sbit ADDR3 = P1^3;sbit ENLED = P1^4;void main(){ uchar i;

2014-09-10 20:44:48 8684

原创 zoj 3818 Pretty Poem

//AC#include #include #include #include #include using namespace std;char ch[55];string str;int len;void work(){ for(int i=1; 3*i+2<=len; i++){ if((len-3*i) % 2 != 0) continue

2014-09-09 17:34:59 359

软件设计模式之装饰模式讲解

软件设计模式之装饰模式讲解ppt,可用于教学课件。

2015-05-15

基于C#的商店销售管理系统

基于C#的商店销售管理系统,用Winform的方式实现。

2015-05-01

Windows程序设计-贪吃蛇

贪吃蛇程序,通过键盘控制蛇的移动,可以暂停/继续,同时计分。

2015-04-28

平面导航网络

室内导航系统:基于房间的路径规划,输出最短路径。

2015-04-22

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除