Motivation The task of finding nearest neighbours is very common. You can think of applications like finding duplicate or similar documents, audio/vid ...
分类:
其他好文 时间:
2020-07-29 10:07:50
阅读次数:
68
Nump库的基本使用 库的导入 PyCharm file - Setting - Project interpreter - + - (Searh what you need) - Install Package 多维数组 import numpy as np a = np.array([[1, 2 ...
分类:
其他好文 时间:
2020-07-26 18:58:40
阅读次数:
65
In this note,you will not find the concept of QS and the method of how to compute the cost of time and space of this algorithm。This page will not refe ...
分类:
其他好文 时间:
2020-07-26 01:23:01
阅读次数:
76
#第一种做法(21分) #include <iostream> #include<stdio.h> #include<iomanip> int main() { int input,need; //input代表月饼种类 ,need代表市场需要吨数 scanf("%d %d",&input,&nee ...
分类:
其他好文 时间:
2020-07-24 22:06:42
阅读次数:
73
搜索依然爆炸的烂,继续加油吧。 题解:按照 h 排序的大根堆,每次寻找四周 h 小的接上dp串。 #include <iostream> #include <queue> #include <algorithm> using namespace std; /* * time: 2020.7.23 * ...
分类:
其他好文 时间:
2020-07-23 23:26:22
阅读次数:
94
https://cloud.tencent.com/developer/devdocs 1.设计原则(1)YAGNIYou Aren't Gonna Need It,你不会需要它;不写不需要的功能 (2)KISSKeep It Simple and Stupid,让你的代码越简单/傻瓜越好(3)OC ...
分类:
其他好文 时间:
2020-07-23 01:46:57
阅读次数:
121
Assigning a balloon color to each problem is one of the tasks we need to do every year, and sometimes itis tricky. We noticed that some contestants as ...
分类:
其他好文 时间:
2020-07-22 20:29:29
阅读次数:
62
人生苦短,我用 Python —— Life is short, you need Python 1. Python 的起源 1989 年的圣诞节期间,吉多·范罗苏姆为了在阿姆斯特丹打发时间,决心开发一个新的解释程序,作为 ABC 语言的一种继承。 ABC 是由吉多参加设计的一种教学语言,就吉多本人 ...
分类:
编程语言 时间:
2020-07-22 16:16:54
阅读次数:
71
thinkphp6 关联模型如何查询已经软删除的数据 <?php namespace app\woman\model; use think\Model; use think\model\concern\SoftDelete; class Woman extends Model { use SoftD ...
分类:
Web程序 时间:
2020-07-21 21:44:44
阅读次数:
192
模型设置数据表 <?php namespace app\index\model; use think\Model; class Product extends Model{ public function getStatusAttr($value) { $status = [-1=>'删除',0=> ...
分类:
其他好文 时间:
2020-07-20 15:51:21
阅读次数:
91