自定义博客皮肤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 617

原创 Android学习心得第五课

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

2016-03-03 09:30:42 638

原创 Android学习心得第四课

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

2016-03-01 21:56:02 569

原创 Android学习心得第三课

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

2016-02-25 22:18:07 3010940 2

原创 Android学习心得第二课

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

2016-02-23 22:11:18 813

原创 Android学习心得第一课

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

2016-02-21 14:25:12 1291

原创 poj 1285 拓扑排序

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

2013-08-24 00:11:00 1244

原创 poj 2585& zoj 2193

Window Pains Time Limit: 2 Seconds      Memory Limit: 65536 KB Boudreaux 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 1034

原创 hdu 4647

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

2013-08-08 23:57:52 897

原创 hdu 4648

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

2013-08-08 22:50:12 755

原创 poj 1562 搜索

Oil Deposits Time Limit: 1000MS   Memory Limit: 10000K Total Submissions: 11077   Accepted: 5991 Description The GeoSurvComp geologic survey company is responsible for de

2013-08-08 10:55:55 698

原创 poj 3050 搜索

Hopscotch Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 1462   Accepted: 1043 Description The cows play the child's game of hopscotch in a non-traditional

2013-08-07 22:49:43 994

原创 poj 3187

Backward Digit Sums Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 3330   Accepted: 1908 Description FJ and his cows enjoy playing a mental game. They write

2013-08-07 20:35:25 976

原创 poj 2718 搜索

Smallest Difference Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 2679   Accepted: 766 Description Given a number of distinct decimal digits, you can form

2013-08-07 19:44:51 1371

原创 poj 3669搜索

Meteor Shower Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 6111   Accepted: 1803 Description Bessie hears that an extraordinary meteor shower is coming; r

2013-08-07 15:52:10 1208

原创 poj 1979 搜索

Red and Black Time Limit: 1000MS   Memory Limit: 30000K Total Submissions: 19263   Accepted: 10259 Description There is a rectangular room, covered with square tiles. Eac

2013-08-07 10:49:40 728

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

原创 poj 3414 搜索

Pots Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 8211   Accepted: 3481   Special Judge Description You are given two pots, having the volume of A and B

2013-08-06 22:13:10 716

原创 poj 3087 模拟

Shuffle'm Up Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 4557   Accepted: 2167 Description A common pastime for poker players at a poker table is to shuf

2013-08-05 14:35:05 622

原创 cf 185div2 A

A. Whose sentence is it? time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output One day, liouzhou_101 got a chat r

2013-08-05 10:22:06 752

原创 cf 186 div2 B

B. Ilya and Queries time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Ilya the Lion wants to help all his fri

2013-08-05 10:22:00 945

原创 poj 3278 搜索

Catch That Cow Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 37800   Accepted: 11724 Description Farmer John has been informed of the location of a fugitiv

2013-08-04 23:56:27 621

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

原创 poj 2251 搜索

Dungeon Master Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 13923   Accepted: 5424 Description You are trapped in a 3D dungeon and need to find the quicke

2013-08-03 10:54:38 969

原创 poj 1321搜索

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

2013-08-02 22:35:32 756

原创 cf 189 div2 A - Magic Numbers

A. Magic Numbers time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A magic number is a number formed by conca

2013-08-01 01:32:23 1135

原创 poj 3009 搜索

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

2013-08-01 00:39:23 887

原创 poj 3083 搜索

Children of the Candy Corn Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 8062   Accepted: 3529 Description The cornfield maze is a popular Halloween treat.

2013-07-31 17:38:46 721

原创 poj 2488 搜索

A Knight's Journey Time Limit: 1000MS   Memory Limit: 65536K Total Submissions: 25493   Accepted: 8686 Description Background  The knight is getting bored of seeing the

2013-07-31 11:23:17 1051

原创 cf 190div 2 A

A. Ciel and Dancing time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Fox Ciel and her friends are in a dancin

2013-07-31 01:18:35 724

原创 hdu 4627

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

2013-07-31 00:18:55 854

原创 poj 1190 搜索+剪枝

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

2013-07-30 11:37:36 774

原创 cf div2 191 b

B. Hungry Sequence time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Iahub and Iahubina went to a date at a lu

2013-07-30 11:37:33 723

原创 cf div2 191 A

A. Flipping Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Iahub got bored, so he invented a game to b

2013-07-30 11:37:27 767

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

A. Square and Rectangles time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given n rectangles. The cor

2013-07-28 13:50:37 829

原创 cf 192 div2 B. Road Construction

B. Road Construction time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output A country has n cities. Initially, the

2013-07-28 13:50:25 785

原创 cf 193 div2 A. Down the Hatch!

A. Down the Hatch! time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Everybody knows that the Berland citizen

2013-07-28 13:50:18 725

原创 cf 194 div2 BEight Point Sets

B. Eight Point Sets time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Gerald is very particular to eight point

2013-07-28 13:50:14 852

原创 cf192 div2 A. Cakeminator

A. Cakeminator time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output You are given a rectangular cake, represented

2013-07-28 01:39:16 862

原创 cf194 div2 A. Candy Bags

A. Candy Bags time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output Gerald has n younger brothers and their number

2013-07-28 00:27:22 880

数据库课件

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

2013-09-22

空空如也

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

TA关注的人

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