自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

hange_db的专栏

梦想是一种戒不掉的习惯,既然戒不掉,那就为了它,去作出最大的努力!

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

原创 Android学习第六课 计时器小应用

算一算又有很多天没有写过总结了,最近不知道一直在忙些什么,时间就这样过去了,今天写了一个关于倒计时的小应用,算是把关于线程的东西进行了一个回顾。 首先是一个界面,这个因为只是为了复习知识点,界面就是最丑的白色型界面。 然后就是倒计时的逻辑protected void onCreate(Bundle savedInstanceState) { super.onCreate(

2016-03-13 13:32:27 502

原创 Android学习心得第五课

今天算是遇到了Android学习上面的一块硬骨头了,目前算是基本理解了,后面还是要时不时的来回顾一下,温故而知新,下面就来回顾一下我今天学习的知识, 今天的知识点就一个那就是关于BaseAdapter, 上一节心得,我专门对数据适配器进行了一个解释,今天在慕课上看到一个比较好的图,这里分享一下。 从图中我们可以看出为什么需要数据适配器这么一个东西,因为数据源是各种各样的,但是list

2016-03-03 09:30:42 502 1

原创 Android学习心得第四课

算算和上一次的博客又隔了一个星期了,最近这一周效率不是太高,本来一两天就可以完成的任务硬生生的花了快一个星期才搞完,然而发现前面学的东西又开始遗忘了,下面还是先来把我这几天学的东西给记录一下。 第一部分 PagerAdapter和fragmentAdapter 首先是关于PagerAdapter,PagerAdapter是ViewPager的适配器,通过该方法,可以实现控件的滑动效果

2016-03-01 21:56:02 464

原创 Android学习心得第三课

今天学习了Android的一个重要的控件listview,最近的学习状态和前几天相比,下降的还是比较明显的,这里要给自己提一个醒,千里之行始于足下,后面一定要珍惜时间,戒骄戒躁。 下面来对listview进行一个总结,listview顾名思义是一个列表形式的控件,表现的形式如下图所示,这里采用的就是listview的形式来排列的。要完成相应的视图可以用到两种适配器,分别是 ArrayAdap

2016-02-25 22:18:07 3010750 3

原创 Android学习心得第二课

用了接近一个星期的时间终于将慕课上的Android第一季给看完了,在这里不得不给那位amos老师打一个广告,讲的真的很赞。下面直接总结我这周学习的几个点吧。 第一部分 ToggleButton ToggleButton是一个多状态的按钮,通过这个按钮可以达到一个状态的切换,比如下面这个例子所讲解的。 public class MainActivity exte

2016-02-23 22:11:18 746 1

原创 Android学习心得第一课

说来惭愧,做事情从来都是半途而废,考研也是,哎,一直说要学习点什么,结果从研一上半学期一直到现在才真正开始第一次实践,不过知耻后勇,希望能过在未来的日子里面能够一直坚持下去,去真正的做成功一件事情。第一部分 3种监听方式 在Android里面一个按钮被点击后应该会触发相应的动作,这个时候就需要一个监听器来告诉程序,当按钮被点击后应该产生一个怎样的动作。这里总共有三种监听的

2016-02-21 14:25:12 1157 2

原创 poj 1285 拓扑排序

确定比赛名次Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 8724    Accepted Submission(s): 3390Problem Description有N个比赛队(1 

2013-08-24 00:11:00 1163

原创 poj 2585& zoj 2193

Window PainsTime Limit: 2 Seconds      Memory Limit: 65536 KBBoudreaux likes to multitask, especially when it comes to using his computer. Never satisfied with just running one application at

2013-08-18 20:59:16 951

原创 hdu 4647

Another Graph GameTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 1274    Accepted Submission(s): 460Problem DescriptionAlice and Bo

2013-08-08 23:57:52 794 1

原创 hdu 4648

Magic Pen 6Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65535/32768 K (Java/Others)Total Submission(s): 1361    Accepted Submission(s): 467Problem DescriptionIn HIT, many people

2013-08-08 22:50:12 689

原创 poj 1562 搜索

Oil DepositsTime Limit: 1000MS Memory Limit: 10000KTotal Submissions: 11077 Accepted: 5991DescriptionThe GeoSurvComp geologic survey company is responsible for de

2013-08-08 10:55:55 622

原创 poj 3050 搜索

HopscotchTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 1462 Accepted: 1043DescriptionThe cows play the child's game of hopscotch in a non-traditional

2013-08-07 22:49:43 877

原创 poj 3187

Backward Digit SumsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 3330 Accepted: 1908DescriptionFJ and his cows enjoy playing a mental game. They write

2013-08-07 20:35:25 884

原创 poj 2718 搜索

Smallest DifferenceTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 2679 Accepted: 766DescriptionGiven a number of distinct decimal digits, you can form

2013-08-07 19:44:51 1254

原创 poj 3669搜索

Meteor ShowerTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 6111 Accepted: 1803DescriptionBessie hears that an extraordinary meteor shower is coming; r

2013-08-07 15:52:10 1091

原创 poj 1979 搜索

Red and BlackTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 19263 Accepted: 10259DescriptionThere is a rectangular room, covered with square tiles. Eac

2013-08-07 10:49:40 656

原创 uva 10047 搜索

Problem A: The Monocycle A monocycle is a cycle that runs on one wheel and the one we will be considering is a bit more special. It has a solid wheel colored with five different colors as

2013-08-06 22:19:27 721

原创 poj 3414 搜索

PotsTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8211 Accepted: 3481 Special JudgeDescriptionYou are given two pots, having the volume of A and B

2013-08-06 22:13:10 621

原创 poj 3087 模拟

Shuffle'm UpTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 4557 Accepted: 2167DescriptionA common pastime for poker players at a poker table is to shuf

2013-08-05 14:35:05 552

原创 cf 185div2 A

A. Whose sentence is it?time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day, liouzhou_101 got a chat r

2013-08-05 10:22:06 681

原创 cf 186 div2 B

B. Ilya and Queriestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIlya the Lion wants to help all his fri

2013-08-05 10:22:00 835

原创 poj 3278 搜索

Catch That CowTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 37800 Accepted: 11724DescriptionFarmer John has been informed of the location of a fugitiv

2013-08-04 23:56:27 568

原创 uva 11624 搜索

11624 - Fire!Time limit: 1.000 seconds#include #include const int MAXN = 1001;struct point{ int x, y,step; bool fire;// 迷宫搜索到的位置是否着火} que[MAXN*MAXN];int r, c, fx, fy;int dx[4

2013-08-04 17:43:45 725

原创 poj 2251 搜索

Dungeon MasterTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 13923 Accepted: 5424DescriptionYou are trapped in a 3D dungeon and need to find the quicke

2013-08-03 10:54:38 909

原创 poj 1321搜索

棋盘问题Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 18653 Accepted: 9256Description在一个给定形状的棋盘(形状可能是不规则的)上面摆放棋子,棋子没有区别。要求摆放时任意的两个棋子不能放在棋盘中的同一行或者同一列,请编程求解

2013-08-02 22:35:32 700

原创 cf 189 div2 A - Magic Numbers

A. Magic Numberstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA magic number is a number formed by conca

2013-08-01 01:32:23 1072

原创 poj 3009 搜索

Curling 2.0Time Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8582 Accepted: 3603DescriptionOn Planet MM-21, after their Olympic games this year, curling i

2013-08-01 00:39:23 818 1

原创 poj 3083 搜索

Children of the Candy CornTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 8062 Accepted: 3529DescriptionThe cornfield maze is a popular Halloween treat.

2013-07-31 17:38:46 668

原创 poj 2488 搜索

A Knight's JourneyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 25493 Accepted: 8686DescriptionBackground The knight is getting bored of seeing the

2013-07-31 11:23:17 981

原创 cf 190div 2 A

A. Ciel and Dancingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFox Ciel and her friends are in a dancin

2013-07-31 01:18:35 650

原创 hdu 4627

The Unsolvable ProblemTime Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 318    Accepted Submission(s): 179Problem DescriptionThere

2013-07-31 00:18:55 769

原创 poj 1190 搜索+剪枝

生日蛋糕Time Limit: 1000MS Memory Limit: 10000KTotal Submissions: 12183 Accepted: 4302Description7月17日是Mr.W的生日,ACM-THU为此要制作一个体积为Nπ的M层生日蛋糕,每层都是一个圆柱体。 设从下往上数第i(1 Ri+

2013-07-30 11:37:36 693

原创 cf div2 191 b

B. Hungry Sequencetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIahub and Iahubina went to a date at a lu

2013-07-30 11:37:33 652

原创 cf div2 191 A

A. Flipping Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIahub got bored, so he invented a game to b

2013-07-30 11:37:27 702

原创 cf MemSQL start[c]up Round 1 A Square and Rectangles

A. Square and Rectanglestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given n rectangles. The cor

2013-07-28 13:50:37 756

原创 cf 192 div2 B. Road Construction

B. Road Constructiontime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA country has n cities. Initially, the

2013-07-28 13:50:25 703

原创 cf 193 div2 A. Down the Hatch!

A. Down the Hatch!time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputEverybody knows that the Berland citizen

2013-07-28 13:50:18 653

原创 cf 194 div2 BEight Point Sets

B. Eight Point Setstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGerald is very particular to eight point

2013-07-28 13:50:14 778

原创 cf192 div2 A. Cakeminator

A. Cakeminatortime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a rectangular cake, represented

2013-07-28 01:39:16 782

原创 cf194 div2 A. Candy Bags

A. Candy Bagstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGerald has n younger brothers and their number

2013-07-28 00:27:22 788

数据库课件

数据库课件,可以帮助更快的掌握数据库的相关知识!你可以通过课件,了解数据库。

2013-09-22

空空如也

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

TA关注的人

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