自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 POJ 2015 IP Address

POJ 2015 IPAddress题目链接:http://poj.org/problem?id=2105题目类型:纯水无坑题目描述:把二进制格式的IPv4转换成点分十进制格式,顺着读字符串就行,实在不通可以在纸上写写index。code:#include#includeint main(){ int p; char s[40]; int

2016-09-01 21:11:27 580

原创 蚁群算法解TSP问题

蚁群算法解TSP问题    TSP问题(Travelling Salesman Problem),可译为旅行商问题、货郎担问题。其问题描述简单,却具有输入规模的指数函数的计算复杂性,属于NP完全问题。问题可描述为:有一位商人,他想访问中国的某些城市,要求:1. 所走路程最近2. 每个城市只能访问一次3. 从某城市出发,最后回到该城市本文所解的TSP问题与上述第3条不

2016-05-18 20:42:13 1133

原创 机器学习实战 第九章 树回归 学习笔记

机器学习实战 第九章 树回归 学习笔记    这一章承接第三章,都是用树的方法,这里做的是回归。基本思路还是把数据集划分,做成二叉查找树的形式,然后可根据预测数据的特征在树中寻找其预测值。本章用的CART(分类回归树)算法来构树。    这里做回归的树与前篇的不同之处就在于1、能够处理连续型数据;2、数据集的划分规则,第三章决策树用计算熵值的方法,找到熵值最高的划分方法,按此划分;

2016-05-05 17:10:08 977

原创 机器学习实战 第三章 决策树 学习笔记

机器学习实战 第三章 决策树 学习笔记    第三章,决策树,主要讲了用ID3这种算法构建出决策树,并将其用于分类的方法。    原理:假设我们有一些待分类数据,那么可先按特征的某些规律将其一分为二(就成了二叉树,一分为n,就是n叉树),再将其子节点再分,分到不能再分时,训练结束。预测时按照分类的原则去找分支,直到找到叶子节点,叶节点的值就是预测的值。    那么就会有一个问题:以

2016-05-05 09:55:42 1148

原创 机器学习实战 第九章 源码勘误

机器学习实战 第九章 源码勘误    最近学习了《机器学习实战》这本书的第九章-树回归,发现代码运行出错,就试着改了改,跟大家分享一下。    这一章的代码总共有两个python文件,《regTrees.py》和《treeExplore.py》,其中《regTrees.py》有两个错。先贴上原版的《regTrees.py》'''Created on Feb 4, 2011T

2016-04-28 21:42:23 3887 9

原创 hdu 2602 Bone Collector【遗传算法解01背包】

hdu 2602 Bone Collector题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=2602题目分析:01背包水无坑,由于本篇是用GA解,学习ACM中01背包问题解法的同学请移步 原链接 。对遗传算法的认识:对生物界遗传过程进行模拟来解决问题的一种算法,大体流程如下:遗传(指定generation数){计算适应度->选择-

2016-04-14 16:13:34 1039

原创 hdu 1754 I Hate It

hdu   1754   I Hate It题目

2014-10-13 16:59:14 603

原创 Live Archive 6705 Little Tiger vs. Deep Monkey

Regional 2013::Asia - Changchun C    Live Arc

2014-10-10 10:57:54 810

原创 PHP开发环境&MySQL下载安装及配置流程

PHP开发环境&MySQL下载安装及配置流程

2014-07-27 01:37:23 2032

原创 POJ 3761 Bubble Sort

POJ   3761   Bubble Sort                   ti

2014-07-24 15:31:26 1004

原创 POJ 3751 时间日期格式转换

POJ   3751   时间日期格式转换           timlj

2014-07-22 11:06:48 1142

原创 POJ&&HDU 1579 ZOJ 1168 Function Run Fun

POJ&&HDU 1579  ZOJ 1168   Function Run Fun            题目链接:

2014-07-21 22:37:12 976

原创 POJ 3750 小孩报数问题

POJ   3750   小孩报数问题

2014-07-21 17:38:20 981

原创 POJ 3748 位操作

POJ   3748   位操作                题目链接:

2014-07-21 12:00:14 705

原创 POJ 1007 DNA Sorting

POJ   1007   DNA Sorting                   题目链接:

2014-07-21 11:30:09 1034

原创 codeforces 446A DZY Loves Sequences

codeforces   446A   DZY Loves Sequences             DP

2014-07-18 16:56:37 1076

原创 topcoder SRM 348 Div.1 LostParentheses

Problem Statement  We have an arithmetic expression made up of positive integers, the + and - operators and parentheses. All the parentheses, however, have been erased by the cleaning staf

2014-07-13 17:58:41 1029

原创 【topcoder第二弹】SRM 526 Div.1 DucksAlignment

Problem Statement    Mr. Dengklek has a rectangular farm conveniently divided into a grid of unit squares. At this moment, each unit square contains at most one duck. Moreover, each row and column

2014-07-13 15:51:06 911

原创 【topcoder第一弹】 SRM 144 Div.2 whatTime

Problem Statement  Computers tend to store dates and times as single numbers which represent the number of seconds or milliseconds since a particular date. Your task in this problem is to wr

2014-07-13 11:55:10 548

转载 MIME理解

自己对android中MIME类型的理解

2014-06-05 15:55:28 690

原创 Live Archive 6542 Hard Disk Drive

Live Archive   6541   GRE Words Revenge题目链接:https://icpcarchive.ecs.baylor.edu/index.php?option=com_onlinejudge&Itemid=8&category=595&page=show_problem&problem=4552

2014-05-13 18:48:28 1021

原创 AIZU 2320 Infnity Maze

package May6thA;import java.math.BigInteger;import java.util.Scanner;public class Main { static BigInteger one=BigInteger.ONE,two=new BigInteger("2"),zero=BigInteger.ZERO; static String map[];

2014-05-08 21:07:56 852

原创 SDUTOJ 2848 Fence Repair

SDUTOJ   2848   Fence Repair         题目链接

2014-05-07 21:44:56 832

原创 Live Archive 6527 Counting ones

Live Archive   6527   Counting ones题目大意:

2014-05-07 17:03:00 874

原创 hdu 1413 文件系统

hdu acm 文件系统模拟 数据结构 树

2014-04-21 21:30:06 1593

原创 编程之美2014 初赛第一场A

编程之美2014 初赛第一场A

2014-04-20 17:57:10 737

原创 ZOJ 3713 In 7-bit

ZOJ   3713   In 7-bit

2014-04-17 19:38:29 960

原创 zoj 3706 Break Standard Weight

zoj   3706   Break Standard Weight                 题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5009

2014-04-17 10:46:10 863

原创 zoj 3710 Friends

zoj   3710   Friends

2014-04-17 10:26:10 846

原创 coder-strike 2014 C Kicker

coder-strike 2014   C   Kicker

2014-04-16 11:17:41 773

原创 ZOJ 3787 Access System

ZOJ   3787   Access System         题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=37872014 第十一届浙江省赛 题目大意:进门系统模拟。进宿舍门要刷身份卡,但是别人刷了L秒之内想进的人就不需要刷了,大家都很懒,能不刷就不刷。给出n个人的到来时间(无序),和刷卡后

2014-04-15 21:37:37 880

原创 coder-strike 2014 A Password Check

coder-strike 2014   A   Password Check           题目链接:http://codeforces.com/contest/411/problem/A题目大意

2014-04-15 21:23:42 823

原创 coder-strike 2014 B Multi-core Processor

6.5h left……

2014-04-15 21:15:49 1053

原创 ZOJ 3782 Ternary Calculation

ZOJ   3782   Ternary Calculation   题目链接:

2014-04-14 21:00:35 1262

原创 ZOJ 3776 Pokemon Master

ZOJ   3776   Pokemon Master            题目链接:http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3776

2014-04-14 20:39:42 1212

原创 hdu 1180 诡异的楼梯

hdu   1180   诡异的楼梯            题目链接:

2014-04-09 17:42:20 924

原创 hdu 1263 水果

hdu   1263   水果              题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1263

2014-04-09 10:50:34 836

原创 编程之美13资格赛&&14测试赛 A 传话游戏

编程之美13资格赛&&14测试赛   A   传话游戏

2014-04-07 21:14:30 838

原创 code forces 415A Mashmokh and Lights

code forces   415A   Mashmokh and Lights             题目链接:

2014-04-07 13:19:18 1314

原创 code forces 7A Kalevitch and Chess

code forces   7A   Kalevitch and Chess#include#includeusing namespace std;struct node{ int vh,n;}a[20];int cmp(node a,node b){ return a.n>b.n;}int main(){ int i

2014-04-03 19:43:50 855

蚁群算法原理及其应用-段海滨

学习蚁群算法很好的材料

2016-05-18

旅行商问题的数据

数据格式(每行): 横坐标 纵坐标 序号

2016-05-18

01背包测试数据包

压缩包中有10个输入文件,10个输出文件。输出文件只有一个数字,是答案。输入文件每行有两个数,第一行:背包容量v 物品个数n;后n行:物品体积 物品价值

2016-04-14

01背包测试数据

01背包的测试数据,一个压缩文件中有10个输入文件10个输出文件 输入数据意义:第一行为背包容量v 物品个数n,后n行每行为一个物品的体积 价值

2016-04-14

php-5.4.31-Win32-VC9-x86

这是一个绿色软件,解压到指定位置就能用。

2014-07-27

mysql安装windows64位

MySQL是一个多线程的,结构化查询语言(SQL)数据库服务器。SQL在世界上是最流行的数据库语言。MySQL的执行性能非常高,运行速度非常快,并非常容易使用。

2014-07-27

apache 2.2.22

世界使用排名第一的Web服务器软件。它可以运行在几乎所有广泛使用的计算机平台上,由于其跨平台和安全性被广泛使用,是最流行的Web服务器端软件。

2014-07-27

空空如也

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

TA关注的人

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