- 博客(21)
- 资源 (1)
- 收藏
- 关注
原创 Android 加载本地图片(文件管理器中的图片墙)
Android 加载本地图片(文件管理器中的图片墙)--关于图片墙的一些感悟与疑问,希望大家共同探讨。(By伊叶也)图片显示及监听1、图片显示:基本上就5种显示形式(如果同时嵌入5种形式,采用什么设计模式好些(策略模式?))(1)纵向不规则堆放图片2-5列,建议以像素大小为限(?),要为每一流进行标记(长度),[图片压缩采用纵向大小(?)为基本单位,进行等比例压缩](2
2014-04-10 11:11:34
5007
原创 android文件管理器需求分析之一
正在做一个android文件管理器,代码基本完成,但由于一直以来面向过程开发的,到后期代码量不断增大,Bug频繁出现,修改代码变得非常繁琐、困难。于是我想从需求分析开始重新对项目进行整合、编码。算是第一次写需求分析,必然会出现很多Bug,希望前辈们能给予一些建议,求大家给予修正或分享一些想法。
2014-03-24 21:33:31
3386
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
586
原创 uva10405
第一次写dp,感觉还不错,虽然在声明d数组时,用了char型,好衰。。。。。写dp好有艺术感。最长公共子序列(LCS)2种解法,好像还有nlog(n)的算法。以后在写#include#include#include#define N 1020using namespace std;char a[N],b[N];int lena,lenb,d[N][N];
2012-03-19 21:14:04
739
原创 uva10603
Problem DFill 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
1245
原创 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
777
原创 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
1049
原创 124
BackgroundOrder 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
658
原创 uva196
SpreadsheetIn 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
984
原创 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
1122
原创 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
798
原创 uva10562
Problem DUndraw the Trees Input:StandardInputOutput: 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
712
原创 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
884
原创 uva11234
2007/2008 ACM International Collegiate Programming Contest University of Ulm Local ContestProblem E: ExpressionsArithmetic expressions are usually written with the operators in between the t
2011-11-12 12:32:09
782
原创 uva10706
Number SequenceTime Limit: 3000MSMemory Limit: Unknown64bit IO Format: %lld & %llu[Submit] [Go Back] [Status] DescriptionProblem BNumber SequenceInput: stand
2011-11-09 23:32:41
760
原创 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
673
原创 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
716
原创 uva136
Ugly Numbers Ugly numbers are numbers whose only prime factors are 2, 3 or 5. The sequence1, 2, 3, 4, 5, 6, 8, 9, 10, 12, 15, ...shows the first 11 ugly numbers. By convention,
2011-11-07 11:19:48
849
原创 uva10400
Problem HGame Show MathInput: standard inputOutput: standard outputTime Limit: 15 secondsA game show in Britainhas a segment where it gives its contestants a sequence of positive numbers
2011-11-07 10:41:45
575
原创 uva10954
Add AllTime Limit: 3000MSMemory Limit: Unknown64bit IO Format: %lld & %llu[Submit] [Go Back] [Status] DescriptionProblem FAdd AllInput: standard inputOutpu
2011-11-07 10:36:03
913
原创 uva11129
Problem A: An antiarithmetic permutationA 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
619
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人