码迷,mamicode.com
首页 >  
搜索关键字:light userdata    ( 1294个结果
SharePoint 基于 REST API使用简介
之前已经介绍了SP2010中支持CSOM的API进行远程访问SharePoint,但是CSOM的API仍然有一定的局限性,首先使用CSOM类库是基于.Net的,因此也将使用CSOM限制在了.Net平台上(包括托管的.Net代码,Silver Light 以及Javascript)。如何能在非.Net...
分类:Windows程序   时间:2014-10-02 18:53:13    阅读次数:309
Light OJ 1318 Strange Game 组合数+快速幂+分解因子
长度为l的用k种字符组成的字符串有k^l中 其中m个字符要不相同 那就是k^l*C(l, m)*(k-1)^m 有重复 要除以2 但是你mod n了 不能直接除 n不一定是素数 所以不能乘以逆元 所以我都mod 2倍的n 最后的结果再除以2 特判l = 1 和 m = 0的情况 #include #include #include using namespace std; typedef...
分类:其他好文   时间:2014-10-02 01:18:31    阅读次数:441
Light 1348 - Aladdin and the Return Journey(树链剖分)
Light 1348 - Aladdin and the Return Journey 题目链接 树链剖分基础题,注意一个坑点,就是下标按0开始的话按我的写法是会错的,因为son初值赋成0了,要么改一下son初值,要么把下标都+1 代码: #include #include #include #include using namespace std; const ...
分类:其他好文   时间:2014-10-01 02:34:00    阅读次数:212
Light OJ 1236 Race 第二类斯特林数
第二类斯特林数 n 匹马 分成1 2 3... n组 每一组就是相同排名 没有先后 然后组与组之间是有顺序的 在乘以组数的阶乘 #include #include using namespace std; int dp[1010][1010]; int a[1010]; int main() { a[0] = 1; dp[0][0] = 1; for(int i = 1; i <= 1...
分类:其他好文   时间:2014-09-28 00:08:41    阅读次数:182
Light OJ 1004 - Monkey Banana Problem dp题解
1004 - Monkey Banana Problem PDF (English) Statistics Forum Time Limit: 2 second(s) Memory Limit: 32 MB You are in the world of mathematics to solve the great...
分类:其他好文   时间:2014-09-26 02:20:30    阅读次数:382
lua实现深度拷贝table表
lua当变量作为函数的参数进行传递时,类似的也是boolean,string,number类型的变量进行值传递。而table,function,userdata类型的变量进行引用传递。故而当table进行赋值操作之时,table A 赋值给table B,对表B中元素进行操作自然也会对A产生影响,...
分类:其他好文   时间:2014-09-24 23:44:07    阅读次数:205
No resource found that matches the given name 'Theme.AppCompat.Light.DarkActionBar'.
出现这种情况可有2种方法解决: 1方案:clean项目,可能解决问题 2方案:1方案未解决问题,android 版本过低,右键你的项目->Properties->Android ,选择API level 11 ,或者更高的,同时添加appcompat_v7库...
分类:移动开发   时间:2014-09-24 16:18:27    阅读次数:298
快钱支付接口
1.下载快钱的demo代码和一个证书包,还有人民币网关自助接入接口文档2.生成自己的证书2.0.安装Win32OpenSSL_Light-0_9_8k.exe打开openssl.exe,2.1.输入genrsa-outprivate-rsa.key1024,按enter即可。2.2输入req-new-x509-keyprivate-rsa.key-days750-outpublic-rsa.cer,按ente..
分类:其他好文   时间:2014-09-18 16:52:34    阅读次数:2180
使用RampTexture来控制diffuse shading
【RampTexture】 RampTexture(渐变纹理),可以是1D/2D纹理. This allows you to accentuate the surface's colors to fake the effects of more bounce light or a more ad.....
分类:其他好文   时间:2014-09-18 13:04:43    阅读次数:250
Half Lambert
【Half Lambert】 Half Lambert was a technique created by Valve as a way of getting the lighting to show the surface of an object in low-light areas. It....
分类:其他好文   时间:2014-09-18 13:03:03    阅读次数:200
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!