Frogger
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 30438
Accepted: 9810
Description
Freddy Frog is sitting on a stone in the middle of a lake. Suddenl...
分类:
其他好文 时间:
2015-08-13 22:23:52
阅读次数:
142
Frogger
Time Limit: 2 Seconds Memory Limit: 65536 KB
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 v...
分类:
其他好文 时间:
2015-08-13 22:18:26
阅读次数:
197
HDU 1115 Lifting the Stone (求多边形的重心)...
分类:
其他好文 时间:
2015-08-13 14:33:57
阅读次数:
126
FroggerTime Limit:1000MSMemory Limit:65536KTotal Submissions:30427Accepted:9806DescriptionFreddy Frog is sitting on a stone in the middle of a lake. S...
分类:
其他好文 时间:
2015-08-13 14:07:45
阅读次数:
160
题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=1729看了题目感觉像Nim,但是有范围限制,有点不知道SG函数该怎么写看了题解,最后才明白该怎么去理解 。首先进行对s和c进行分类,1、c = 0 的时候,无论怎样都填不满,直接跳过;2、c = s 的时...
分类:
其他好文 时间:
2015-08-11 21:20:41
阅读次数:
105
使用Siege格式,我们将模拟一个负载测试,5个并发用户在10秒内访问网站www.example. com。需要说明一下,使用Siege时的并发被称为事务。因此我们要模拟的测试是使用Siege命令让Web服务器在10秒的时间内一次满足5个同时发生的事务.
结果说明: Lifting the server siege…...
分类:
其他好文 时间:
2015-07-30 13:35:22
阅读次数:
122
划分:
指定一个关键值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
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
主要思想:
将一个view设计成多层:背景层,含中奖信息等;
遮盖层,用于刮奖,使用关联一个Bitmap的Canvas
在该Bitmap上,使用它的canvas.drawPath的api来处理 手势滑动(类似刮奖的动作)
使用paint.setXfermode 来进行消除手势滑动区域
/**
* author : stone
* email : aa8679...
分类:
移动开发 时间:
2015-07-28 18:46:04
阅读次数:
173
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