自定义博客皮肤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 #include int canArr

2016-04-21 20:03:25 447

原创 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 174

原创 LeetCode Two Sum

Two Sum Given 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 177

原创 poj1006

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

2014-10-15 16:40:36 201

原创 poj1002

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

2014-10-13 21:08:41 158

poj1003

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

2014-10-13 19:20:40 51

原创 poj1003

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

2014-10-13 19:19:50 150

原创 poj1000

A+B Problem Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 335853   Accepted: 186291 Description Calculate a+b Input Two integer a,b (0 Output Out

2014-10-13 15:15:42 173

原创 poj1000

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

2014-10-13 15:12:53 22

空空如也

空空如也

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

TA关注的人

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