题目地址: http://acm.zju.edu.cn/onlinejudge/showProblem.do?problemCode=3791题目描述: 给定两个长度为n的01串s1,s2,要求用k步,每一步反转s1的m个位置的数码(即0变为1,1变为0),问能有多少种做法,在k步之后将s1变成s....
分类:
其他好文 时间:
2014-07-22 22:53:54
阅读次数:
193
一、题目DescriptionWangpeng is good at drawing. Now he wants to say numbers like “521” to his girlfriend through the game draw something.Wangpeng can’t wr...
分类:
其他好文 时间:
2014-07-22 22:53:15
阅读次数:
242
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-07-22 00:12:36
阅读次数:
156
Lighttpd绑定一个端口一般都是下面的方法.备忘一下.server.port=80如果需要绑定多个端口,可以这样.$SERVER["socket"]=="0.0.0.0:82"{
server.document-root="/oldyzzt_s2/webroot/game/"
}
$SERVER["socket"]=="0.0.0.0:83"{
server.document-root="/oldyzzt_s3/webroot/game/"
}
分类:
其他好文 时间:
2014-07-21 19:27:23
阅读次数:
616
Problem Description
Eight-puzzle, which is also called "Nine grids", comes from an old game.
In this game, you are given a 3 by 3 board and 8 tiles. The tiles are numbered from 1 to 8 and each ...
分类:
其他好文 时间:
2014-07-21 16:22:02
阅读次数:
264
在深入钻研libGDX提供的api之前,让我们创建一个简单的小游戏来初步接触一个每个模块。这里将会主要介绍一些设计思想,而非细节。
我们将会看到如下内容:
1.主要的文件操作
2.清屏
3.绘制图片
4.使用相机
5.主要的输入处理
6.播放声音效果
工程的创建就不在赘述了。
The Game (游戏)
游戏的idea很简单:
1.用桶抓住雨滴
2.桶在屏幕的下方
3.雨...
分类:
其他好文 时间:
2014-07-20 21:30:19
阅读次数:
321
Flip Game
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 30062
Accepted: 13036
Description
Flip game is played on a rectangular 4x4 field with two-sided p...
分类:
其他好文 时间:
2014-07-19 23:42:59
阅读次数:
405
Kirito is stuck on a level of the MMORPG he is playing now. To move on in the game, he's got to defeat allndragons that live on this level. Kirito and...
分类:
其他好文 时间:
2014-07-19 22:20:17
阅读次数:
289
Problem DescriptionWangpeng is good at drawing. Now he wants to say numbers like “521” to his girlfriend through the game draw something.Wangpeng can’...
分类:
其他好文 时间:
2014-07-19 18:24:12
阅读次数:
205
There arenpeople standing in a line, playing a famous game called ``counting". When the game begins, the leftmost person says ``1" loudly, then the se...
分类:
其他好文 时间:
2014-07-19 11:33:34
阅读次数:
383