自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

chen_安仔

成功只属于努力奋斗的人!!!

  • 博客(35)
  • 资源 (3)
  • 收藏
  • 关注

转载 欢迎使用CSDN-markdown编辑器

CentOS7安装iptables防火墙CentOS7默认的防火墙不是iptables,而是firewalle.安装iptable iptable-service复制代码先检查是否安装了iptablesservice iptables status安装iptablesyum install -y iptables升级iptablesyum update iptables 安装iptables-ser

2016-09-12 18:30:22 212 1

转载 Duilib中各个类的简单介绍

DirectUI产品网站www.directui.com,做的很专业;另一家是UIEASY,网址www.uieasy.com,一个轻量级皮肤库DSkinLite。但是,网上关于DirectUI的技术文章却很少;早在 6/26/2005,一个国外的程序员就已经写了一个开源的DirectUI例子,应该算是国内所有directui界面库的起源了,网址http://www.viksoe.dk/code/w

2015-08-08 10:47:11 441

转载 【Github教程】史上最全github使用方法:github入门到精通

原文 http://www.eoeandroid.com/thread-274556-1-1.html 【初识Github】 首先让我们大家一起喊一句“Hello Github”。YEAH!就是这样。 Git是一个分布式的版本控制系统,最初由Linus Torvalds编写,用作Linux内核代码的管理。在推出后,Git在其它项目中也取得了很大成功,尤其是在Ruby社区中。目前,包括

2015-07-30 23:50:25 364

转载 匈牙利命名法

匈牙利命名法是一种编程时的命名规范。基本原则是:变量名=属性+类型+对象描述,其中每一对象的名称都要求有明确含义,可以取对象名字全称或名字的一部分。命名要基于容易记忆容易理解的原则。保证名字的连贯性是非常重要的。 举例来说,表单的名称为form,那么在匈牙利命名法中可以简写为frm,则当表单变量名称为Switchboard时,变量全称应该为frmSwitchboard。这样可以很容易从变量名

2015-04-28 11:21:25 275

原创 windows程序设计之添加菜单

  加载菜单有三种方法  首先你要先添加一个资源文件(Menu)加入ID号为IDR_MENU1 第一种方法: HEMENU hmenu; wndclass.lpszMenuName = (LPCSTR)IDR_MENU1; 第二种方法: HEMENU hmenu; hmenu=loadMenu(hInstance,(LPCSTR)IDR_MENU1);

2015-04-27 22:28:05 1316

原创 FZU 2138 久违的月赛之一

Problem 2138 久违的月赛之一 Accept: 172    Submit: 365 Time Limit: 1000 mSec    Memory Limit : 32768 KB  Problem Description 好久没举月赛了,这次lqw给大家出了5道题,因为hsy学长宣传的很到位,吸引了n个DDMM们来做,另一位kk学长说,全做对的要给金奖,做对4

2014-10-24 16:02:06 321

原创 FZU 2110 Star

Problem 2110 Star Accept: 477    Submit: 1422 Time Limit: 1000 mSec    Memory Limit : 32768 KB  Problem Description Overpower often go to the playground with classmates. They play and chat o

2014-10-24 16:00:38 449

原创 FOJ 1005 Fast Food

Problem 1005 Fast Food Accept: 730    Submit: 2020 Time Limit: 1000 mSec    Memory Limit : 32768 KB  Problem Description The fastfood chain McBurger owns several restaurants along a highwa

2014-10-22 22:02:00 1040 1

原创 POJ 1050 To the Max

To the Max Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 41100   Accepted: 21795 Description Given a two-dimensional array of positive and negative integer

2014-10-17 23:16:40 185

原创 POJ 1068 Parencodings

Parencodings Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 19983   Accepted: 12059 Description Let S = s1 s2...s2n be a well-formed string of parentheses.

2014-10-17 23:15:05 209

原创 POJ 1001 Exponentiation

Exponentiation Time Limit: 500MS   Memory Limit: 10000K Total Submissions: 137198   Accepted: 33557 Description Problems involving the computation of exact values of very

2014-10-17 23:11:00 295

原创 POJ 1013 Counterfeit Dollar

Counterfeit Dollar Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 40006   Accepted: 12747 Description Sally Jones has a dozen Voyageur silver dollars. Howev

2014-10-17 23:04:53 249

原创 POJ 1731 Orders(全排列)

Orders Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 9494   Accepted: 5796 Description The stores manager has sorted all kinds of goods in an alphabetical

2014-10-16 19:41:49 216

原创 POJ 1067 取石子游戏

取石子游戏 Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 34817   Accepted: 11667 Description 有两堆石子,数量任意,可以不同。游戏开始由两个人轮流取石子。游戏规定,每次有两种不同的取法,一是可以在任意的一堆中取走任意多的石子;二

2014-10-16 16:53:33 378

原创 POJ 1012 Joseph

Joseph Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 48332   Accepted: 18244 Description The Joseph's problem is notoriously known. For those who are not f

2014-10-16 16:28:06 228

原创 NYOJ 952 最大四边形

最大四边形 时间限制:1000 ms  |  内存限制:65535 KB 描述平面坐标上有n个点,你知道能组成四边形中面积最大的是多少吗? 输入 有多组测试数据 第一行整数n,表示有n个点,( 4 然后n行,每行x,y表示点的坐标。(没有重复的点) 输出 最大四边形的面积.(保留六位小数) 样例输入 5 0 0 0 4 4 0 4 4 2 3 样例输出

2014-10-09 20:59:18 451

原创 POJ 3061 Subsequence

Subsequence Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 8695   Accepted: 3441 Description A sequence of N positive integers (10 < N < 100 000), each of t

2014-10-09 20:25:58 251

原创 POJ 2318 TOYS(叉积+二分查找)

TOYS Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 10641   Accepted: 5116 Description Calculate the number of toys that land in each bin of a partitioned t

2014-10-08 01:14:33 351

原创 poj 2653 Pick-up sticks

Pick-up sticks Time Limit: 3000MS   Memory Limit: 65536K Total Submissions: 9884   Accepted: 3668 Description Stan has n sticks of various length. He throws them one at a

2014-10-01 21:35:05 330

转载 POJ题目分类

初期: 一.基本算法:      (1)枚举. (poj1753,poj2965)      (2)贪心(poj1328,poj2109,poj2586)      (3)递归和分治法.      (4)递推.      (5)构造法.(poj3295)      (6)模拟法.(poj1068,poj2632,poj1573,poj2993,poj2996) 二.图算法:   

2014-09-29 17:36:17 334

原创 POJ 1106 Transmitters(叉积)

Transmitters Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 4597   Accepted: 2460 Description In a wireless network with multiple transmitters sending on th

2014-09-29 17:30:06 251

原创 POJ 2255 Tree Recovery(二叉树重建)

Tree Recovery Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 11443   Accepted: 7182 Description Little Valentine liked playing with binary trees very much.

2014-08-23 22:33:03 265

原创 NYOJ 187 快速查找素数

快速查找素数 时间限制:1000 ms  |  内存限制:65535 KB 描述现在给你一个正整数N,要你快速的找出在2.....N这些数里面所有的素数。 输入给出一个正整数数N(N 但N为0时结束程序。 测试数据不超过100组 输出将2~N范围内所有的素数输出。两个数之间用空格隔开 样例输入 5 10 11 0 样例输出 2 3 5 2 3

2014-08-19 02:58:58 278

原创 POJ 1007 DNA Sorting

DNA Sorting Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 82585   Accepted: 33245 Description One measure of ``unsortedness'' in a sequence is the number o

2014-08-19 02:10:39 279

原创 POJ 1005 I Think I Need a Houseboat

I Think I Need a Houseboat Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 86790   Accepted: 37637 Description Fred Mapper is considering purchasing some lan

2014-08-19 02:07:09 219

原创 POJ 1003 Hangover

Hangover Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 101308   Accepted: 49252 Description How far can you make a stack of cards overhang a table? If you

2014-08-13 02:15:59 232

原创 POJ 1004 Financial Management

Financial Management Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 132156   Accepted: 57049 Description Larry graduated this year and finally has a job. He

2014-08-13 02:15:30 283

原创 POJ 1002 487-3279

487-3279 Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 242045   Accepted: 42924 Description Businesses like to have memorable telephone numbers. One way to

2014-08-13 01:50:48 320

原创 POJ 1006 Biorhythms(剩余定理)

Biorhythms Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 112941   Accepted: 35343 Description Some people believe that there are three cycles in a person's

2014-08-07 22:54:38 218

原创 POJ 2349 Arctic Network(最小生成树)

Arctic Network Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 10091   Accepted: 3342 Description The Department of National Defence (DND) wishes to connect

2014-08-05 23:50:22 432

原创 安慰奶牛

安慰奶牛 时间限制:1000 ms  |  内存限制:65535 KB 难度:3 描述   Farmer John最近变得非常懒,他不想再继续维护供奶牛通行的道路。这些道路被用来连接N个牧场,牧场编号为1到N。每一个牧场是一个奶牛的家。FJ计划除去M条道路中尽可能多的道路,但是还要保持牧场之间的连通。因为奶牛们的交通系统被破坏了,所以她们非常伤心,于是,FJ决定去安慰她

2014-08-05 01:39:00 331

原创 布线问题

布线问题 时间限制:1000 ms  |  内存限制:65535 KB 难度:4 描述南阳理工学院要进行用电线路改造,现在校长要求设计师设计出一种布线方式,该布线方式需要满足以下条件: 1、把所有的楼都供上电。 2、所用电线花费最少 输入第一行是一个整数n表示有n组测试数据。(n 每组测试数据的第一行是两个整数v,e. v表示学校里楼的总个数(v 随后

2014-08-05 01:32:29 298

原创 POJ 1080 Human Gene Functions

Human Gene Functions Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 16979   Accepted: 9438 Description It is well known that a human gene can be considered

2014-08-03 01:16:16 359

原创 POJ 1218 THE DRUNK JAILER

THE DRUNK JAILER Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 23392   Accepted: 14734 Description A certain prison contains a long hall of n cells, each r

2014-08-03 01:02:01 289

原创 开心的小明

开心的小明 描述小明今天很开心,家里购置的新房就要领钥匙了,新房里有一间他自己专用的很宽敞的房间。更让他高兴的是,妈妈昨天对他说:“你的房间需要购买哪些物品,怎么布置,你说了算,只要不超过N 元钱就行”。今天一早小明就开始做预算,但是他想买的东西太多了,肯定会超过妈妈限定的N 元。于是,他把每件物品规定了一个重要度,分为5 等:用整数1~5 表示,第5 等最重要。他还从因特网

2014-08-03 00:54:35 527

LL(1)文法分析器

使用MFC实现编译原理LL1语法分析器(含消除左递归)

2015-01-05

适合程序员的键盘练习程序

适合程序员的键盘练习程序,很好用 强烈推荐,有利于提高打字的正确率

2013-02-07

空空如也

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

TA关注的人

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