码迷,mamicode.com
首页 >  
搜索关键字:rabbit and grass    ( 840个结果
ZCMU新人训练赛-B
Tom has a meadow in his garden. He divides it into N * M squares. Initially all the squares were covered with grass. He mowed down the grass on some o ...
分类:其他好文   时间:2017-08-04 17:14:08    阅读次数:169
Wolf and Rabbit
gcd(最大公因数)和lcm(最小公倍数) 辗转相除法求a和b的最大公因数和最小公倍数: 最小公倍数=a*b/最大公约数; 求最大公因数: 求最小公倍数: 题目: There is a hill with n holes around. The holes are signed from 0 to ...
分类:其他好文   时间:2017-08-02 22:10:29    阅读次数:177
E - Wolf and Rabbit
There is a hill with n holes around. The holes are signed from 0 to n-1. A rabbit must hide in one of the holes. A wolf searches the rabbit in anticlo ...
分类:其他好文   时间:2017-08-02 11:50:03    阅读次数:160
Wolf and Rabbit
There is a hill with n holes around. The holes are signed from 0 to n-1. A rabbit must hide in one of the holes. A wolf searches the rabbit in anticlo ...
分类:其他好文   时间:2017-08-01 20:51:10    阅读次数:158
hdu 4057 Rescue the Rabbit(AC自动机+状压dp)
题目链接:hdu 4057 Rescue the Rabbit 题意: 给出一些模式串,每个串有一定的价值,现在构造一个长度为M的串,问最大的价值为多少,每个模式串最多统计一次。 题解: 由于每个模式串最多统计一次,所以我们要考虑记录是否已经存在该串。 考虑dp[i][j][k]表示当前考虑到i的长 ...
分类:其他好文   时间:2017-07-28 22:15:25    阅读次数:229
HDU 1222: Wolf and Rabbit
HDU 1222: Wolf and Rabbit ///@author Sycamore, ZJNU ///@accepted_on 2017-01-24 #include using namespace std; unsigned gcd(unsigned a, unsigned b) { re... ...
分类:其他好文   时间:2017-07-28 00:59:05    阅读次数:234
spring 整合rabbitMQ
<!-- 配置邮件消息队列监听 --> <bean id="maillistener" class="cn.xdf.wlyy.listener.Maillistener" name="maillistener"> <property name="mailManager" ref="mailManag ...
分类:编程语言   时间:2017-07-26 12:33:02    阅读次数:250
尼姆博弈(一)
大学时光是浪漫的,女生是浪漫的,圣诞更是浪漫的,但是Rabbit和Grass这两个大学女生在今年的圣诞节却表现得一点都不浪漫:不去逛商场,不去逛公园,不去和AC男约会,两个人竟然猫在寝食下棋…… 说是下棋,其实只是一个简单的小游戏而已,游戏的规则是这样的: 1、棋盘包含1*n个方格,方格从左到右分别 ...
分类:其他好文   时间:2017-07-25 22:32:14    阅读次数:148
电子宠物加强版
1、Pet 父类 2、Rabbit 子类 3、Main方法 ...
分类:其他好文   时间:2017-07-23 11:18:19    阅读次数:203
Spring Boot Starter 的基本封装
1)spring-boot-starter这是Spring Boot的核心启动器,包含了自动配置、日志和YAML。 2)spring-boot-starter-amqp通过spring-rabbit来支持AMQP协议(Advanced Message Queuing Protocol)。 3)spr ...
分类:编程语言   时间:2017-07-23 10:06:51    阅读次数:251
840条   上一页 1 ... 50 51 52 53 54 ... 84 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!