iOS7 StatusBar 在需要隐藏或改变样式时在UIViewConroller中调用:[self setNeedsStatusBarAppearanceUpdate];1、隐藏StatusBar在iOS7中无法使用一下接口隐藏: [[UIApplication sharedApplicatio...
分类:
其他 时间:
2015-01-16 23:35:41
收藏:
0 评论:
0 赞:
0 阅读:
299
月考果然很可怕,跪得要死。然后这周搞(被老师坑)去搞某个程序,我和蔡大神和kpm分工搞(结果最后我也只是变成全程嘴炮)。这周有点闷,明明想快乐点但还是……进度慢得要死,后缀数组略神的东西。模仿了罗大神写了个还挺快的版本。快点吧。下星期搞完在搞博弈论……gdkoi还剩不到40+天……!!!烧鸡说,你都...
分类:
其他 时间:
2015-01-16 23:35:10
收藏:
0 评论:
0 赞:
0 阅读:
366
内容转自天地会AS 代码(TestShader.as):先来看代码。。。然后细说package 2 { 3 import flash.display.Sprite; 4 import flash.display.BitmapData; 5 import...
分类:
其他 时间:
2015-01-16 23:34:50
收藏:
0 评论:
0 赞:
0 阅读:
678
四元数与欧拉角之间的转换在3D图形学中,最常用的旋转表示方法便是四元数和欧拉角,比起矩阵来具有节省存储空间和方便插值的优点。本文主要归纳了两种表达方式的转换,计算公式采用3D笛卡尔坐标系:图1 3D Cartesian coordinate System (from wikipedia)定义分别为绕...
分类:
其他 时间:
2015-01-16 23:34:40
收藏:
0 评论:
0 赞:
0 阅读:
333
Description The ministers of the cabinet were quite upset by the message from the Chief of Security stating that they would all have to change the ...
分类:
其他 时间:
2015-01-16 23:34:30
收藏:
0 评论:
0 赞:
0 阅读:
320
Description 定义一个二维数组: int maze[5][5] = { 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0,}; 它表示一个迷宫,其中的1表示墙壁,0表示可以走的路,只能...
分类:
其他 时间:
2015-01-16 23:34:20
收藏:
0 评论:
0 赞:
0 阅读:
825
(鼠标旋转功能)#include using namespace std;#includeGLfloat transx,transy;GLfloat scale;int primw=300;int primh=300;GLfloat rotatex=0,rotatey=0;GLint mousepx...
分类:
其他 时间:
2015-01-16 23:34:10
收藏:
0 评论:
0 赞:
0 阅读:
492
从去年开始就一直想port一下android L到开发板上面实验一下,最近终于开始付诸实践了。 下载内核和aosp浪费了将近一个月的时间,GFW已经把人搞得没有脾气了,还好有网友的共享。 上周末配置了一下内核,然后编译了一下,内核可以跑起来了,这周的计划是编译aosp,搭建根文件系统。结果看...
分类:
其他 时间:
2015-01-16 23:33:59
收藏:
0 评论:
0 赞:
0 阅读:
355
本文介绍如何去除微信顶部的“防欺诈盗号、请勿支付或输入qq密码”。如图所示。一、微信认证目前只有已经通过微信认证的账号可以去除这个提示。在公众账号下左侧列表中找到微信认证,按照提示申请认证即可。二、设置业务域名1.进入公众账号设置2.进入功能设置3.在业务域名设置中,设置通过备案的域名。
分类:
其他 时间:
2015-01-16 23:33:39
收藏:
0 评论:
0 赞:
0 阅读:
910
合抱之木,生於毫末;九層之台,起於累土;千里之行,始於足下。《老子》今天在社区看到有朋友问“如何在半年内成为顶级架构师”,有网友道“关灯睡觉,不用半年的...”,的确,做梦还来的快一些。作为一个程序员,树立远大的目标是值得欣赏的,但不能只去空想,要一步一步地实践才行。成大事者,须从小事做起;万事起于...
分类:
其他 时间:
2015-01-16 23:33:20
收藏:
0 评论:
0 赞:
0 阅读:
373
Given a collection of intervals, merge all overlapping intervals.For example,Given[1,3],[2,6],[8,10],[15,18],return[1,6],[8,10],[15,18]. 1 /** 2 * De....
分类:
其他 时间:
2015-01-16 23:33:10
收藏:
0 评论:
0 赞:
0 阅读:
404
Description Given a positive integer n, write a program to find out a nonzero multiple m of n whose decimal representation contains only the digits...
分类:
其他 时间:
2015-01-16 23:32:20
收藏:
0 评论:
0 赞:
0 阅读:
390
软件界面Intent作用:激活组件 + 附带数据传递数据得到数据新打开的Activity返回数据
分类:
其他 时间:
2015-01-16 23:31:40
收藏:
0 评论:
0 赞:
0 阅读:
360
红黑树
时间限制:3000 ms | 内存限制:65535 KB
难度:3
描述
什么是红黑树呢?顾名思义,跟枣树类似,红黑树是一种叶子是黑色果子是红色的树。。。
当然,这个是我说的。。。
《算法导论》上可不是这么说的:
如果一个二叉查找树满足下面的红黑性质,那么则为一个红黑树。
1)每个节点或是红的,或者是黑的。
2)每个叶子节点...
分类:
其他 时间:
2015-01-16 22:27:50
收藏:
0 评论:
0 赞:
0 阅读:
396
在计算机科学中,二叉树是每个节点最多有两个子树的树结构。通常子树被称作“左子树”(left subtree)和“右子树”(right subtree)。二叉树常被用于实现二叉查找树和二叉堆。...
分类:
其他 时间:
2015-01-16 22:27:20
收藏:
0 评论:
0 赞:
0 阅读:
369
树形DP的关键在于如何处理递归返回的信息。这题dp[i][0]表示不选i点时当前最高权值。dp[i][1]表示选i点时当前最高权值。状态转移方程:dp[u][[0]+=max(dp[v][0],dp[v][1]),dp[u][1]+=dp[v][0];
代码如下:
#include
#include
#include
#include
#include
#include
#incl...
分类:
其他 时间:
2015-01-16 22:27:10
收藏:
0 评论:
0 赞:
0 阅读:
313
Matrix Power Series
Time Limit:3000MS Memory Limit:131072KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
Given a n × n matrix A and a positive integer k, find the ...
分类:
其他 时间:
2015-01-16 22:27:00
收藏:
0 评论:
0 赞:
0 阅读:
404
A Simple Math Problem
Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Lele now is thinking about a simple function f(x).
If x...
分类:
其他 时间:
2015-01-16 22:26:10
收藏:
0 评论:
0 赞:
0 阅读:
424
Sharepoint开发错误:
“clientContext.ServerVersion”引发了“Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedException”类型的异常
System.Version {Microsoft.SharePoint.Client.PropertyOrFieldNotInitializedExc...
分类:
其他 时间:
2015-01-16 22:24:50
收藏:
0 评论:
0 赞:
0 阅读:
467
接口测试从未如此简单 - Postman (Chrome插件)
一个非常有力的Http Client工具用来测试Web服务的, 我这里来介绍如何用它测试restful web service
安装
进入Chrome的设置->More tools->Extensions
点击最下面的Get more extensions
搜索Postman
选择第一个...
分类:
其他 时间:
2015-01-16 22:24:20
收藏:
0 评论:
0 赞:
0 阅读:
515