自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(21)
  • 资源 (1)
  • 收藏
  • 关注

原创 Android 加载本地图片(文件管理器中的图片墙)

Android 加载本地图片(文件管理器中的图片墙) --关于图片墙的一些感悟与疑问,希望大家共同探讨。 (By伊叶也) 图片显示及监听 1、图片显示:基本上就5种显示形式(如果同时嵌入5种形式,采用什么设计模式好些(策略模式?)) (1)纵向不规则堆放图片 2-5列,建议以像素大小为限(?),要为每一流进行标记(长度),[图片压缩采用纵向大小(?)为基本单位,进行等比例压缩] (2

2014-04-10 11:11:34 4932

原创 android文件管理器需求分析之一

正在做一个android文件管理器,代码基本完成,但由于一直以来面向过程开发的,到后期代码量不断增大,Bug频繁出现,修改代码变得非常繁琐、困难。 于是我想从需求分析开始重新对项目进行整合、编码。 算是第一次写需求分析,必然会出现很多Bug,希望前辈们能给予一些建议,求大家给予修正或分享一些想法。

2014-03-24 21:33:31 3263 2

原创 uva10514Weights and Measures

I know, up on top you are seeing great sights, But down at the bottom, we, too, should have rights. We turtles can't stand it. Our shells will all crack! Besides, we need food. We are starving!" gr

2012-10-28 16:29:15 540

原创 uva10405

第一次写dp,感觉还不错,虽然在声明d数组时,用了char型,好衰。。。。。 写dp好有艺术感。 最长公共子序列(LCS) 2种解法,好像还有nlog(n)的算法。以后在写 #include #include #include #define N 1020 using namespace std; char a[N],b[N]; int lena,lenb,d[N][N];

2012-03-19 21:14:04 691

原创 uva10603

Problem D Fill   There are three jugs with a volume of a, b and c liters. (a,b, and c are positive integers not greater than 200). The first and the secondjug are initially empty, while the third

2012-03-18 15:39:38 1120 2

原创 uva529

Addition Chains  An addition chain for n is an integer sequence $" align="middle" src="http://uva.onlinejudge.org/external/5/529img1.gif" width="168" height="30"> with the following four prop

2012-03-11 22:08:12 717

原创 uva10047

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 shown in t

2012-02-27 22:20:03 996

原创 124

Background Order is an important concept in mathematics and in computer science. For example, Zorn's Lemma states: ``a partially ordered set in which every chain has an upper bound contains a maximal

2011-12-11 16:31:57 611

原创 uva196

Spreadsheet In 1979, Dan Bricklin and Bob Frankston wrote VisiCalc, the first spreadsheet application. It became a huge success and, at that time, was the killer application for the Apple

2011-12-10 15:04:44 946

原创 uva10054

Problem D: The Necklace  My little sister had a beautiful necklace made of colorful beads. Twosuccessive beads in the necklace shared a common color at their meeting point.The figure below

2011-12-05 23:21:04 1077

原创 uva705

Slash Maze  By filling a rectangle with slashes (/) and backslashes (), youcan generate nice little mazes. Here is an example: As you can see, paths in the maze cannot branch, so the w

2011-11-16 10:37:54 756

原创 uva10562

Problem D Undraw the Trees Input:StandardInput Output: Standard Output Time Limit: 2 Seconds   Professor Homer has been reported missing. We suspect thathis recent research works might have ha

2011-11-12 16:57:05 674

原创 uva712

S-Trees A Strange Tree (S-tree) over the variable set is a binary tree representing a Boolean function . Each path of the S-tree begins at the root node and consists of n+1 nodes. Each of

2011-11-12 14:53:42 816

原创 uva11234

2007/2008 ACM International Collegiate Programming Contest University of Ulm Local Contest Problem E: Expressions Arithmetic expressions are usually written with the operators in between the t

2011-11-12 12:32:09 733

原创 uva10706

Number Sequence Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu [Submit]  [Go Back]  [Status]   Description Problem B Number Sequence Input: stand

2011-11-09 23:32:41 713

原创 Uva10148

Problem F "Advertisement"   The Department of Recreation has decided that it must be more profitable, and it wants to sell advertising space along a popular jogging path at a local park. They hav

2011-11-09 15:17:27 633

原创 uva757

Gone Fishing  John is going on a fishing trip. He has h hours available ( ), and there aren lakes in the area ( ) all reachable along a single, one-way road. John starts at lake 1, but he

2011-11-07 20:25:01 648

原创 uva136

Ugly Numbers  Ugly numbers are numbers whose only prime factors are 2, 3 or 5.  The sequence 1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, ... shows the first 11 ugly numbers.  By convention,

2011-11-07 11:19:48 810

原创 uva10400

Problem H Game Show Math Input: standard input Output: standard output Time Limit: 15 seconds A game show in Britainhas a segment where it gives its contestants a sequence of positive numbers

2011-11-07 10:41:45 525

原创 uva10954

Add All Time Limit: 3000MS Memory Limit: Unknown 64bit IO Format: %lld & %llu [Submit]  [Go Back]  [Status]   Description Problem F Add All Input: standard input Outpu

2011-11-07 10:36:03 854

原创 uva11129

Problem A: An antiarithmetic permutation A permutation of n+1 is a bijective function of the initialn+1 natural numbers: 0, 1, ... n.  A permutationp is called antiarithmetic if there is no subseque

2011-11-07 10:32:23 592

飞机大战游戏

飞机射击游戏设计,飞机能改变形状,设置不同关卡。

2012-11-29

空空如也

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

TA关注的人

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