罗马数字包含以下七种字符: I, V, X, L,C,D 和 M。 例如, 罗马数字 2 写做 II ,即为两个并列的 1。12 写做 XII ,即为 X + II 。 27 写做 XXVII, 即为 XX + V + II 通常情况下,罗马数字中小的数字在大的数字的右边。但也存在特例,例如 4 不 ...
分类:
编程语言 时间:
2021-03-06 14:42:50
阅读次数:
0
<template> <div :style="{ height: this.echartHeight }"> <div v-if="echartsBarData.length" id="myCharts" :style="{ width: '100%', height: '100%' }" ref ...
分类:
其他好文 时间:
2021-03-06 14:18:42
阅读次数:
0
前言 最近工作中,需要将查询的一段时间的数据可视化,并导出为word格式。由于对word操作不熟悉,查阅了一下相关文档,这里简要记录一下如何使用python操作word。 说明 本代码来源于官方文档(https://python-docx.readthedocs.io/en/latest/),这里对 ...
分类:
编程语言 时间:
2021-03-06 14:15:46
阅读次数:
0
1.5 堆排序 ? 堆排序(Heapsort)是指利用堆这种数据结构所设计的一种排序算法。堆积是一个近似完全二叉树的结构,并同时满足堆积的性质:即子结点的键值或索引总是小于(或者大于)它的父节点。 核心思路: 1、depth := length/2 - 1 //节点深度,n,2n+1,2n+2 2、 ...
分类:
编程语言 时间:
2021-03-05 13:28:37
阅读次数:
0
一维数组的动态和 自己的解法 public static int[] runningSum(int[] nums) { int[] resArr = new int[nums.length]; int temp = 0; for (int i = 0; i < nums.length; i++) { ...
分类:
其他好文 时间:
2021-03-05 13:05:12
阅读次数:
0
除自身以外数组的乘积 题目: 给你一个长度为 n 的整数数组 nums,其中 n > 1,返回输出数组 output ,其中 output[i] 等于 nums 中除 nums[i] 之外其余各元素的乘积。 示例: 输入: [1,2,3,4] 输出: [24,12,8,6] 提示:题目数据保证数组之 ...
分类:
编程语言 时间:
2021-03-04 13:33:58
阅读次数:
0
Security and Cryptography in Python - Hash Functions(3) How password are Verified https://docs.python.org/3/library/hashlib.html https://en.wikipedia. ...
分类:
编程语言 时间:
2021-03-03 12:13:31
阅读次数:
0
router.beforeEach((to, from, next) => {/* 路由发生变化修改页面title */if (to.meta.title) {document.title = to.meta.title}if(to.meta.content){let head = document ...
分类:
其他好文 时间:
2021-03-03 12:05:46
阅读次数:
0
C# NPOI Word 环境准备 Nuget安装 NPOI NPOI.HWPF【读取doc文件,docx无法读取】 引用 using NPOI.HWPF; using NPOI.HWPF.Extractor; 读取word文件 static void NPOIReadWord() { string ...
方法一:先按照长度排序再按照ASCII码排序 select display_name from desktop order by display_name desc, length(display_name) desc; 方法二:向前/左用空格补齐32位后再排序 select display_nam ...
分类:
数据库 时间:
2021-03-02 12:41:10
阅读次数:
0