四层组成。
1. 红色最底层是Linux。
2. 绿色第三方应用库(C语言)。
3. 黄色虚拟机,谷歌针对Java开发的虚拟机。(dx→.class→.dex)
4. 蓝色Java语言开发
待补充 ......
分类:
移动开发 时间:
2015-01-21 22:37:05
阅读次数:
276
方法1. 简单1 LED方法这是一个很忽悠的方法,把LED看成是屏幕中心,把光枪摄像头的视野范围看作是屏幕范围。假设WII枪头摄像头的数据范围为[0,1024]*[0,768],显示器屏幕分辨率为dx,dy。如果从手柄获取到的坐标值为x,y,则对应的屏幕位置为(x*dx/1024,y*dy/1024...
分类:
其他好文 时间:
2015-01-21 10:07:46
阅读次数:
248
题意 给你一个黑方被将军的象棋残局 判断红方是否已经把黑方将死
模拟题 注意细节就行了 看黑方的将是否四个方向都不能走
#include
#include
using namespace std;
const int N = 12;
char brd[N][N];
int dx[] = { -1, 1, 0, 0}, dy[] = {0, 0, -1, 1};
int hx[] = ...
分类:
其他好文 时间:
2015-01-20 15:52:25
阅读次数:
205
题解:
自己看数据范围分析一下就知道了,这题是有多水啊。
每次询问记忆化
每次修改单点暴力就好
代码:
#include
#include
#include
#include
#define N 705
using namespace std;
const int dx[]={0,0,1,-1};
const int dy[]={1,-1,0,0};
int...
分类:
其他好文 时间:
2015-01-20 09:03:44
阅读次数:
111
题目大意:给定一个矩阵,多次改变某个点的权值,设定某个子矩阵内的所有点可用/禁用,求滑雪的最大长度
再也不敢不看数据范围就做题了233333
#include
#include
#include
#include
#define M 710
using namespace std;
const int dx[]={0,0,1,-1};
const int dy[]={1,-1,0,0}...
分类:
其他好文 时间:
2015-01-19 22:49:09
阅读次数:
192
求极限$$\lim_{n\to \infty}\frac{n^{n+1}}{n!}\int_{0}^{a}(e^{-x}x)^{n}dx$$解:作变量替换 $t=nx$$$\frac{n^{n+1}}{n!}\int_{0}^{a}(e^{-x}x)^{n}dx=\frac{1}{\Gamma(n+...
分类:
其他好文 时间:
2015-01-19 12:34:56
阅读次数:
176
本课主要是矩阵变换和DepthBuffer的创建;笔记:关于depthBuffer问题:1.depthBuffer的作用? 2.怎么创建? 作用:我想到的:1.depthTest,保证遮挡,同一个pixel中z值小的渲染; 2.三维世界,需要z值来表示近大远小 3.dx中值在1到0之间 ...
分类:
其他好文 时间:
2015-01-18 02:01:41
阅读次数:
468
主要是两方面:1.shader数据和dx的通信,使用constantBuffer2.矩阵的数学计算方式和内存存储方式再DX和HLSL中的异同先说第一个: dx中的常量数据matrix等传入shader中流程:The first thing that we need to do is declare ...
分类:
其他好文 时间:
2015-01-17 19:22:25
阅读次数:
234
计算积分\[\int_{0}^{1}x\left[\frac{1}{x}\right]dx=\frac{\pi^{2}}{12}\]解:\begin{align*}\int_{0}^{1}x\left[\frac{1}{x}\right]dx&=-\sum_{n=1}^{\infty}\int_{\...
分类:
其他好文 时间:
2015-01-17 09:58:41
阅读次数:
187
http://blog.sina.com.cn/s/blog_76f3236b01013zmk.html分类: iphone有关 1、CGRectInsetCGRect CGRectInset ( CGRect rect, CGFloat dx, CGFloat dy ); 该结构体的应用...
分类:
其他好文 时间:
2015-01-13 12:12:10
阅读次数:
169