Word AmalgamationIn millions of newspapers across the United States there is a word game calledJumble. The object of this game is to solve a riddle, b...
分类:
其他好文 时间:
2014-12-06 21:29:26
阅读次数:
351
一开始看这道博弈题的时候我就用很常规的思路去分析了,首先先手取1或者2个coin后都会使剩下的coin变成线性排列的长条,然后无论双方如何操作都是把该线条分解为若干个子线条而已,即分解为若干个子游戏而已,我想起刘汝佳的大白书上有类似的例题(不过复杂好多),于是便用同样的方法去做了,以sg(x)表.....
分类:
其他好文 时间:
2014-12-06 16:40:11
阅读次数:
187
var gameover=0;//Flugzeug an und abschalten. Wird später interessant. Game Over || Turn on and off the airplane code. Becomes interesting at a later p...
分类:
其他好文 时间:
2014-12-06 16:36:38
阅读次数:
150
/**
?*?@brief?Codeforces?Round?#281?(Div.?2)?d
?*?@file?d.cpp
?*?@author?闈㈢爜
?*?@created?2014/12/05?18:19
?*?@edited??2014/12/05?18:19
?*?@type??game
?*
?*/
#include...
分类:
其他好文 时间:
2014-12-06 14:12:21
阅读次数:
148
Hopscotch
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 2156
Accepted: 1548
Description
The cows play the child's game of hopscotch in a non-traditiona...
分类:
其他好文 时间:
2014-12-06 14:07:12
阅读次数:
180
本系列博文翻译自以下文章http://blog.sklambert.com/html5-canvas-game-panning-a-background/Languages: HTML5, JavaScriptCode: https://github.com/straker/galaxian-can...
分类:
Web程序 时间:
2014-12-05 12:37:49
阅读次数:
337
Master-Mind Hints
Time Limit:3000MS Memory Limit:0KB 64bit IO Format:%lld
& %llu
Submit Status
Description
MasterMind is a game for two players. One of them, Designer, selects ...
分类:
其他好文 时间:
2014-12-05 09:18:14
阅读次数:
280
codeforces 492D Vanya and Computer Game(额。。。数学题?水题吧)
题目大意:
有2个人在打怪,攻击频率分别是x,y。小怪有num点血。问死的时候是谁打死的。如果同时出手 输出Both。...
分类:
其他好文 时间:
2014-12-04 20:06:27
阅读次数:
121
题意为给出总石子数n,和m堆石子,两个人轮着取石子,每次只能从总石子中取m堆中的一堆的个数的石子,取走最后一个石子的胜。S先取,O后取。
用博弈的输赢观念+dp就可以了,由于记忆化搜索会爆栈,那就递推了,索性还好推……
不然就不会了……
#include
#include
#include
#include
#include
#include
#include
#includ...
分类:
其他好文 时间:
2014-12-04 20:02:40
阅读次数:
246
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 maximu...
分类:
其他好文 时间:
2014-12-04 13:56:04
阅读次数:
128