# 1. 选择排序:循环找最小值,依次放在左侧 def select_sort(arr): for i in range(len(arr)-1): min_index = i for j in range(i+1, len(arr)): if arr[j] < arr[min_index]: min ...
分类:
编程语言 时间:
2021-04-15 12:18:58
阅读次数:
0
配置阶段 配置web.xml文件 DispatcherServlet 设置init-param configLocation=classpath:application.properties 设置url-pattern /* 配置Annotation @Controller、@Service、@Re ...
分类:
编程语言 时间:
2021-04-15 12:17:07
阅读次数:
0
主要测试了各方式clone的情况: 1. 安装gitlab,配置ip:port。 常规步骤: yum install -y curl policycoreutils-python openssh-server wget https://mirrors.tuna.tsinghua.edu.cn/git ...
分类:
其他好文 时间:
2021-04-15 12:08:39
阅读次数:
0
参考资料:自己debug 首先,我报错的问题的文本是:RuntimeError: CUDA error: device-side assert triggered以及 Assertion `input_val >= zero && input_val <= one` failed 把这两个文本放在前 ...
分类:
其他好文 时间:
2021-04-15 12:08:09
阅读次数:
0
<button id="delAll">批量删除</button>//给按钮一个id属性 <input type="checkbox" name="check" checkid="{{$v->id}}">//给input设置一个自定义的id <script src="https://apps.bdi ...
分类:
其他好文 时间:
2021-04-15 12:05:39
阅读次数:
0
在做STM32f405 移植过程中,编译出现了cannot open source input file "core_cmInstr.h": No such file or directory的错误,显然我们需要将core_cmInstr.h添加keil include path中,具体如下图: 查 ...
分类:
其他好文 时间:
2021-04-15 12:04:39
阅读次数:
0
[ { "m": "01", "v": 0.019, "dq": 0, "ts": null, "pf": null, "time": "2021-03-28 00:00:00", "stringTime": "2021-03-28", "flag": null }, { "m": "01", "v ...
分类:
编程语言 时间:
2021-04-15 12:00:42
阅读次数:
0
注释: 本文中出现的所有题目均来自于网络 本人只是对其进行解答和注释 所有题目均为个人解答方案,如有纰漏或更好的解答欢迎指正 选择题1-10: 下面属于关键字的是: func def struct class [答案]:AC [解析&扩展]: func用于定义函数,故A正确。 def是python中 ...
分类:
其他好文 时间:
2021-04-15 11:59:14
阅读次数:
0
一.排序: 1.slice切片( ::-1) 2.reversed( ) 3.sorted( ,reverse=True)) 字母数字不可同时存在。默认为False升序,True降序。 4.filter(function,iterable) 二.常用 1.sum() 2.max() 3.min() ...
分类:
编程语言 时间:
2021-04-15 11:57:56
阅读次数:
0
相对路径问题: import os import sys # sys.path.append(os.getcwd()) # filename = "E:\python小脚本\测试导入\projects\project1\project1_1\Text1_1.txt" # 绝对路径 # filenam ...
分类:
编程语言 时间:
2021-04-14 12:44:36
阅读次数:
0