码迷,mamicode.com
首页 >  
搜索关键字:a simple game    ( 11903个结果
G - Just a Hook
DescriptionIn the game of DotA, Pudge’s meat hook is actually the most horrible thing for most of the heroes. The hook is made up of several consecuti...
分类:其他好文   时间:2014-05-05 11:32:29    阅读次数:288
hdu 4143 A Simple Problem (变形)
题目题意:给n,求x;直接枚举肯定超时, 把给的式子变形, (y+x)(y-x) = n;令y-x = b, y+x = a;枚举b, b 的范围肯定是sqrt(n), y = (a+b)/2; x = (a-b)/2;b越大, x越小, 所以倒着枚举b 1 #include 2 #include....
分类:其他好文   时间:2014-05-05 11:01:25    阅读次数:244
hdu 2053 Switch Game 水题一枚,鉴定完毕
Switch GameTime Limit: 1000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 10200Accepted Submission(s): 6175Proble...
分类:其他好文   时间:2014-05-05 10:41:58    阅读次数:314
Alice and Bob(2013年山东省第四届ACM大学生程序设计竞赛)
Alice and BobTime Limit: 1000ms Memory limit: 65536K题目描述 Alice and Bob like playing games very much.Today, they introduce a new game. There is a polyn...
分类:其他好文   时间:2014-05-05 10:22:11    阅读次数:354
xmpp使用经验
IM标准协议有XMPP\IMPP\PRIM\SIP(SIMPLE)等,其中XMPP基于XML的协议,具备了很好的扩展性(依靠XML的域名空间)并且可以建立在TLS上使用SASL认证。1.文件比如图片、文档最好是依靠HTTP进行传输,而不使用XMPP的SOCKET连接通道2.二进制数据,依靠BASE6...
分类:其他好文   时间:2014-05-04 11:00:15    阅读次数:350
findContours函数导致崩溃
在程序中使用:findContours(grayImage, contours, hierarchy, CV_RETR_EXTERNAL, CV_CHAIN_APPROX_SIMPLE, Point(0, 0) );后导致程序崩溃,将该语句屏蔽后,程序并没有问题。同样打开的另外一个工程使用该语句没有问题。将没有问题的语句拷贝到该工程下,同样出错。解决方案:在配置属性->常规->MFC的使用中,将在...
分类:其他好文   时间:2014-05-04 09:05:41    阅读次数:488
Poj-3922 A simple stone game(博弈,k倍动态减法)
Poj-3922 A simple stone game 博弈,k倍动态减法详解...
分类:其他好文   时间:2014-05-04 00:21:34    阅读次数:296
ACM-博弈之Play a game——hdu1564
ACM 博弈 Play a game hdu1564 多种解题方法...
分类:其他好文   时间:2014-05-03 23:58:15    阅读次数:486
[数学+dfs] ZOJ 3753 Simple Equation
题目链接: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemId=5176 Simple Equation Time Limit: 2 Seconds      Memory Limit: 65536 KB There are many Equations. Some are difficu...
分类:其他好文   时间:2014-05-03 17:47:01    阅读次数:343
codechef The Lead Game 题解
The game of billiards involves two players knocking 3 balls around on a green baize table. Well, there is more to it, but for our purposes this is sufficient. The game consists of several rounds ...
分类:其他好文   时间:2014-05-03 16:15:33    阅读次数:296
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!