自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(9)
  • 收藏
  • 关注

原创 canArrangeWords

/*a[]为开头字母组成的数组b[]为结尾字母组成的数组flag[i]表示第i个单词在组串的过程中的位置,flag[i]=0表示单词不在串中,flag[i]=x表示单词在串中的第x个位置depth表示当前串中已经有多少个单词indexa表示当前串的第一个单词在数组中的下标indexb表示当前串的最后一个单词在数组中的下标 */#include#includeint canArr

2016-04-21 20:03:25 465

原创 LeetCode Longest Substring Without Repeating Characters

Longest Substring Without Repeating Characters Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating lette

2015-02-03 19:21:25 190

原创 LeetCode Two Sum

Two SumGiven an array of integers, find two numbers such that they add up to a specific target number.The function twoSum should return indices of the two numbers such that they add up to th

2015-02-03 17:46:10 187

原创 poj1006

BiorhythmsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 114714 Accepted: 35962DescriptionSome people believe that there are three cycles in a person

2014-10-15 16:40:36 214

原创 poj1002

487-3279Time Limit: 2000MS Memory Limit: 65536KTotal Submissions: 245711 Accepted: 43570DescriptionBusinesses like to have memorable telephone numbers. One way

2014-10-13 21:08:41 175

poj1003

HangoverTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 102781 Accepted: 50010DescriptionHow far can you make a stack of cards overhang a table? If yo

2014-10-13 19:20:40 60

原创 poj1003

HangoverTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 102781 Accepted: 50010DescriptionHow far can you make a stack of cards overhang a table? If yo

2014-10-13 19:19:50 161

原创 poj1000

A+B ProblemTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 335853 Accepted: 186291DescriptionCalculate a+bInputTwo integer a,b (0OutputOut

2014-10-13 15:15:42 184

原创 poj1000

#includeint main(){int a,b;scanf("%d%d",&a,&b);printf("%d\n",a + b);return 0;}

2014-10-13 15:12:53 36

空空如也

空空如也

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

TA关注的人

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