自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 Periodic Strings

Description  Periodic Strings  A character string is said to have period k if it can be formed by concatenating one or more repetitions of another string of length k. For example

2014-12-21 11:04:55 336

原创 Digit Counting

Description Trung is bored with his mathematics homeworks. He takes a piece of chalk and starts writing a sequence of consecutive integers starting with 1 to N(1  N < 10000) . After that, he co

2014-12-21 10:51:51 286

原创 Score

Description There is an objective test result such as ``OOXXOXXOOO". An `O' means a correct answer of a problem and an `X' means a wrong answer. The score of each problem of this test is calculat

2014-12-21 10:38:05 722

原创 翻转吧!字符串

题目描述 最近老师给von出了一道编程题目,题意描述如下:给定一个字符串例如“I am a student”输出如下格式:“student a am I”,咱们都知道von有时脑子短路,这下把他难坏了。他只好请他最好的朋友你来帮忙了。 输入 第一行一个整数T,表示几组数据,接下来有T行字符串(仅包含大写字母(A-Z)小写字母(a-z)和空格)(提示:字符串最后结尾保证不会有多余空

2014-12-12 18:41:27 259

原创 顺序建立链表

题目描述 输入N个整数,按照输入的顺序建立单链表存储,并遍历所建立的单链表,输出这些数据。 输入 第一行输入整数的个数N; 第二行依次输入每个整数。 输出 输出这组整数。 示例输入         # include #include struct node {     int data;                             //数据域

2014-12-12 13:43:22 444

空空如也

空空如也

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

TA关注的人

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