创建数据库mysql>SHOWDATABASES;+--------------------+|Database|+--------------------+|information_schema||mysql||performance_schema||sys|+--------------------+4rowsinset(0.35sec)mysql>CREATEDATABASEte
分类:
数据库 时间:
2020-04-14 16:48:09
阅读次数:
76
算法 第五章 递归与动规相关问题(完结) 递归和动态规划 + 暴力递归 + 转化为规模缩小了的同问题的子问题 时间复杂度O(2n 1) + 有明确的边界条件(base case) 先写base case,再写问题递归的过程 + 有得到子问题结果后决策过程 + 不记录每个子问题的解 每次求解子问题都交 ...
分类:
编程语言 时间:
2020-04-14 10:43:29
阅读次数:
68
头文件 golf.h 1 //golf.h --for pe9-1.cpp 2 3 const int Len = 40; 4 struct golf 5 { 6 char fullname[Len]; 7 int handicap; 8 }; 9 10 void setgolf(golf &g, ...
分类:
编程语言 时间:
2020-04-13 19:38:15
阅读次数:
74
# Specify the Starter Database character set.## One of the following# AL32UTF8, WE8ISO8859P15, WE8MSWIN1252, EE8ISO8859P2,# EE8MSWIN1250, NE8ISO8859P1 ...
分类:
数据库 时间:
2020-04-13 13:56:13
阅读次数:
109
前端Vue问题描述: 通过面包屑导航,无法获取导航分类对应商品列表 后端问题描述:# 报错提示 File "D:\Envs\vueshop\lib\site-packages\django_filters\filterset.py", line 258, in form Form = self.ge ...
分类:
其他好文 时间:
2020-04-12 18:29:21
阅读次数:
88
1.索引异常 IndexError: list index out of range 2.语法异常 SyntaxError 3.缩进异常 IndentationError: unexpected indent 4.try 语句完整形态:try except else finally 5.try 内的 ...
分类:
其他好文 时间:
2020-04-12 12:15:41
阅读次数:
73
编写filter过滤器有两种方法,一种是使用注解配置,另一种是使用web.xml配置,此处使用web.xml配置来实现过滤器 (1)使用web.xml配置过程 <filter> <filter-name>setCharacterFilter</filter-name> <filter-class>c ...
分类:
编程语言 时间:
2020-04-12 10:18:33
阅读次数:
52
jdk1.6版本String.java文件中关于substring的代码及描述 1 /** 2 * Returns a new string that is a substring of this string. The 3 * substring begins with the character ...
分类:
其他好文 时间:
2020-04-11 23:50:12
阅读次数:
65
[TOC] 基本类型介绍 JAVA 中标识符的命名原则 可以使用 " _ ", " $ " 开头,其他字符一律不行; 不可以使用数字作为开头; JAVA 使用Unicode字符集,所以可以使用汉字来命名;但是我们人为不允许。 变量类型 1.常用变量的大小 (1 Bytes = 8 bits) dou ...
分类:
其他好文 时间:
2020-04-10 00:07:36
阅读次数:
78
1.题目 可以删除一个字符,判断是否能构成回文字符串。: Input: "abca" Output: True Explanation: You could delete the character 'c'. 2.代码实现: class Solution(object): def validPali ...
分类:
其他好文 时间:
2020-04-09 12:48:40
阅读次数:
74