码迷,mamicode.com
首页 >  
搜索关键字:c parity game    ( 5660个结果
Jump Game II
题目 Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents your maximum jump length at that position. ...
分类:其他好文   时间:2014-06-19 11:46:47    阅读次数:277
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 your maximum jump length at that position. ...
分类:其他好文   时间:2014-06-19 10:05:39    阅读次数:278
正则表达式入门(c#)
本文是对该教程的学习练习http://www.jb51.net/tools/zhengze.html1.\bContent\bstatic void Main(string[] args){ string str = "Act game - Uncharted3, act Game - God...
分类:其他好文   时间:2014-06-19 06:02:58    阅读次数:200
create a cocos2d-x-3.0 project in Xcode
STEP1: Open Terminal SETP2: Run setup.py SETP3: Run source /Users/your_user/.bash_profile( so that environment variables are actually updated) SETP4: Run cocos new my game -p com.your_company.mygame -l cpp -d /diretory_to_your_game Open Terminal R...
分类:其他好文   时间:2014-06-16 12:22:35    阅读次数:178
POJ 2996 Help Me with the Game (模拟)
题目链接:http://poj.org/problem?id=2996 POJ...
分类:其他好文   时间:2014-06-15 20:16:37    阅读次数:253
Codeforces Round #245 (Div. 2) B - Balls Game
暴利搜索即可#include #include #include using namespace std;int main(){ int n,k,x; cin >> n >> k >> x; vector c(n); for(int i = 0 ; i > c[i]; ...
分类:其他好文   时间:2014-06-14 18:47:42    阅读次数:206
NYOJ 284 坦克大战 【BFS】+【优先队列】
坦克大战 时间限制:1000 ms  |  内存限制:65535 KB 难度:3 描述 Many of us had played the game "Battle city" in our childhood, and some people (like me) even often play it on computer now.  What we are dis...
分类:其他好文   时间:2014-06-14 14:30:01    阅读次数:274
杭电OJ(HDU)-ACMSteps-Chapter Two-《An Easy Task》《Buildings》《decimal system》《Vowel Counting》
http://acm.hdu.edu.cn/game/entry/problem/list.php?chapterid=1&sectionid=21.2.5 #include /* 题意:找闰年。 if((i%4==0 && i%100!=0) || i%400==0)count++; 3 2005 25 1855 12 2004 10000 2108 1904 43236 */ int ma...
分类:其他好文   时间:2014-06-14 06:32:08    阅读次数:320
编写小游戏《贪头蛇》第三篇
点击NEW GAME按钮,进入游戏主场景 代码: 游戏背景 layer = (CCLayer*)this->getChildren()->objectAtIndex(SnakeConstants::LAYER_BACKGROUND); layer->setTouchEnabled(false); //游戏背景 CCSize size = CCDirector::sh...
分类:其他好文   时间:2014-06-13 20:39:00    阅读次数:371
[leetcode]Jump Game II @ Python
原题地址:https://oj.leetcode.com/problems/jump-game-ii/题意:Given an array of non-negative integers, you are initially positioned at the first index of the ...
分类:编程语言   时间:2014-06-12 17:38:49    阅读次数:323
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!