码迷,mamicode.com
首页 >  
搜索关键字:a simple game    ( 11903个结果
C++primer学习笔记(三)——Chapter 5
5.1 Simple Statements 1、记得每个语句后面加上”;”不过现在编译器都有实时编译,一般都不会忘记的, 2、空语句 (1)就是啥都没有。只有一个“;” (2)还是有很多用处的,例如 while (cin>>s && s!= sought) ; 不停的监测是不是输入的是sought,...
分类:编程语言   时间:2014-08-29 09:27:27    阅读次数:309
UVA - 12163 Addition-Subtraction Game (博弈)
Description   You and your friend are playing a 2 player game. The game is played in a graph of V vertices. The vertices are numbered from 0 to V-1. The graph has some directed edges. But the gr...
分类:其他好文   时间:2014-08-29 01:26:06    阅读次数:305
yii第二步
yii第二步:main.php'urlManager'=>array('urlFormat'=>'path','rules'=>array('game/guess/'=>'game/guess','gou/games/'=>'gou/game',//index.php/gou/d(实际地址) => ...
分类:其他好文   时间:2014-08-28 22:39:46    阅读次数:265
uva 12452 Plants vs. Zombies HD SP (树DP)
Problem I: Plants vs. Zombies HD Super ProPlants versus Zombies HD Super Pro is a game played not a grid, but on a connected graph G with no cycles (i...
分类:其他好文   时间:2014-08-28 22:33:56    阅读次数:345
json java simple-json
http://code.google.com/p/json-simple/wiki/EncodingExamples#Example_1-1_-_Encode_a_JSON_objectjavac -cp ./json-simple.jar SplitDemo.javajava -cp _CLASS...
分类:编程语言   时间:2014-08-28 19:42:25    阅读次数:217
Oracle 实现 mysql 的 find_in_set 排序!
oracle 实现类似MYSQL的 find_in_set 排序,函数 decode: select * from tb_info_game where gameid in(23,20,19,26,18) order by decode(gameid,23,1,20,2,18,3,26,4,1009,5) 参考CDSN的帖子:http://topic.csdn.net/...
分类:数据库   时间:2014-08-28 18:13:25    阅读次数:301
构造法 poj3295
TautologyTime Limit:1000MSMemory Limit:65536KTotal Submissions:9580Accepted:3640DescriptionWFF 'N PROOF is a logic game played with dice. Each die has...
分类:其他好文   时间:2014-08-28 16:50:50    阅读次数:289
UVA - 1378 A Funny Stone Game (SG定理)
Description The funny stone game is coming. There are n piles of stones, numbered with 0, 1, 2,..., n - 1. Two persons pick stones in turn. In every turn, each person selects three piles of stones...
分类:其他好文   时间:2014-08-28 16:15:29    阅读次数:523
UVa 10905 Children's Game
注意!这不是单纯的字典序排序,比如90、9,应该是990最大对字符串排序蛋疼了好久,因为别人说string很慢,所以一直没有用过。看别人用string还是比较方便的,学习一下对了,这里的cmp函数写的还是很简洁的,比我写的要好得多 1 #define LOCAL 2 #include 3 #inc....
分类:其他好文   时间:2014-08-28 12:53:09    阅读次数:225
lua--从小白开始(2)
目前lua最新版本,5.2.3。 此例为一个简单的lua解析器,源码摘自《Lua游戏开发实践指南》。 测试例程功能为:解析简单的lua指令,如:print("Hello world!");  function fun(x ,y) return x + y end z =fun(1,1); print(z); 结果如下图: 源码如下: simple_main.cpp: ...
分类:其他好文   时间:2014-08-28 11:31:09    阅读次数:362
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!