码迷,mamicode.com
首页 >  
搜索关键字:a stone removing gam    ( 709个结果
暴力+构造 Codeforces Round #283 (Div. 2) C. Removing Columns
题目传送门 1 /* 2 题意:删除若干行,使得n行字符串成递增排序 3 暴力+构造:从前往后枚举列,当之前的顺序已经正确时,之后就不用考虑了,这样删列最小 4 */ 5 /************************************************ 6 Auth...
分类:其他好文   时间:2015-08-03 14:21:44    阅读次数:115
HDU 1795 The least one
The least one Time Limit: 9000/3000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 535    Accepted Submission(s): 204 Problem Description   In the RPG gam...
分类:其他好文   时间:2015-08-02 11:56:13    阅读次数:153
POJ - 2484 A Funny Game
Description Alice and Bob decide to play a funny game. At the beginning of the game they pick n(1 <= n <= 10 6) coins in a circle, as Figure 1 shows. A move consists in removing one or two adjacen...
分类:其他好文   时间:2015-07-31 18:33:26    阅读次数:118
Java 划分排序
划分: 指定一个关键值key 从左右两边进行循环划分操作,将小于等于key的放左边,大于等于key的放右边 划分后的序列不一定全部有序 O(N)  只有一趟排序 /** * 划分 * * @author stone * @date 2015-7-29 下午4:37:16 */ public class Partition { pub...
分类:编程语言   时间:2015-07-29 19:26:22    阅读次数:146
ZOJ 3452 Doraemon's Stone Game
Doraemon's Stone Game Time Limit: 2 Seconds      Memory Limit: 65536 KB Doraemon is playing a game with Dorami. Initially there are piles of stones on the table. Each pile consists of at most ...
分类:其他好文   时间:2015-07-29 17:11:36    阅读次数:97
Android 自定义View 实现刮刮卡效果
主要思想: 将一个view设计成多层:背景层,含中奖信息等; 遮盖层,用于刮奖,使用关联一个Bitmap的Canvas 在该Bitmap上,使用它的canvas.drawPath的api来处理 手势滑动(类似刮奖的动作) 使用paint.setXfermode 来进行消除手势滑动区域 /** * author : stone * email : aa8679...
分类:移动开发   时间:2015-07-28 18:46:04    阅读次数:173
2008 Asia Regional Beijing
Pro.IDTitleSource(AC/Submit)Ratio 2485Destroying the bus stations2008 Asia Regional Beijing(760/2381)31.92% 2486A simple stone game2008 Asia Region...
分类:其他好文   时间:2015-07-27 20:32:48    阅读次数:216
POJ 2253 Frogger
Description :Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to vi...
分类:其他好文   时间:2015-07-26 18:54:01    阅读次数:126
poj 2253 Frogger(最小生成树)
poj 2253 FroggerDescription Freddy Frog is sitting on a stone in the middle of a lake. Suddenly he notices Fiona Frog who is sitting on another stone. He plans to visit her, but since the water is dir...
分类:其他好文   时间:2015-07-25 15:17:16    阅读次数:138
Android BaseAdapter和ViewHolder 优化
首先赞下hyman大神 以前只是简单的重写个BaseAdapter,将getView方法保持抽象。而ViewHolder没有抽象过。。。 ViewHolder (用了一个集合+泛型管理存取view) /** * author : stone * email : aa86799@163.com * time : 15/7/24 14 27 */ public class ...
分类:移动开发   时间:2015-07-24 18:26:37    阅读次数:169
709条   上一页 1 ... 45 46 47 48 49 ... 71 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!