上一页 1 ··· 274 275 276 277 278 279 280 281 282 ··· 300 下一页
2013年7月30日

跟Android自带模拟器说拜拜,Mac Genymotion 使用心得

摘要: 今天看到网上一片文章点击打开链接,很是激动,套用原作者的话,性能卓越作为历史上最快的Android模拟器(没有之一),秒级开机关机速度足够让你膜拜了(粗略估计5-20s不等),我的Mac上面运行Android模拟器差不多不到20秒,真是神速,好了废话不多说了,接下来看看Genymotion的庐山真面目吧 环境:Mac OSX 10.8.4 准备:1.注册Genymotion账号2.下载Genymotion安装包3.安装VitualBox4.安装Eclipse插件 安装时碰到什么问题基本上都可以在这里找到答案点击打开链接 第一次运行Genymotion Eclipse 的插件时需要简单的设置.. 阅读全文
posted @ 2013-07-30 19:00 you Richer 阅读(839) 评论(1) 推荐(0) 编辑

Arduino Due, Maple and Teensy3.0 的 W5200性能测试

摘要: 开源平台中以太网连接方案里W5100是众所周知的,W5200正在此领域越来越受欢迎。这个测试结果是在Arduino Due(Atmel CortexM3-84Mhz),Maple(ST CortexM3-72Mhz) 和Teensy 3.0(Freescale Cortex M4-96Mhz)上执行的并显示出外围设备,DMA、中断、I2C和SPI的性能测试。以太网的性能是基于W5200的,你可以看到性能取决于SPI吞吐量。PlatformSPI speedUDPTCPArduino Due28Mhz15.6Mbps12.9MbpsMaple16Mhz9.2Mbps8.4MbpsTeensy3. 阅读全文
posted @ 2013-07-30 18:57 you Richer 阅读(487) 评论(0) 推荐(0) 编辑

hive 子查询特别分析

摘要: Hive只支持在FROM子句中使用子查询,子查询必须有名字,并且列必须唯一:SELECT ... FROM(subquery) name ...确认下是否一定要求列必须唯一? 建表语句: create table tb_in_base ( id bigint, devid bigint, devname string ) partitioned by (job_time bigint) row format delimited fields termi... 阅读全文
posted @ 2013-07-30 18:56 you Richer 阅读(1224) 评论(0) 推荐(0) 编辑

HDU1025:Constructing Roads In JGShining's Kingdom(LIS)

摘要: Problem Description JGShining's kingdom consists of 2n(n is no more than 500,000) small cities which are located in two parallel lines. Half of these cities are rich in resource (we call them rich cities) while the others are short of resource (we call them poor cities). Each poor city is short 阅读全文
posted @ 2013-07-30 18:54 you Richer 阅读(172) 评论(0) 推荐(0) 编辑

poj2155 树状数组 Matrix

摘要: MatrixTime Limit: 3000MSMemory Limit: 65536KTotal Submissions: 14826Accepted: 5583Description Given an N*N matrix A, whose elements are either 0 or 1. A[i, j] means the number in the i-th row and j-th column. Initially we have A[i, j] = 0 (1 #include #includeusing namespace std;#define MAXN 1005int. 阅读全文
posted @ 2013-07-30 18:52 you Richer 阅读(153) 评论(0) 推荐(0) 编辑

poj3687

摘要: Labeling BallsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 9028Accepted: 2444DescriptionWindy has N balls of distinct weights from 1 unit to N units. Now he tries to label them with 1 toN in such a way that:No two balls share the same label.The labeling satisfies several constrains like 阅读全文
posted @ 2013-07-30 18:50 you Richer 阅读(191) 评论(0) 推荐(0) 编辑

poj3259

摘要: WormholesTime Limit: 2000MSMemory Limit: 65536KTotal Submissions: 24864Accepted: 8869DescriptionWhile exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar because it is a one-way path that delivers you to its destination at a time that is BE 阅读全文
posted @ 2013-07-30 18:48 you Richer 阅读(171) 评论(0) 推荐(0) 编辑

poj3083

摘要: Children of the Candy CornTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 8046Accepted: 3518Description The cornfield maze is a popular Halloween treat. Visitors are shown the entrance and must wander through the maze facing zombies, chainsaw-wielding psychopaths, hippies, and other terrors 阅读全文
posted @ 2013-07-30 18:45 you Richer 阅读(158) 评论(0) 推荐(0) 编辑

poj3041

摘要: AsteroidsTime Limit: 1000MSMemory Limit: 65536KTotal Submissions: 12162Accepted: 6620Description Bessie wants to navigate her spaceship through a dangerous asteroid field in the shape of an N x N grid (1 using namespace std;int n,k; //n矩阵规格,k星体数量int V1,V2; //二分图顶点集 /*矩阵的行列分别属于二分图的两个顶点集V1、V2,其... 阅读全文
posted @ 2013-07-30 18:44 you Richer 阅读(176) 评论(0) 推荐(0) 编辑

C++库研究笔记——操作符重载实现类型转换&这样做的意义

摘要: 目标:已知这个接口:std::vector add_vec(double *d1, double *d2){.....return result;} 我们自定义了这个类:class array{int size_;double *data_;....}; 要求实现:array v1(10), v2(10);add_vec(v1, v2);留意到,当array 类型传入add_vec时,会遇到(double*) 类型的“试探性”强制转换, 所以,我们只要做一个从array到,(double*)的类型转换即可。 这样做的好处:1.有了类型转换,我们不需要再写这样一个多态函数实现array 与arr 阅读全文
posted @ 2013-07-30 18:42 you Richer 阅读(235) 评论(0) 推荐(0) 编辑
上一页 1 ··· 274 275 276 277 278 279 280 281 282 ··· 300 下一页