思路清晰就好,不是很难只是有点复杂。 #include<bits/stdc++.h> #define atest using namespace std; int n,l,r,t; int mapp[601][601]; int main(){ cin>>n; cin>>l; cin>>r; cin ...
分类:
其他好文 时间:
2021-05-03 11:58:33
阅读次数:
0
Serverless deployment is a key consideration when starting to write software using Function-as-a-Service services such as AWS Lambda. In the beginning ...
分类:
其他好文 时间:
2021-05-03 11:50:17
阅读次数:
0
树与查找 目录 查找的基本概念 二叉树排序 ###疑难问题 查找的基本概念 查找表 运作查找算法的载体,可以使用多种数据结构来实现。 关键字 关键字是数据元素或记录中某个数据项的值,用它可以标识一个数据元素或记录。 查找 通过关键字,向查找表索要数据的行为。 ASL 平均查找长度,在查找操作中和给定 ...
分类:
其他好文 时间:
2021-04-30 12:33:05
阅读次数:
0
背景 创建了virtual environment,但是在sudo下却无效,提示找不到包,然而这个包其实安装过了。 解决办法 直接使用venv下python的绝对路径, sudo 你自己的虚拟环境目录/bin/python hello.py 例如 sudo /home/wlg/venv/bin/py ...
分类:
系统相关 时间:
2021-04-30 12:26:45
阅读次数:
0
一、InitializingBean接口说明InitializingBean接口为bean提供了属性初始化后的处理方法,它只包括afterPropertiesSet方法,凡是继承该接口的类,在bean的属性初始化后都会执行该方法。 /* * Copyright 2002-2018 the origi ...
分类:
编程语言 时间:
2021-04-30 12:07:56
阅读次数:
0
参考博文: https://blog.csdn.net/weixin_39446611/article/details/104261264?utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7EBlogCommendFro ...
分类:
系统相关 时间:
2021-04-30 12:04:30
阅读次数:
0
https://github.com/maxmind/libmaxminddb ubuntu sudo add-apt-repository ppa:maxmind/ppa sudo apt update sudo apt install libmaxminddb0 libmaxminddb-dev ...
分类:
数据库 时间:
2021-04-30 11:55:10
阅读次数:
0
Ubuntu压缩包管理 gzip 分别压缩,生成多个压缩包(.gz),不保留源文件,只能压缩文件不能压缩目录 gzip *.txt gunzip *.gz --还原 bzip2 分别压缩,生成多个压缩包(.bz2),默认不保留源文件,只能压缩文件不能压缩目录 bzip2 *.txt bzip2 *. ...
分类:
系统相关 时间:
2021-04-29 12:00:06
阅读次数:
0
1.命令模式 1.1移动光标 l 向右 h 向左 k 向上 j 向下 G 移动到文件的末尾 gg 移动到文件的开始 0 移动到当前行的行首 shift+4 移动到当前好的末行 数字+G 移动到指定行 1.2删除(其实是剪切) x 删除光标后的字符 X 删除光标前的字符 dw 删除一个单词(注意要把光 ...
分类:
系统相关 时间:
2021-04-29 11:58:47
阅读次数:
0
CentOS(Community ENTerprise Operating System)是Linux发行版之一,它是来自于Red Hat Enterprise Linux依照开放源代码规定释出的源代码所编译而成。由于出自同样的源代码,因此有些要求高度稳定性的服务器以CentOS替代商业版的Red ...
分类:
系统相关 时间:
2021-04-29 11:57:06
阅读次数:
0