quickSort def partition(arr,low, high): i=(low-1) p=arr[high] for j in range(low, high): if arr[j]<=p: i+=1 arr[i],arr[j]=arr[j],arr[i] arr[i+1],arr[h ...
分类:
编程语言 时间:
2021-03-08 14:00:56
阅读次数:
0
数据创建 randint 创建随机整数array。 np.random.randint(10,size=(2,3)) randint(low, high=None, size=None, dtype='l') low为必选参数: 若有low与high,则返回两者之间的数据。[low, high)。 ...
分类:
其他好文 时间:
2021-03-03 12:17:41
阅读次数:
0
Introduction 超分是一个在 low level CV 领域中经典的病态问题,比如增强图像视觉质量、改善其他 high level 视觉任务的表现。Zhang Kai 老师这篇文章在我看到的超分文章里面是比较惊艳我的一篇,首先他指出基于学习(learning-based)的方法表现出高效, ...
分类:
Web程序 时间:
2021-03-02 12:05:45
阅读次数:
0
用户主题宽表 类似累积事实表 drop table if exists dwt_user_topic; create external table dwt_user_topic ( user_id string comment '用户 id', login_date_first string com ...
分类:
其他好文 时间:
2021-02-26 13:12:24
阅读次数:
0
翻译自微软官网 https://docs.microsoft.com/en-us/dotnet/desktop/wpf/advanced/dependency-properties-overview?view=netframeworkdesktop-4.8 1、依赖属性和CLR属性 在WPF中,属性 ...
Introdution STM32Fxxx 系列的MCU, 似乎有分類成 low-, medium-, high-, XL-density 4種不同Flash大小的產品。 個人是常常忘記所以在此筆記。 Flash : 通常放置程式碼, const常數變數, 掉電資料不消失。 存取速度較慢 RAM : ...
分类:
数据库 时间:
2021-02-18 13:22:05
阅读次数:
0
一、Abbreviation 缩写 0、 RTM requirement trace matrix 需求跟踪距阵 1、 SRS software requirement specification 软件需求规格说明书 2、 HLD high level design 概要设计 3、 LLD low ...
分类:
其他好文 时间:
2021-02-17 14:52:17
阅读次数:
0
Unsafe Rust So far, you can see that Rust has a strict memory safety guarantee at compile time. However, sometimes this safety guarantee can be annoyi ...
分类:
其他好文 时间:
2021-02-17 14:12:34
阅读次数:
0
正题 题目链接:https://www.luogu.com.cn/problem/AT4995 题目大意 $n$个点的一棵树,上面有一些棋子,每次可以选择两个棋子移动到他们之间的路径上相邻的点上,求最少多少步能移动到一个点上。 \(n\in[1,2000]\) 解题思路 如果固定最终节点的话,这个节 ...
分类:
其他好文 时间:
2021-02-16 12:00:16
阅读次数:
0
本文介绍如何通过C#程序代码来压缩Excel中的图片。本次测试环境中的操作思路:加载Excel文档,遍历sheet表格中的所有图片,通过Xls.BatmapShape.Compress(int quality)方法来压缩图片大小。 工具使用:进行压缩前,须在程序中引用Spire.Xls.dll(版本 ...