AskScuti MySQL : Windows Server 2019 安装 MySQL 8.0 温馨提示:为了展现我最“魅力”的一面,请用谷歌浏览器撩我。 一切就绪,点我开撩 ...
分类:
数据库 时间:
2019-11-06 15:16:44
阅读次数:
260
一、问题如下 使用Notepad编码,保存时遇到问题:Failed to save file. Not enough space on disk to save file? 如下图所示: 二、解决方法 修改Notepad++->Encoding->Convert to UTF-8-BOM ...
分类:
其他好文 时间:
2019-11-06 15:04:30
阅读次数:
295
前段时间在开发中,遇到需要给背景层加颜色遮罩的项目,现在特定总结一下给背景图层加颜色遮罩的方法。方法一:通过定位叠加(注意层级)<divclass="wrap1"><divclass="inner"></div></div>.wrap1{position:relative;width:1200px;height:400px;background:rg
分类:
Web程序 时间:
2019-11-06 10:32:09
阅读次数:
225
问题引入 求 $n$ 个矩形的面积并。$1\leq n\leq 10^5$。 离散化坐标 首先,通过离散化,可以让矩形的坐标从 $10^9$ 级别降至 $10^5$ 级别。 尽管如此,开一个 $N^2$ 的二维数组来存储坐标系里的每个点,仍然还会导致空间超限。 扫描线 本章节中,部分图片来自 "这里 ...
分类:
其他好文 时间:
2019-11-03 16:28:06
阅读次数:
77
Given an absolute path for a file (Unix-style), simplify it. Or in other words, convert it to the canonical path. In a UNIX-style file system, a perio ...
分类:
其他好文 时间:
2019-11-03 12:53:44
阅读次数:
74
习题1 编写函数,对单词中的字母实现下操作: 根据参数设置,将单词中的字母转化为大写或者小写 返回转化之后的单词 def convert(word, low=True): if low: return word.lower() else: return word.upper() w = "Physi ...
分类:
其他好文 时间:
2019-11-03 10:36:07
阅读次数:
83
//int转16进制 (long类型同样) int a=90; string str= convert.tostring(a,16); //5a //int转2进制 int a=90; string str= convert.tostring(a,2); //1011010 //int转byte i... ...
今天在学习mybatis框架的时候遇到了一个问题:查询用户表的时候报 Cannot convert value '0000-00-00 00:00:00' from column 10 to TIMESTAMP 查看自己数据库中有一条数据: 意思是:无法将值“0000-00-00 00:00:00” ...
分类:
数据库 时间:
2019-11-02 14:06:40
阅读次数:
245
这题显然是DP 首先,$dp[i][j]$表示树深度小于等于i,树的大小为j的有根树的数量$ 可以循环枚举根节点编号次大的子树的大小k。 $dp[i][j]=\sum^{j 1}_{k=1}dp[i][j k] dp[i 1][k] C^{k 1}_{j 2}$ 注释:第一个dp表示的是除去这棵大小 ...
分类:
其他好文 时间:
2019-11-02 11:52:04
阅读次数:
79
Mysql模糊查询有以下三种方法: 1.Convert转成日期时间型,在用Like查询。select * from table1 where convert(date,DATETIME) like '2006-04-01%'第一种方法应该适用与任何数据类型; 2.Betweeselect * fro ...
分类:
数据库 时间:
2019-11-02 11:41:47
阅读次数:
165