自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

  • 博客(24)
  • 收藏
  • 关注

转载 android之intent的Flag详解

1. Task是包含一系列Activity的堆栈, 遵循先进后出原则. 2. Task默认行为:    (1) 前提: Activity A和Activity B在同一个应用中.          操作: Activity A启动开僻Task堆栈(堆栈状态: A), 在Activity A中启动Activity B(堆栈状态: AB), 按下BACK返回键(堆栈状态: A)

2013-02-28 22:00:39 1180

android之intent的Flag详解

 1.Task是包含一系列Activity的堆栈,遵循先进后出原则.2.Task默认行为:(1)前提:ActivityA和ActivityB在同一个应用中.操作:ActivityA启动开僻Task堆栈(堆栈状态:A),在ActivityA中启动ActivityB(堆栈状态:AB),按下BACK返回键(堆栈状态:A).(2)前提:ActivityA和ActivityB在同一个应...

2013-02-28 22:00:00 120

原创 UVA 488 - Triangle Wave

In this problem you are to generate a triangular wave form according to a specified pair of Amplitude and Frequency.Input and OutputThe input begins with a single positive integer on a line by i

2013-02-27 20:56:56 897

UVA 488 - Triangle Wave

In this problem you are to generate a triangular wave form according to a specified pair of Amplitude and Frequency. Input and OutputThe input begins with a single positive integer on a line by...

2013-02-27 20:56:00 79

原创 UVA 445 - Marvelous Mazes

Your mission, if you decide to accept it, is to create a maze drawing program. A maze will consist of the alphabetic characters A-Z, * (asterisk), and spaces.Input and OutputYour program will ge

2013-02-27 15:42:05 853

UVA 445 - Marvelous Mazes

 Your mission, if you decide to accept it, is to create a maze drawing program. A maze will consist of the alphabetic charactersA-Z,*(asterisk), and spaces. Input and OutputYour program will ...

2013-02-27 15:42:00 171

转载 解决IllegalStateException: Can not perform this action after onSaveInstanceState

今天使用Fragment的时候,出现了这个错误 IllegalStateException: Can not perform this action after onSaveInstanceState:E/AndroidRuntime(12747): Caused by: java.lang.IllegalStateException: Can not perform th

2013-02-26 22:27:32 1170

解决IllegalStateException: Can not perform this action after onSaveInstanceState

今天使用Fragment的时候,出现了这个错误IllegalStateException: Can not perform this action after onSaveInstanceState: E/AndroidRuntime(12747):Causedby:java.lang.IllegalStateException:Cannotperformthisactionafter...

2013-02-26 22:27:00 168

原创 UVA 490 - Rotating Sentences

In ``Rotating Sentences,'' you are asked to rotate a series of input sentences 90 degrees clockwise. So instead of displaying the input sentences from left to right and top to bottom, your program wil

2013-02-26 17:18:58 1041

UVA 490 - Rotating Sentences

In ``Rotating Sentences,'' you are asked to rotate a series of input sentences 90 degrees clockwise. So instead of displaying the input sentences from left to right and top to bottom, your program wi...

2013-02-26 17:18:00 200

原创 UVA 414 - Machined Surfaces

An imaging device furnishes digital images of two machined surfaces that eventually will be assembled in contact with each other. The roughness of this final contact is to be estimated.A digital i

2013-02-26 16:55:59 831

UVA 414 - Machined Surfaces

An imaging device furnishes digital images of two machined surfaces that eventually will be assembled in contact with each other. The roughness of this final contact is to be estimated. A digital...

2013-02-26 16:55:00 114

原创 UVA 494 Kindergarten Counting Game

Everybody sit down in a circle. Ok. Listen to me carefully.``Woooooo, you scwewy wabbit!''Now, could someone tell me how many words I just said?Input and OutputInput to your program will con

2013-02-26 04:13:38 682

UVA 494 Kindergarten Counting Game

Everybody sit down in a circle. Ok. Listen to me carefully.``Woooooo, you scwewy wabbit!''Now, could someone tell me how many words I just said? Input and OutputInput to your program will c...

2013-02-26 04:13:00 67

原创 UVA 458 The Decoder

The DecoderWrite a complete program that will correctly decode a set of characters into a valid message. Your program should read a given file of a simple coded set of characters and print the exa

2013-02-26 03:08:26 721

UVA 458 The Decoder

The DecoderWrite a complete program that will correctly decode a set of characters into a valid message. Your program should read a given file of a simple coded set of characters and print the exac...

2013-02-26 03:08:00 89

原创 UVA 10030 Ecological Premium

Problem AEcological PremiumInput: standard inputOutput: standard outputTime Limit: 1 secondMemory Limit: 32 MBGerman farmers are given a premium depending on the conditions at their farmya

2013-02-26 02:40:51 879

UVA 10030 Ecological Premium

Problem AEcological PremiumInput:standard inputOutput:standard outputTime Limit:1 secondMemory Limit:32 MBGerman farmers are given a premium depending on the conditions at their farmyard....

2013-02-26 02:40:00 80

原创 UVA 10071 Back to High School Physics

A particle has initial velocity and constant acceleration. If its velocity after certain time is v then what will its displacement be in twice of that time? InputThe input will contain two integ

2013-02-26 02:15:41 739

UVA 10071 Back to High School Physics

A particle has initial velocity and constant acceleration. If its velocity after certain time is v then what will its displacement be in twice of that time? InputThe input will contain two inte...

2013-02-26 02:15:00 84

原创 UVA 10055 Hashmat the brave warrior

Hashmat is a brave warrior who with his group of young soldiers moves from one place to another to fight against his opponents. Before fighting he just calculates one thing, the difference between his

2013-02-26 02:13:14 938

UVA 10055 Hashmat the brave warrior

Hashmat is a brave warrior who with his group of young soldiers moves from one place to another to fight against his opponents. Before fighting he just calculates one thing, the difference between hi...

2013-02-26 02:13:00 75

原创 Leetcode 问题分类

http://leetcode.cloudfoundry.com/IdQuestionDifficultyFreqencyData StructuresAlgorithms1Two Sum25arraysetsorttwo pointers2Add

2013-02-25 03:41:29 9504

Leetcode 问题分类

http://leetcode.cloudfoundry.com/  IdQuestionDifficultyFreqencyData StructuresAlgorithms1Two Sum25arraysetsorttwo pointers2Add Two Numbers34linked li...

2013-02-25 03:41:00 648

空空如也

空空如也

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

TA关注的人

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