Problem Description There are two circles in the plane (shown in the below picture), there is a common area between the two circles. The problem is ea ...
分类:
其他好文 时间:
2018-04-27 21:04:18
阅读次数:
176
#include #define MaxSize 100 #define M 8 #define N 8 int mg[M+2][N+2]= { {1,1,1,1,1,1,1,1,1,1}, {1,0,0,1,1,0,0,1,0,1}, {1,1,0,1,0,1,0,1,0,1}, {1,0,0,0... ...
分类:
其他好文 时间:
2018-04-27 12:19:18
阅读次数:
197
1:用户和权限 1.1 用户的创建 a)语法 create user 用户名 identified by 密码; b)创建用户abcd,并设定密码为abcd; 注意:操作数据库对象是需要DBA(数据库管理员)权限的; create user abcd identified by bjsxt; 1.2 ...
分类:
数据库 时间:
2018-04-27 02:31:25
阅读次数:
246
1 #include 2 #include 3 #define MaxSize 1000010 4 using namespace std; 5 6 char s[MaxSize]; 7 int Next[MaxSize]; 8 int Len; 9 10 void GetNext() 11 { 1... ...
分类:
其他好文 时间:
2018-04-27 02:27:10
阅读次数:
177
题目链接: http://exercise.acmcoder.com/online/online_judge_ques?ques_id=3352&konwledgeId=40 解题思路: 首先,考虑一维的情况。a1,a2,a3,....an的最大子序列和。我们维护一个(最大前缀和),当这个前缀和小于 ...
分类:
其他好文 时间:
2018-04-26 23:23:00
阅读次数:
117
1.http.js /** * * http配置 */ import axios from 'axios'import { Loading, Message } from 'element-ui' // axios 配置axios.defaults.timeout = 5000; // http r ...
分类:
移动开发 时间:
2018-04-26 19:07:56
阅读次数:
709
1.生成安全证书 Cas server默认的安全认证是基于https协议的,这就要求在应用程序和CAS Server端配置SSL协议。(当然也可以在cas server中配置让其可以用http访问) 要使用https协议,就需要使用安全证书,这里我们通过JDK自带的应用keytool来制作。这种自用 ...
分类:
其他好文 时间:
2018-04-26 18:20:13
阅读次数:
210
TypeError: __init__() missing 1 required positional argument: 'on_delete' python从入门到实践,第十八章,更改models.py 时出现的问题,更改方式如下所示。 在topic = models.ForeignKey(To ...
分类:
其他好文 时间:
2018-04-26 12:27:15
阅读次数:
169
一、基础概念 多态: 重点是对象的多态性。某一事物的多种体现形态。 多态的作用: 1.提高了代码的扩展性,后期出现的功能,可以被之前的程序所执行。 2.不能使用子类特有的功能。只能使用覆盖父类的功能。 多态的前提: 1.必须要有继承关系或者实现关系。 2.通常对方法进行重写、覆盖。 3.父类或者接口 ...
分类:
编程语言 时间:
2018-04-25 14:00:11
阅读次数:
177