https://www.luogu.org/problemnew/show/1456 题目描述 Once in a forest, there lived N aggressive monkeys. At the beginning, they each does things in its own ...
分类:
其他好文 时间:
2017-12-29 19:01:56
阅读次数:
172
1.安装gitlab https://about.gitlab.com/installation/#ubuntu 2.安装runner https://docs.gitlab.com/runner/install/linux-repository.html 3.注册runner https://do ...
分类:
其他好文 时间:
2017-12-28 11:55:54
阅读次数:
207
Monkey King ZOJ - 2334 题目大意:有n个猴子,一开始每个猴子只认识自己。每个猴子有一个力量值,力量值越大表示这个猴子打架越厉害。如果2个猴子不认识,他们就会找他们认识的猴子中力量最大的出来单挑,单挑不论输赢,单挑的2个猴子力量值减半,这2拨猴子就都认识了,不打不相识嘛。现在给m ...
分类:
其他好文 时间:
2017-12-26 12:02:41
阅读次数:
168
SpringBoot配置发送Email 引入依赖 在 pom.xml 文件中引入邮件配置: 配置文件 注意:若使用QQ邮箱发送邮件,则需要修改为spring.mail.host=smtp.qq.com,同时spring.mail.password改为QQ邮箱的授权码。 QQ邮箱->设置->账户->P ...
分类:
编程语言 时间:
2017-12-25 13:26:44
阅读次数:
219
开放-封闭原则 ——对扩展开放,对修改封闭 1 package kaifangfenbi; 2 3 class Monkey { 4 public void PaShu() { 5 System.out.println("我是猴子,我会爬树!"); 6 } 7 } 8 9 // 六耳猕猴 10 cl ...
分类:
其他好文 时间:
2017-12-25 11:30:22
阅读次数:
115
http://acm.hdu.edu.cn/showproblem.php?pid=1512 大约是个左偏树模拟大架裸题 分离出两mokey所在堆的根节点,改变key值后插入,合并两mokey ...
分类:
其他好文 时间:
2017-12-23 14:17:19
阅读次数:
130
Monkey King Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6667 Accepted Submission(s): 2858 Pr ...
分类:
其他好文 时间:
2017-12-23 11:59:02
阅读次数:
210
package com.OnlineRetailers.service.base; import org.junit.runner.RunWith; import org.springframework.test.context.ContextConfiguration; import org.sp... ...
分类:
编程语言 时间:
2017-12-22 19:41:54
阅读次数:
186
lookup-method 示例: 步骤一:定义一个Car类 步骤二:定义一个Boss接口 步骤三:在spring的配置文件bean.xml中定义三个bean 步骤四:写单元测试测试 输出: 奔驰GLC260 结论: 1、通过lookup-method元素标签可以为Boss的haveCar()提供动 ...
分类:
编程语言 时间:
2017-12-17 12:18:31
阅读次数:
126