CF39D Cubical Planet-C++】的更多相关文章

银河系中没有你找不到的东西!有一颗形状为立方体的的行星正在绕着一颗形状为二十面体的恒星运转.现在我们让这颗行星的两个在同一条体对角线上的顶点置于(0,0,0)和(1,1,1)上.有两只苍蝇住在行星上.这俩家伙分别坐在这颗行星的两个不同的顶点上. 问题是:你需要确定,这俩可怜虫会不会见面.前提是:如果他俩所在的顶点位于这颗行星的同一个面上(六个面),他们就算见到彼此了. 输入格式: 第一行包括三个用空格分开的整数,表示第一只苍蝇的坐标. 第二行也包括三个用空格分开的整数,表示第二只苍蝇所在的坐标.…
转自我的BLOG http://blog.csdn.net/goldenhawking/article/details/6402775  最近经过陛下点拨,涉猎了“OpenStreetMap”,做了不少业余研究,把成果给大家分享一下,特别是提供搭建好的客户端-服务器框架,以及中国国内的OSM开放地图范例. 为什么只有中国的?? 原因很简单,  由于导入世界范围数据要耗费 100GB以上的磁盘.经过我亲自测试,如果需要导入世界数据的话,在拥有4GB存储器.1TB磁盘阵列的HP 8核服务器上需要近1…
Computer Virus on Planet Pandora Time Limit: 6000/2000 MS (Java/Others)    Memory Limit: 256000/128000 K (Java/Others)Total Submission(s): 2578    Accepted Submission(s): 713 Problem Description     Aliens on planet Pandora also write computer progra…
Computer Virus on Planet Pandora Time Limit: 6000/2000 MS (Java/Others)    Memory Limit: 256000/128000 K (Java/Others) Total Submission(s): 4090    Accepted Submission(s): 1072 Problem Description     Aliens on planet Pandora also write computer prog…
Computer Virus on Planet Pandora Time Limit: 6000/2000 MS (Java/Others)    Memory Limit: 256000/128000 K (Java/Others)Total Submission(s): 2975    Accepted Submission(s): 833 Problem Description     Aliens on planet Pandora also write computer progra…
Description Aliens on planet Pandora also write computer programs like us. Their programs only consist of capital letters (‘A’ to ‘Z’) which they learned from the Earth. On planet Pandora, hackers make computer virus, so they also have anti-virus sof…
今天发布博客,将Flappy Bird和其它的小游戏移植到Respberry PI了 http://planet.qt.io/ planet.qt.io 的repo: https://codereview.qt-project.org/#/admin/projects/www/planetqt 目前应该只收录英文的内容中文的,还没有搞起来…
http://code.qt.io/cgit/ http://planet.qt.io/…
题目连接:hdu 3695 Computer Virus on Planet Pandora 题目大意:给定一些病毒串,要求推断说给定串中包括几个病毒串,包括反转. 解题思路:将给定的字符串展开,然后匹配一次后反转后再匹配一次. #include <cstdio> #include <cstring> #include <queue> #include <vector> #include <iostream> #include <algor…
Google AI团队与DeepMind合作,上周宣布了一个名为PlaNet的新的开源“Deep Planning”网络. PlaNet是一个人工智能代理,它只使用图像输入来学习世界模型,并使用这些模型进一步计划以获得经验. PlaNet可以轻松解决各种基于图像的控制任务,并与先进的无模型代理商竞争. Google AI团队还发布了研究社区的源代码,以进一步探索和构建PlaNet. PlaNet如何运作? PlaNet依赖于隐藏或潜在状态的紧凑序列.这被称为潜在动力学模型,其中不是直接从一个图像…