码迷,mamicode.com
首页 >  
搜索关键字:city game    ( 8645个结果
Jquery判断某字符串中是否包含某个字符
if(!(to_city_value.indexOf("(")>0){//code。。。。。}
分类:Web程序   时间:2014-05-16 23:28:33    阅读次数:373
LA 2031
Mr. White, a fat man, now is crazy about a game named ``Dance, Dance, Revolution". But his dance skill is so poor that he could not dance a dance, eve...
分类:其他好文   时间:2014-05-15 16:57:57    阅读次数:502
leetcode第一刷_Jump Game II
要求最小的步数,是不是很容易想到用dp啊? 我一开始的做法是,当找到了一个可以从它延伸到更远的位置,就把这个位置和最远位置的步数都更新一下,结果超时了。其实这样不仅是超时的,而且是错误的。因为这段距离里的很多点,其实是上一步就能到达的。其实应该更新的只有哪些新的能够到达的点,那哪些点是新的能到达的点呢?假设这次能够延伸更远的点是i,它的前进步数是A[i],上一次能够到达的最远的点是mmax,那新...
分类:其他好文   时间:2014-05-15 05:54:41    阅读次数:229
UVa 11587 - Brick Game
题目:brick game是有一些连续编号的木块1~N,再给你一个若干整数构成的集合S;             两个人轮流取出集合S中存在的任意数字个木块,最后取走的人获胜,如果不能取,则对方获胜。             现在,给你一个游戏结果的序列串T,如果木块有k个,可能赢就是T[k] = W,一定输就是T[k] = L。             请你确定一个最小的集合,使得这个序列...
分类:其他好文   时间:2014-05-14 15:19:17    阅读次数:270
Extra Credits: "Gamer" 08 ,09
08 讨论了“Gamer”这个词,以及我们应该如何对待我们的游戏。虽然讲的不错,但在游戏设计这方面没有什么可以学习的。09 Extra Credits: Video Game Music 这期讨论了游戏中的音乐。现在我们有了更好的设备,更先进的理念,更多的表现手法,但比起当时8bit音乐时代似乎少了...
分类:其他好文   时间:2014-05-14 12:54:32    阅读次数:297
ZOJ 3768Continuous Login(找规律然后二分)
Continuous Login Time Limit: 2 Seconds      Memory Limit: 131072 KB      Special Judge Pierre is recently obsessed with an online game. To encourage users to log in, this game will give user...
分类:其他好文   时间:2014-05-14 01:25:00    阅读次数:396
Pat(Advanced Level)Practice--1018(Public Bike Management)
Pat1018代码 题目描述: There is a public bike service in Hangzhou City which provides great convenience to the tourists from all over the world. One may rent a bike at any station and return it to an...
分类:其他好文   时间:2014-05-13 23:27:04    阅读次数:582
ZOJ3671:Japanese Mahjong III
Mahjong is a game of skill, strategy and calculation and involves a certain degree of chance. In this problem, we concentrate on Japanese Mahjong, a variation of mahjong. For brief, all of the word ma...
分类:其他好文   时间:2014-05-13 14:59:51    阅读次数:356
ZOJ3669:Japanese Mahjong I
Mahjong is a game of skill, strategy and calculation and involves a certain degree of chance. In this problem, we concentrate on Japanese Mahjong, a variation of mahjong. For brief, all of the word ma...
分类:其他好文   时间:2014-05-13 13:54:14    阅读次数:463
ios项目开发(天气预报项目):
本项目基于 《使用storyboards建立 Navigation Controller and Table View》 http://uliweb.cpython.org/tutorial/view_chapter/424 创建, 代码中使用了 静态的 tableviewcell 增加了 textview,url,json数据解析 部分代码片段:  // // city...
分类:移动开发   时间:2014-05-13 08:19:24    阅读次数:423
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!