POJ 3278 Catch That Cow...
分类:
其他好文 时间:
2014-05-13 08:23:36
阅读次数:
328
One Person Game
Time Limit: 1 Second Memory Limit: 32768 KB Special Judge
There is a very simple and interesting one-person game. You have 3 dice, namely Die1, Die2 and Die3. Die1 ha...
分类:
其他好文 时间:
2014-05-13 06:06:00
阅读次数:
357
抱着游戏实现的想法去钻研技术可以让人明晰逻辑,然而理清构建将会统观大局。
今天就从游戏机制上谈谈电子游戏的满足机制和划分。
国内游戏的设计已经完全抛开了传统的趣味表达和故事叙述概念,流行的是网络的成就感获得。那种自动寻路打怪的系统让人哭笑不得,玩家更多的是为了等级装备成就感的虚荣。不说艺术表...
分类:
其他好文 时间:
2014-05-12 04:22:52
阅读次数:
332
一、序言
一个简单的string 容器到底是如何实现的?
本文给出了 String 的三种从易到难的实现,涉及了 reference counting, copy on write 的技术。
二、第一个实现
我们设计的string类里面包含一个char* 的指针, 通过指针的管理,来实现string的基本功能。
废话不多说了,直接上代码:
{CSDN:CODE:...
分类:
其他好文 时间:
2014-05-11 06:58:16
阅读次数:
311
Jump Game Given an array of non-negative
integers, you are initially positioned at the first index of the array. Each
element in the array represents ...
分类:
其他好文 时间:
2014-05-10 03:13:50
阅读次数:
481
题意是,有这样一种二叉树,每个节点的孩子数目不是0就是2,现在有N个节点,要组成一颗高度为K的这样的二叉树,问你有多少种组成方法。理所当然的想到了DP,一开始想的方程是f(i,j)为给你i
个节点,构成高度为j的这样的二叉树的种类数,转移的时候f(i,j) = Σf(k1,h1)*f(k2,h2),...
分类:
其他好文 时间:
2014-05-10 02:27:59
阅读次数:
358
免费馅饼
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 23986 Accepted Submission(s): 8093
Problem Description
都说天上不会掉馅饼,但有一天game...
分类:
其他好文 时间:
2014-05-09 22:23:12
阅读次数:
348
Georgia and BobTime Limit:1000MSMemory
Limit:10000KTotal Submissions:7233Accepted:2173DescriptionGeorgia and Bob decide
to play a self-invented game. ...
分类:
其他好文 时间:
2014-05-09 20:27:36
阅读次数:
374
点击打开链接
Problem 2150 Fire Game
Accept: 237 Submit: 808
Time Limit: 1000 mSec Memory Limit : 32768 KB
Problem Description
Fat brother and Maze are playing a kind of special (hent...
分类:
其他好文 时间:
2014-05-09 14:08:37
阅读次数:
502