自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

小华在努力~

让博客见证自己的成长

  • 博客(12)
  • 资源 (1)
  • 收藏
  • 关注

原创 Codeforces Round #221 (Div. 2) B. I.O.U.

B. I.O.U. time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Imagine that there is a group of three friends: A,

2013-12-25 00:28:40 926

原创 Codeforces Round #221 (Div. 2) A. Lever

A. Lever time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You have a description of a lever as string s. We'l

2013-12-25 00:10:01 739

原创 HDU 1203 I NEED A OFFER!

I NEED A OFFER! Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 13764    Accepted Submission(s): 5354 Problem Description Speakless

2013-12-16 14:18:11 537

原创 HDU 2602 Bone Collector

Bone Collector Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 23264    Accepted Submission(s): 9443 Problem Description Many years

2013-12-15 23:02:22 478

原创 Codeforces #219 (Div. 2) A. Collecting Beats is Fun

A. Collecting Beats is Fun time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Cucumber boy is fan of Kyubeat, a

2013-12-14 13:40:58 873

原创 Codeforces #219 (Div. 2) C. Counting Kangaroos is Fun

C. Counting Kangaroos is Fun time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output There are n kangaroos with pock

2013-12-14 13:35:53 729

原创 Codeforces #218 (Div. 2) B. Fox Dividing Cheese

B. Fox Dividing Cheese time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Two little greedy bears have found tw

2013-12-08 22:57:01 1333

原创 Codeforces #218 (Div. 2) A. K-Periodic Array

A. K-Periodic Array time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output This task will exclusively concentrate o

2013-12-08 20:55:27 842

原创 Codeforces #217 (Div. 2) B. Berland Bingo

Lately, a national version of a bingo game has become very popular in Berland. There are n players playing the game, each player has a card with numbers. The numbers on each card are distinct, but d

2013-12-08 00:33:06 810

原创 Codeforces #217 (Div. 2) A Rook, Bishop and King

Little Petya is learning to play chess. He has already learned how to move a king, a rook and a bishop. Let us remind you the rules of moving chess pieces. A chessboard is 64 square fields organized i

2013-12-07 23:21:33 917

原创 成长路上的小程序之——图的邻接矩阵DFS、BFS

之所以发这篇博客是不甘心我写了这么长的代码,结果一个贱人告诉我存储方式用错了。。。 这里的BFS因为嫌写队列函数太麻烦,所以直接用数组加标识front、rear完成队列的操作,反正节点个数小,使用数组并不会浪费很多空间。 贴上代码纪念一下我曾经二过: #define MAX -1; #define MAX_VERTEX_NUM 20 typedef enum {DG,DN,UDG,UDN}

2013-12-07 09:53:44 833

原创 成长路上的小程序之——图的邻接表DFS、BFS

第八次数据结构上机内容:使用图的邻接表存储结构完成图的DFS、BFS遍历 本来提前就用邻接矩阵写完了,但昨晚一个贱人突然告诉我老师要求用邻接表写。。。于是加班加点,终于在今早搞出来了! 上机课的时候因为没带书,所以完全是自己敲的,期间被一个无限循环困住了!!! 在邻接链表插入新节点过程中,为p申请新空间,插入后就释放空间 后来检查到错在每次插入边都释放空间了,应该在整个函数完成时释放空间!

2013-12-07 09:47:39 830

C语言竞赛题目大全

内含竞赛题目,含寄存器操作、破译密码、小孩报数问题、方阵填数。

2013-08-20

空空如也

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

TA关注的人

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