分享网上的一个小蜜蜂游戏,亲自测试可用。...
分类:
其他 时间:
2014-02-19 22:57:40
收藏:
0 评论:
0 赞:
0 阅读:
427
int gluUnProject (
GLdouble winx,
GLdouble winy,
GLdouble winz,
const GLdouble modelMatrix[16],
const GLdouble projMatrix[16],
const GLint viewport[4]...
分类:
其他 时间:
2014-02-19 22:19:23
收藏:
0 评论:
0 赞:
0 阅读:
472
1.基础包(包括工具包和安全包)
包括工具和安全包。其中,hdfs.util包含了一些HDFS实现需要的辅助数据结构;hdfs.security.token.block和hdfs.security.token.delegation结合Hadoop的安全框架,提供了安全访问HDFS的机制。
hdfs.util(一些HDFS实现需要的辅助数据结构)
AtomicFileOutputS...
分类:
其他 时间:
2014-02-20 03:40:45
收藏:
0 评论:
0 赞:
0 阅读:
439
B. Tower of Hanoi
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output
The Tower of Hanoi is a well-known mathema...
分类:
其他 时间:
2014-02-19 22:54:45
收藏:
0 评论:
0 赞:
0 阅读:
479
Rules for method overriding:
The argument list should be exactly the same as that of the overridden method.
参数列表必须一致
The return type should be the same or a subtype of the return type declare...
分类:
其他 时间:
2014-02-19 22:18:57
收藏:
0 评论:
0 赞:
0 阅读:
499
apache提供了 Linux下开发hadoop教程,不多说
网上有很多参考资料,说法不一
自己总结下思路,希望能对喜欢hadoop的兄弟姐妹有所帮助:
硬件:win7
step 1、 安装1.6以上版本 jdk
step 2、 安装Cygwin,下载安装cygwin (因为运行hadoop需要linux环境)
从网上下载setup程序后运行:
...
分类:
Windows开发 时间:
2014-02-19 22:41:33
收藏:
0 评论:
0 赞:
0 阅读:
480
A题:
A题题意:
定义两个点为相连的,则:
1,两点间的欧式距离等于1,并且这两点的任意一个点都没有被锁上
2,如果A,B相连,B,C相连,那么A,C相连。
定义特殊点为距离坐标原点的欧式距离不超过n的整数点。
让你锁上一些点,使得任意特殊点不能和任意非特殊点相连。
求出锁得的最少的点。
做法:
求四分之一圆。
枚举x。
注意用64位啊
#include
#include...
分类:
其他 时间:
2014-02-19 22:54:19
收藏:
0 评论:
0 赞:
0 阅读:
521
调用服务里的方法...
分类:
移动平台 时间:
2014-02-19 23:11:01
收藏:
0 评论:
0 赞:
0 阅读:
558
#############################################
本文为极度寒冰原创,转载请注明出处
#############################################
在kitkat的chromium_org下面打log,不同的部分可能打log的方式是不一样的。
也有很多人纠结这个问题,并且没有一个好的办法。在...
分类:
移动平台 时间:
2014-02-19 22:39:31
收藏:
0 评论:
0 赞:
0 阅读:
532
Stripies
Time Limit: 1000MS
Memory Limit: 30000K
Total Submissions: 11128
Accepted: 5327
Description
Our chemical biologists have invented a new very useful form of lif...
分类:
其他 时间:
2014-02-19 22:07:49
收藏:
0 评论:
0 赞:
0 阅读:
470
因为crs_start属于应用层的指令,启动crs的时候会失败
[oracle@host1 ~]$ crs_start -all
CRS-0184: Cannot communicate with the CRS daemon.
[oracle@host1 ~]$ crs_stat -t
CRS-0184: Cannot communicate with the CRS daemon.
...
分类:
其他 时间:
2014-02-19 22:07:24
收藏:
0 评论:
0 赞:
0 阅读:
495
题目地址:http://ac.jobdu.com/problem.php?pid=1198
题目描述:
实现一个加法器,使其能够输出a+b的值。
输入:
输入包括两个数a和b,其中a和b的位数不超过1000位。
输出:
可能有多组测试数据,对于每组数据,
输出a+b的值。
样例输入:
2 6
10000000000000000000 100000000...
分类:
其他 时间:
2014-02-19 22:39:06
收藏:
0 评论:
0 赞:
0 阅读:
420
1.在RGBA模式下指定颜色
glColor3f (1.0, 0.0, 0.0);
//设置绘图颜色
颜色截取
void glClampColor(GLenum target, GLenum clamp);
//指定主颜色值和辅助颜色值是否截取
2.在颜色索引模式下指定颜色
glIndexf(GLfloat c);
//把当前颜色索引设置为c
g...
分类:
其他 时间:
2014-02-19 22:38:40
收藏:
0 评论:
0 赞:
0 阅读:
888
1、Class类方法:getConstructors()
在JDK文档中,对于该方法有如下解释:
Returns an array containing Constructor objects reflecting
all the public constructors of the class represented by this Class object.
返回...
分类:
其他 时间:
2014-02-19 22:06:58
收藏:
0 评论:
0 赞:
0 阅读:
429
FileUpload是apache Commons 用于文件上传的组件,实际上就是用来解析http请求,大家都知道,上传文件的时候,http的request请求的 content-type 是multipart/form-data,我们就可以用FileUpload 来解析http请求,struts,springMVC 等很多MVC框架都是基于FileUpload 来实现文件上传功能。...
分类:
其他 时间:
2014-02-19 23:10:35
收藏:
0 评论:
0 赞:
0 阅读:
540
Apache Benchmark下载
ab 的全称是 ApacheBench , 是 Apache 附带的一个小工具 , 专门用于 HTTP Server 的 benchmark testing , 可以同时模拟多个并发请求。前段时间看到公司的开发人员也在用它作一些测试,看起来也不错,很简单,也很容易使用,所以今天花一点时间看了一下。
通过下面的一个简单的例子和注释,...
分类:
Web开发 时间:
2014-02-19 22:52:18
收藏:
0 评论:
0 赞:
0 阅读:
474
plain类型tableview的footview不能跟随tableview下滑。
在设置tableview的style时,如果设置为grouped类型,那么放在footview上得button就可以跟随tableview向下滑动。而设置为plain类型就不能向下滑动。...
分类:
其他 时间:
2014-02-19 22:51:52
收藏:
0 评论:
0 赞:
0 阅读:
461
/*
*---------main_rtc1.c---------
* This is an example of using the RTC configuration functions for 5509
*/
#include
#include
//---------Global data definition---------
int i;
RTC_Time getTi...
分类:
其他 时间:
2014-02-19 22:18:34
收藏:
0 评论:
0 赞:
0 阅读:
553
在上一篇文章中我们使用推导列表对代码进行了简化,并得到了对应的结果,我们首先来看一下上篇文章中得到的结果,如下:
>>> ================================ RESTART ================================
>>>
['2.01', '2.01', '2.22', '2.34', '2.34', '2.45', '3.01', '3我们可以看到,这结果中存在一些重复的元素,这个我们得想一个办法把他给去除。
自己动手,利用迭代删除重复项
好的...
分类:
编程语言 时间:
2014-02-20 03:38:51
收藏:
0 评论:
0 赞:
0 阅读:
459
关于运算符重载...
分类:
编程语言 时间:
2014-02-19 22:06:11
收藏:
0 评论:
0 赞:
0 阅读:
494