罗马数字包含以下七种字符: I, V, X, L,C,D 和 M。 字符 数值 I 1 V 5 X 10 L 50 C 100 D 500 M 1000 例如, 罗马数字 2 写做 II ,即为两个并列的 1。12 写做 XII ,即为 X + II 。 27 写做 XXVII, 即为 XX + V ...
分类:
其他好文 时间:
2020-06-28 20:46:27
阅读次数:
53
declare @id int declare @type character(2) declare @pages int declare @dbname sysname declare @dbsize dec(15,0) declare @bytesperpage dec(15,0) declar ...
分类:
数据库 时间:
2020-06-28 11:13:36
阅读次数:
256
Mybatis SqlSessionFactory 一、前言 使用Mybatis 首先是使用配置文件或者代码区生产SqlSessionFactory, 而Mybatis 提供了构造器SqlSessionFactoryBuilder。 它提供了一个类Configuration 作为引导,采用的是Bui ...
分类:
数据库 时间:
2020-06-28 09:15:35
阅读次数:
52
Based on Oracle, processing an English character takes 1 byte, but 3 bytes for a Chinese character. For example: select ename, length(ename), lengthb( ...
分类:
数据库 时间:
2020-06-27 20:30:11
阅读次数:
74
Reverse String (E) 题目 Write a function that reverses a string. The input string is given as an array of characters char[]. Do not allocate extra space ...
分类:
其他好文 时间:
2020-06-27 10:04:20
阅读次数:
50
问题一:AttributeEror:"Nonetype" object has no attribute'encoding" 解决方法将utf-8 改为 utf8 问题二 Warning: (3719, "'utf8' is currently an alias for the character ...
分类:
数据库 时间:
2020-06-27 09:30:12
阅读次数:
114
1 连接指令 #连接MySQL数据库的命令语法格式: [root@mysql50 ~]# mysql [-h服务器IP或域名 -u用户名 -p密码 数据库名称] #注意事项: #操作指令不区分大小写(密码和变量除外) #每条SQL语句都以分号;结束 #默认不支持Tab键补齐 #\c 可以取消书写错误 ...
分类:
数据库 时间:
2020-06-26 22:01:33
阅读次数:
67
删除office2016/office2019 拥有2个需要激活的授权信息 已经亲身实验过了,确实有效! office2019一样可行! 1: 首先确认office目录下存在“ospp.vbs”文件,可以搜索确认文件路径。 我的是在C:\Program Files\Microsoft Office\ ...
分类:
其他好文 时间:
2020-06-25 15:42:01
阅读次数:
372
准备工作 1. 添加依赖 <dependencies> <!--Junit--> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>4.12</version> </dependency> <! ...
分类:
其他好文 时间:
2020-06-25 13:38:43
阅读次数:
51
啊,是较简单的一题呢。有一些操作再熟悉一下。 思路就是建立一个HashMap用于计数,然后再遍历就行。时间空间复杂度都是ON 自己写的代码如下: class Solution { public int firstUniqChar(String s) { HashMap<Character,Integ ...
分类:
其他好文 时间:
2020-06-24 23:55:48
阅读次数:
113