自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

好吗好的~的技术博客

Stay Hungry, Stay Foolish.

  • 博客(11)
  • 资源 (2)
  • 收藏
  • 关注

原创 atoi() 与 itoa()函数用法

函数名: atoi 功 能: 把字符串转换成整型数 函数说明: atoi()会扫描参数nptr字符串,检测到第一个数字或正负符号时开始做类型转换,之后检测到非数字或结束符 /0 时停止转换,返回整型数。 用 法: int atoi(const char *nptr); 需要用到的头文件: #include < stdlib.h>#include <cstdio>#include <cstd

2017-08-29 10:23:05 586

原创 POJ-3258-River Hopscotch(二分+贪心)

DescriptionEvery year the cows hold an event featuring a peculiar version of hopscotch that involves carefully jumping from rock to rock in a river. The excitement takes place on a long, straight river

2017-08-05 22:10:45 397

原创 POJ-1089-Intervals(贪心)

DescriptionThere is given the series of n closed intervals [ai; bi], where i=1,2,…,n. The sum of those intervals may be represented as a sum of closed pairwise non−intersecting intervals. The task is t

2017-08-04 20:35:41 371

原创 HDU-1789-Doing Homework again(贪心)

Problem Description Ignatius has just come back school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher gives him a deadline of handing in the homework. If Ignatius hands in t

2017-08-04 11:59:58 186

原创 HDU-4726-K - Kia's Calculation(贪心)

Doctor Ghee is teaching Kia how to calculate the sum of two integers. But Kia is so careless and alway forget to carry a number when the sum of two digits exceeds 9. For example, when she calculates 45

2017-08-03 21:34:28 387 1

原创 HDU-4722-Good Numbers(找规律)

Online Judge Online Exercise Online Teaching Online Contests Exercise Author F.A.Q Hand In Hand Online Acmers Forum | Discuss Statistical Charts Problem Archive Realtime Judge Status Authors

2017-08-03 15:03:56 342

原创 动态规划-记忆化搜索

刘汝佳第九章–动态规划–数学三角形问题 题目大意:有一个由非负整数组成的三角形,第一行只有一个数,除了最下行之外每个数的的左下方和右下方各有一个数。从第一行的数开始,每次可以往左下或右下走一格,直到走到最下行,把沿途经过的数全部加起来,如何走才能使这个数最大? 1 3 2 4 10 1 4 3 2 20#include <cstdio>#inc

2017-08-02 12:01:45 286

原创 二分查找法

二分查找法的前提就是这个数组要预先已经排好序了。 思想先将要找的数和中间的那个数相比,比中间数大的话就在中间数的右边开始找,小的话就在中间数的左边开始找。 代码如下:#include <cstdio>int erfen(int low,int high,int i[],int target){ if(low>high) return -1; if(i[(low

2017-08-02 10:29:46 177

原创 HDU-2544-最短路

任意门:http://acm.hdu.edu.cn/showproblem.php?pid=2544Problem Description 在每年的校赛里,所有进入决赛的同学都会获得一件很漂亮的t-shirt。但是每当我们的工作人员把上百件的衣服从商店运回到赛场的时候,却是非常累的!所以现在他们想要寻找最短的从商店到赛场的路线,你可以帮助他们吗?Input 输入包括多组数据。每组数据第一行是两个

2017-08-01 20:11:42 246

原创 HDU-1874-Dijkstra算法

任意门:http://acm.hdu.edu.cn/showproblem.php?pid=1874HD-1874-畅通工程续Problem Description 某省自从实行了很多年的畅通工程计划后,终于修建了很多路。不过路多了也不好,每次要从一个城镇到另一个城镇时,都有许多种道路方案可以选择,而某些方案要比另一些方案行走的距离要短很多。这让行人很困扰。现在,已知起点和终点,请你计算出要从起点

2017-08-01 19:57:15 239

原创 POJ-2478-Farey Sequence-递推求欧拉函数

DescriptionThe Farey Sequence Fn for any integer n with n >= 2 is the set of irreducible rational numbers a/b with 0 < a < b <= n and gcd(a,b) = 1 arranged in increasing order. The first few are F2 =

2017-08-01 10:51:11 289

layx实现弹窗+JS实现雪花特效,手风琴特效

首页采用Bootstrap的导航栏,导航进入layx弹窗,进入弹窗后课看见雪花特效,手风琴特效,canvas特效

2018-09-17

JAVAWEB实现梦网云短信验证

这个文件只需要改动那个apikey就可以了,然后在梦网云官网下载demo的,导入里面的jar,将jar包和这个文件一并放入项目中就可以调用了,SSM,SpringBoot都可以用~~~

2018-09-05

空空如也

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

TA关注的人

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