题目:http://poj.org/problem?id=1753
这个题在开始接触的训练计划的时候做过,当时用的是DFS遍历,其机制就是把每个棋子翻一遍,然后顺利的过了,所以也就没有深究。
省赛前一次做PC2遇到了机会一模一样的题,只不过是把棋盘的界限由4X4改为了5X5,然后一直跑不出结果来,但是当时崔老湿那个队过了,在最后总结的时候,崔老湿就说和这个题一样,不过要枚举第一行进行优化。...
分类:
其他好文 时间:
2014-06-20 12:47:10
阅读次数:
205
坦克大战时间限制:1000ms | 内存限制:65535KB难度:3描述Many of us
had played the game "Battle city" in our childhood, and some people (like me)
even often play it on com...
分类:
其他好文 时间:
2014-06-13 08:24:42
阅读次数:
221
题目描述In the Game Red Alert, a group of soviet
infantry marches towards our base. And we have N Prism Tanks to defend our base.
Suppose the coming infan...
分类:
其他好文 时间:
2014-06-11 07:18:54
阅读次数:
285
非常巧妙的题目,巧用cmp,注意cmp的重载
#include
#include
using namespace std;
string a[55];
bool cmp(string a, string b){
return a+b > b+a;
}
int main(int argc, char const *argv[])
{
int n;
while(cin >...
分类:
其他好文 时间:
2014-06-11 06:10:28
阅读次数:
293
题意:http://acdream.info/problem?pid=1112
Problem Description
Here is Alice and Bob again !
Alice and Bob are playing a game. There are several numbers.First, Alice choose a number n.Then he c...
分类:
其他好文 时间:
2014-06-10 14:48:56
阅读次数:
236
声音1. 声音的使用涉及三个概念:()Listener
——监听声音的object,一个场景只能有一个Listener(2)声音源文件(3)声音剪辑clip ——
我理解的是吧源文件放到scene关联object就成为了一个clip2. 声音unity3d支持的格式包括mp3,wav,ogg等3D和...
分类:
其他好文 时间:
2014-06-10 12:01:30
阅读次数:
295
Two players, S and T, are playing a game where they make alternate moves. S plays
first.
In this game, they start with an integer N. In each move, a player removes one digit from the integer and p...
分类:
其他好文 时间:
2014-06-10 06:31:29
阅读次数:
302
团队介绍 | 魅动 Magic Motion魅动 Magic Motion
是专注于研发、设计和生产智能化私密生活用品的创新品牌。魅动 Magic Motion
将无线移动通信技术与私密生活产品相结合,开发与智能手机实现无缝连接,通过智能手机的免费App(应用程序)来实现操控的智能私密生活用品。魅动...
分类:
其他好文 时间:
2014-06-08 06:26:14
阅读次数:
200
Description
A robot has been programmed to follow the instructions in its path. Instructions for the next direction the robot is to move are laid down in a grid. The possible instructions are
...
分类:
其他好文 时间:
2014-06-08 04:38:32
阅读次数:
386
背包附加:进入背包麻烦,背包的功能能按照所在页面进行不同的处理。背包独立:进入背包方便,从背包返回麻烦,可简化背包功能(背包只有选择功能)。页面切换:每个场景带私有数据,增加代码编写难度,个人认为com就是太复杂了,规矩太多。页面切换:根据需要一键切换到任何页面的任何位置的需求,页面切换应有同一的接...
分类:
其他好文 时间:
2014-06-07 11:15:10
阅读次数:
181