码迷,mamicode.com
首页 >  
搜索关键字:unity time    ( 60599个结果
codechef Little Elephant and Permutations题解
The Little Elephant likes permutations. This time he has a permutation A[1], A[2], ..., A[N] of numbers 1, 2, ...,N. He calls a permutation A good, if the number of its inversions is equal to the n...
分类:其他好文   时间:2014-05-07 07:20:50    阅读次数:356
杭电 2512 一卡通大冒险
一卡通大冒险 Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s):     Accepted Submission(s): Problem Description 因为长期钻研算法, 无暇顾及个人问题,BUAA ACM/ICP...
分类:其他好文   时间:2014-05-07 06:44:34    阅读次数:351
HDOJ 2089 不要62
超级简单的数位DP.... 不要62 Time Limit: 1000/1000 MS (Java/Others)    Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 17584    Accepted Submission(s): 5800 Problem Description 杭...
分类:其他好文   时间:2014-05-07 06:43:12    阅读次数:347
斜率优化专题2——bzoj 1010 [HNOI2008]玩具装箱toy 题解
【原题】 1010: [HNOI2008]玩具装箱toy Time Limit: 1 Sec  Memory Limit: 162 MB Submit: 5434  Solved: 1969 [Submit][Status] Description P教授要去看奥运,但是他舍不下他的玩具,于是他决定把所有的玩具运到北京。他使用自己的压缩器进行压缩,其可以将任意物品变成一堆,...
分类:其他好文   时间:2014-05-07 06:25:07    阅读次数:389
[2013山东ACM省赛] The number of steps (概率DP,数学期望)
The number of steps Time Limit: 1000ms   Memory limit: 65536K  有疑问?点这里^_^ 题目描述     Mary stands in a strange maze, the maze looks like a triangle(the first layer have one room,the seco...
分类:其他好文   时间:2014-05-07 06:15:59    阅读次数:427
C++ 标准库之typeid
本文只讲述typeid这个操作符,呃  ,它确实是一个操作符,类似于 sizeof 操作符。 在将该操作符之前,不得不提的是 RTTI(Run-Time Type Identification,运行时类型识别),其实就是说在运行期得到对 象的实际的类型。这立刻使我们想到了 “可以通过基类的指针和引用可以指向实际的派生类型”。啊哦,答对了,这就是typeid 这个强大操作符所做的事...
分类:编程语言   时间:2014-05-07 05:58:26    阅读次数:350
wikioi 1163 访问艺术馆 树形dp
递归建树,由题知该树是一棵二叉树,且除根节点外其他点的度为0或2。 dp[i][j]表示来到第i个走廊(还未走过这条走廊)还剩下j时间,能拿到最大的画的数量。 dp[i][j]=max(dp[i][j],dp[lson[i]][k]+dp[rson][last_time-k]) #include #include using namespace std; int dp[200][70...
分类:其他好文   时间:2014-05-07 05:02:45    阅读次数:295
从gif到unity sprite——批量转换gif、批量导入texture packer图集为sprite、批量生成sprite预制体
背景是我有几百个角色gif资源,每个都有:站立、攻击、技能攻击的gif,我想用此资源作2d unity游戏,因此第一关就是如何把gif转成unity动画   GIF 转 PNG —— http://blog.csdn.net/leinchu/article/details/24806433 ,不再赘述了。   之后是批量gif用tp打包,我用php写了一个脚本遍历目录,下的gif把他们...
分类:其他好文   时间:2014-05-07 04:41:30    阅读次数:694
[ACM] poj 2096 Collecting Bugs (概率DP,期望)
Collecting Bugs Time Limit: 10000MS   Memory Limit: 64000K Total Submissions: 2026   Accepted: 971 Case Time Limit: 2000MS   Special Judge Description Ivan is fond o...
分类:其他好文   时间:2014-05-07 04:29:43    阅读次数:450
使用Unity依赖注入的时候,最上层的类是Resolve还是New的问题
在使用Unity的时候,很多时候是这样一种引用的关系。就是一个类需要另一个类在其中做工具类。因为是构造方法注入,所以要在构造方法中加入一个引用参数。 public interface IRepository { void Execute(); } public class Repository : IRepository {...
分类:其他好文   时间:2014-05-07 03:57:14    阅读次数:299
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!