码迷,mamicode.com
首页 >  
搜索关键字:beat    ( 285个结果
Beat the Spread!
这水题也是用了不少时间。...
分类:其他好文   时间:2015-06-03 10:04:44    阅读次数:131
#celery#周期性任务
玩了一个星期的clannad,是时候干点事了。 折腾了下celery周期性任务: celery提供了一个叫celery beat的服务,用于定时驱使worker执行任务。也就是说,如果本地没有活动的worker,它将不会得到任何执行结果,他只...
分类:其他好文   时间:2015-05-24 15:53:52    阅读次数:399
杭电ACM1194——Beat the Spread!
简单的数学题目,就是解方程。 不过需要注意的是,解出来的两个解没有负数。 输入m和n,方程1:x + y = m;方程2:| x - y | = n; x = (n + m)/ 2; y = (-n + m)/ 2; 注意:n + m和m - n 必须是偶数!~~做个判断就OK了。 AC的代码: #include using namespace std; int main() { ...
分类:其他好文   时间:2015-05-02 20:46:48    阅读次数:200
hdu 2614 beat
这题最难得地方在于把题目看懂,简单的dfs,没什么好说的 #include #include #define maxn 15+1 using namespace std; int maxx; int mapp[maxn][maxn]; int visit[maxn]; int n; void dfs(int x,int time,int num) { for(int i=1;i<=n;i++)...
分类:其他好文   时间:2015-04-17 01:19:00    阅读次数:142
杭电 HDU 1194 Beat the Spread!
Beat the Spread! Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others) Total Submission(s): 5192    Accepted Submission(s): 2705 Problem Description Superbowl Sun...
分类:其他好文   时间:2015-03-30 09:22:36    阅读次数:132
POJ 2301 Beat the Spread!
超水的一题,输入(x+y)和(x-y) 输出x,y,但是注意输出x,y都为非负整数(因为这个我还wa了两次。。唉~~)Beat the Spread!Time Limit:1000MSMemory Limit:65536KTotal Submissions:18154Accepted:8676Des...
分类:其他好文   时间:2015-03-15 00:46:47    阅读次数:114
(hdu 简单题 128道)hdu 1194 Beat the Spread!(已知两个数的和u两个数的差求这两个数)
题目:Beat the Spread!Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 5169    Accepted Submission(s): 2692Problem DescriptionSuperbowl Sunday is ne...
分类:其他好文   时间:2015-03-12 20:56:37    阅读次数:159
【HDOJ】3451 Beat drop
BFS。当水滴破裂飞溅后,直到碰到水滴才会停止(观察case1)。同时,考虑当水滴飞溅到点(x,y)并且该点同一时间破裂的情况,该水滴算作吸收。 1 /* 3451 */ 2 #include 3 #include 4 #include 5 #include 6 #include...
分类:其他好文   时间:2015-02-27 11:48:10    阅读次数:111
HDOJ 1194 Beat the Spread!
【题意】:给出两个数 m n,第一个数是另外两个数a b的和,第二个数是a b的差的绝对值(absolute difference)。输出这两个数a b,大的在前。 【思路】:大的数等于 (m+n)/2,小的等于m-大的。 【注意】:impossible的判断。分两种,一种是m如果m+n为奇数,则a b不存在。 【AC代码】: #include #include #include #...
分类:其他好文   时间:2015-02-23 09:40:29    阅读次数:118
cocos2d-x 如何制作一个类马里奥的横版平台动作游戏 1 献给所有对动作游戏有爱的朋友
本文翻译自国外著名IOS源码教学商业网站raywenderlich的IOSGameStartKits三件套之一的PlatformerGame/平台动作游戏的前奏曲,另一个是Beat‘EmupGame/横版格斗游戏,作者是国外著名游戏开发专家JakeGundersen,曾参与开发过SFC时代的洛克人X系列。原文网址:http://www.raywende..
分类:其他好文   时间:2015-01-12 07:07:31    阅读次数:299
285条   上一页 1 ... 24 25 26 27 28 29 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!