码迷,mamicode.com
首页 >  
搜索关键字:a simple game    ( 11903个结果
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
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
hdu 1757 A Simple Math Problem (矩阵快速幂)
和这一题构造的矩阵的方法相同。 需要注意的是,题目中a0~a9 与矩阵相乘的顺序。 #include #include #include #include #include #define N 10 using namespace std; int mod; typedef long long LL; struct matrix { LL a[10][10]; }...
分类:其他好文   时间:2014-06-16 12:06:07    阅读次数:231
POJ 2996 Help Me with the Game (模拟)
题目链接:http://poj.org/problem?id=2996 POJ...
分类:其他好文   时间:2014-06-15 20:16:37    阅读次数:253
Amazon SNS移动推送更新——新增百度云推送和Windows平台支持
Amazon SNS(Simple Notification Service)是一种基于云平台的消息通知和推送服务。SNS提供简单的 Web 服务接口和基于浏览器的管理控制台让用户能够简易设置、运行并从云中发送消息通知和推送服务。它为开发人员提供高度可扩展、灵活并且经济高效的从应用发布消息的功能,并立即将这些消息推送给订阅者或其他应用程序。...
分类:移动开发   时间:2014-06-15 16:59:54    阅读次数:367
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
Core Data with Mantle
Mantle makes it easy to write a simple model layer for your Cocoa or Cocoa Touch application.  Mantle can still be a convenient translation layer between the API and your managed model objects. ...
分类:其他好文   时间:2014-06-14 09:27:26    阅读次数:463
杭电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
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!