上一页 1 2 3 4 5 6 7 8 ··· 12 下一页
摘要: 1,re模块: compile search group groups findall sub 匹配方法一:search search()将返回一个Match对象,包含被查找字符串中的“第一次”匹配的文本 ***Re = re.compile(r'正则表达式') mo = ***Re.search( 阅读全文
posted @ 2021-10-21 22:08 tensor_zhang 阅读(145) 评论(0) 推荐(0)
摘要: 1,数据生成 import random import numpy as np from matplotlib import pyplot as plt aList = [] num1 = 0 bList = [] num2 = 0 for i in range(1000): point = [ra 阅读全文
posted @ 2021-10-11 10:28 tensor_zhang 阅读(169) 评论(0) 推荐(0)
摘要: 1,题目 leetcode-912. 排序数组 2,选择排序 核心思想:挑出最值放在一边 时间复杂度:O(N^2) 示例代码: class Solution: def sortArray(self, nums: List[int]) -> List[int]: length = len(nums) 阅读全文
posted @ 2021-10-07 23:49 tensor_zhang 阅读(60) 评论(0) 推荐(0)
摘要: 1,基础 1-1,安装与卸载 ==wsl2.0== win10如何开启自带的虚拟机(bios也需要设置) 旧版 WSL 的手动安装步骤 设置 WSL 开发环境的最佳做法 排查适用于 Linux 的 Windows 子系统问题 应用商店 ubuntu== /mnt 为windows文件系统(挂载) = 阅读全文
posted @ 2021-09-30 16:18 tensor_zhang 阅读(2431) 评论(0) 推荐(1)
摘要: 1,tcp五层模型 广域网 1.应用层(http,smtp,ssh等协议) 2.传输控制层(tcp(三次握手,四次挥手),udp):建立链接,socket套接字(源ip port 目标ip port) 3.网络层(路由算法):目标ip和掩码确定下一跳(下一个要走的ip)(子网) 局域网 4.链路层( 阅读全文
posted @ 2021-09-25 13:28 tensor_zhang 阅读(49) 评论(0) 推荐(0)
摘要: 1,STL序列式容器 array、vector、deque、list 和 forward_list 容器,其共同的特点是不会对存储的元素进行排序,元素排列的顺序取决于存储它们的顺序。 序列式容器类别 特点 array<T,N>(数组容器) 表示可以存储 N 个 T 类型的元素,是 C++ 本身提供的 阅读全文
posted @ 2021-09-24 11:22 tensor_zhang 阅读(66) 评论(0) 推荐(0)
摘要: 1,安装与使用 都是在cmd中输入 //安装,以下 pip install jupyter pip install ipykernel //运行 jupyter notebook 2,使用虚拟环境 在虚拟环境中再安装jupyter notebook,然后再虚拟环境activate下打开jupyter 阅读全文
posted @ 2021-09-11 21:40 tensor_zhang 阅读(49) 评论(0) 推荐(0)
摘要: 比赛链接 NFL Health & Safety - Helmet Assignment | Kaggle 21.9.10:数据集及目标 数据集介绍: /train/ and /test/ folders contain the video mp4 files to be labeled.(需要标记 阅读全文
posted @ 2021-09-11 21:02 tensor_zhang 阅读(312) 评论(0) 推荐(0)
摘要: 0,参考链接: C语言中文网 C library:提供了所有C语言标准函数的原型,并给出了详细的介绍和使用示例,可以作为一部权威的参考手册。 C++ STL标准手册 1,基本数据类型,输入输出,运算符 基本数据类型 字符型 短整型 整型 长整型 单精度浮点型 双精度浮点型 数据类型 char sho 阅读全文
posted @ 2021-09-07 10:59 tensor_zhang 阅读(462) 评论(0) 推荐(0)
摘要: 1,notepad++ & nvcc 2,visual studio win10+cuda11.0+vs2019安装教程 解决方案:VS2017 无法打开源文件 stdio.h main.h 等头文件 Windows搭建CUDA开发环境 3,CLion windows上安装CLion教程及简单使用 阅读全文
posted @ 2021-09-03 14:21 tensor_zhang 阅读(355) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 12 下一页