自定义博客皮肤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)
  • 资源 (2)
  • 收藏
  • 关注

原创 HDU1715 大菲波数

HDU 1715 大菲波数Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 22964 Accepted Submission(s): 8264Problem Description Fibonacci数列,定义如下: ...

2018-05-29 21:02:34 147

原创 关于初始化int数组

关于C++初始化int数组在做题目时,我发现经常使用的memset()在把int数组初始化为1时失去了作用:memset()只能将数组初始化为-1或0memset()函数初始化出现问题的原因memset()本来是用来初始化char型数组的,所以我们可以想到memset()函数是一个个字节对数组进行初始化的。然而,int型的数据占4个字节。memset()之所以可以把int型...

2018-05-23 22:24:51 7060

原创 2083 Fractal

FractalTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 11143 Accepted: 4988DescriptionA fractal is an object or quantity that displays self-similarity, in a somewhat technical sense, on all ...

2018-05-19 21:47:45 215

原创 2018湘潭邀请赛K题题解

2018湘潭邀请赛K题题解K. 2018Given a, b, c, d, find out the number of pairs of integers (x, y) where a x b, c y d and x y is a multiple of 2018. InputThe input consists of several test cases and is terminated ...

2018-05-16 22:04:41 521

原创 2018湘潭邀请赛G题题解

2018湘潭邀请赛G题题解G. String TransformationBobo has a string S = s1s2 . . . sn consists of letter a, b and c. He can transform the string by inserting or deleting substrings aa, bb and abab.Formally, A = u ...

2018-05-16 21:31:30 290

原创 2018湘潭邀请赛F题题解

2018湘潭邀请赛F题题解F.  SortingBobo has n tuples (a1, b1, c1), (a2, b2, c2), . . . , (an, bn, cn). He would like to find the lexicographically smallest permutation p1, p2, . . . , pn of 1, 2, . . . , n such ...

2018-05-16 21:17:39 270

原创 2018湘潭邀请赛A题题解

2018湘潭邀请赛A题题解做题网址:点击打开链接下面是原题题目:A. Easy h-indexThe h-index of an author is the largest h where he has at least h papers with citations not less than h.Bobo has published many papers. Given a0, a1, a2,...

2018-05-16 20:52:28 539

360笔试编程题-题解

很好的360笔试编程内推题,需要较好的编程功底,当然对于一些人来说是很简单

2017-10-12

完美世界2017校园招聘编程题-题解

有利于大家准备学习的pdf,明白2017年完美世界校园招聘所考的内容。

2017-10-12

空空如也

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

TA关注的人

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