自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

博客已搬迁到http://www.cnblogs.com/cniwoq/

博客已搬迁到http://www.cnblogs.com/cniwoq/

  • 博客(6)
  • 收藏
  • 关注

原创 天梯赛5-12 愿天下有情人都是失散多年的兄妹 【dfs】

5-12 愿天下有情人都是失散多年的兄妹   (25分)呵呵。大家都知道五服以内不得通婚,即两个人最近的共同祖先如果在五代以内(即本人、父母、祖父母、曾祖父母、高祖父母)则不可通婚。本题就请你帮助一对有情人判断一下,他们究竟是否可以成婚?输入格式:输入第一行给出一个正整数N(2 \le≤ N \le 10^4≤10​4​​),随后N行,每行按以下格式给出一个人的

2017-03-23 22:00:30 1563

原创 poj2718 Smallest Difference【贪心】

Smallest DifferenceTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 10453 Accepted: 2855DescriptionGiven a number of distinct decimal digits, you can for

2017-03-15 19:53:55 335

原创 HDU problem 5635 LCP Array【思维】

LCP ArrayTime Limit: 4000/2000 MS (Java/Others)    Memory Limit: 131072/131072 K (Java/Others)Total Submission(s): 1532    Accepted Submission(s): 468Problem DescriptionPeter has a str

2017-03-08 18:03:52 260

原创 codeforces 782C Andryusha and Colored Balloons【构造】

C. Andryusha and Colored Balloonstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAndryusha goes through a

2017-03-07 18:13:21 513

原创 HDU 4278 Faulty Odometer【水题】

Faulty OdometerTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 2017    Accepted Submission(s): 1398Problem Description  You are

2017-03-07 18:05:08 270

原创 codeforces B. The Meeting Place Cannot Be Changed【二分】

B. The Meeting Place Cannot Be Changedtime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe main road in Byt

2017-03-06 20:27:39 472

空空如也

空空如也

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

TA关注的人

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