自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Duke

技术小白的奋斗史

  • 博客(182)
  • 资源 (2)
  • 收藏
  • 关注

原创 [PAT] PAT注意点

如有错误或者建议,请留言或者私我。与诸君共同进步,共勉。

2020-01-18 23:21:45 4172 3

原创 [PAT- Advanced Level] 甲级题解目录(Advanced Level)

PAT考试一年3次,个人认为3月份和12月份的相对于9月份的简单。如果有意想考PAT的同学可以尽早准备,去考3月份的

2019-12-25 17:51:21 1419 2

原创 [PAT-Advanced] A1071. Speech Patterns (25)

【代码】[PAT-Advanced] A1071. Speech Patterns (25)

2022-12-02 15:52:30 195 1

原创 [PAT-Advanced] B1020/A1070. Mooncake (25)

已知月饼种类N,表示月饼的市场最大需求量D,以及每种月饼的数量和总价。求根据市场最大需求量,这些月饼的最大销售利润为多少。

2022-11-30 10:43:15 588

原创 [PAT-Advanced] B1019/A1069. The Black Hole of Numbers (20)

【代码】[PAT-Advanced] B1019/A1069. The Black Hole of Numbers (20)

2022-11-28 19:03:33 455

原创 [PAT-Advanced] A1015 Reversible Primes (20)

【代码】[PAT-Advanced] A1015 Reversible Primes (20)

2022-11-07 16:26:08 258

原创 [PAT-Advanced] A1054. The Dominant Color (20)

【代码】[PAT-Advanced] A1054. The Dominant Color (20)

2022-11-05 20:43:15 331

原创 [PAT-Advanced] A1025. PAT Ranking (25)

【代码】[PAT-Advanced] A1025. PAT Ranking (25)

2022-11-04 15:50:15 303

原创 [PAT-Advanced] A1024 Palindromic Number (25)

2022-10-25 09:02:44 223

原创 [Raspberry Pi] Raspberry Pi 4配置OpenCV4.6.0和ncnn环境(32-bit operation system)

本文参考了几篇教程,在树莓派上进行OpenCV和ncnn的环境配置,同时该方法也可以推广到Liunx上的环境配置。

2022-09-02 14:08:46 1452

原创 [Python] 大文件读取

文章目录方法1方法2最近在处理数据的时候遇到了巨大的txt文件,在读取的时候遇到了一些问题,在上网查阅了一些资料之后我总结了一些方法。对于一些比较小的文件,我们可能是这样读取文件的:for line in file.readlines(): do_something(line)但如果这样读取,对电脑内存是一个巨大的负担,因为需要把文件全部读入内存。方法1while line: line = file.readline() do_something(line)方法2for line

2021-10-12 22:36:23 154

原创 [Python] 使用pdb对python程序进行调试

文章目录如何设置断点常用的pdb调试命令输入变量名在一开始~当初我还是~使用print调试~在那之后我用了pycharm,开始用断点调试。再之后用了vs code,在调试用脚本输入超参的代码调试时遇到了问题。突然有一天,我突然发现,原来我还可以使用pdb调试。pdb 是 一个python 包,import之后可以实现设置断点、单步调试、进入函数调试、查看当前代码、动态改变变量的值等操作。如何设置断点我们仅需要在我们希望程序停下来的地方按照如下设置:# some code...import

2021-09-22 19:28:13 275

原创 【Linux】screen的安装与使用

文章目录screenscreen的安装查看安装screen的使用查看有哪些screen可用创建一个screen进入一个现有的screen退出screen(detach)通过screen进程id kill掉一个screen清理所有挂掉的screenscreenscreen的安装查看可能你的系统已经安装有screen了。可以使用which命令确认。which screen安装# Ubuntu(sudo) apt-get install screenscreen的使用查看有哪些screen

2021-06-07 10:39:00 9166

原创 [Linux] watch实时监控显卡状态

文章目录每隔十秒刷新显卡状态每隔十秒刷新显卡状态watch -n 10 nvidia-smi

2021-04-21 17:03:09 1163

原创 【Anaconda】Anaconda空间清理

文章目录Conda 环境安装包与Cache清理常用的命令。Conda 环境安装包与Cache清理当初给笔记本C盘只分配了100G的内存,用了好几年现在C盘可用空间越来越少了。之前装了不少anaconda的环境,想着释放一些无用的包可以达到释放空间的效果。常用的命令。删除没有环境使用的所有的安装包及cache# 全给我删了!也别再问我了!conda clean -all -y# 把没用到的包删了哦~conda clean -p想要使用某一个功能非常简单,把一个命令的功能摸透才有乐趣。(

2021-04-16 20:34:27 30768

原创 【Python】win32gui.Findwindow(parm1,parm2)窗口句柄获取

文章目录win32gui.Findwindow(param1,param2)使用工具MicrosoftSpy++使用方法1.打开Spy++,搜索程序窗口2.可以拖动查找程序工具中的准心,到要查找的程序上3.点击确定后,查看属性,获取类和标题代码写法win32gui.Findwindow(param1,param2)param1:需要传入窗口的类名param2:需要传入窗口的标题使用工具...

2020-04-07 23:27:11 26184 9

原创 【Python+OpenCV+PyTorch】基于Python的连连看自动操作器

文章目录基于Python的连连看自动操作器1 设备与环境1.1 设备1.2 环境2 实现思路2.1 类图2.1.1 图像获取器2.1.2 图像处理器2.1.3 输出模拟器2.1.4 数据集生成器2.1.5 神经网络训练测试器2.1.6 日志生成器2.2 时序图2.2.1 游戏流程2.2.2 特殊情况地图长宽块数改变块位置改变新块生成3 待存在问题与思路3.1 存在的问题问题一问题二3.2 解决思路...

2020-04-07 22:19:37 1738

原创 [Python] print()语句中的 end = ‘‘ 是什么意思

文章目录输入1输出1输入2输出2输入3输出3end=’'是print()的一个参数。作用:为end传递一个空字符串,这样print函数不会在字符串末尾添加一个换行符,而是添加一个空字符串。注意:只有Python3有用,Python2不支持。输入1n = 7print("hello world!", n)输出1输入2n = 7print("hello world!", n...

2020-03-19 20:38:20 31324 1

原创 【环境配置】Anaconda安装

文章目录1.Anaconda安装2.CUDA安装(有N卡,v10.0)3.安装cuDNN(v7.5.0)4.安装TensorFlow1.Anaconda安装进入Anaconda官方网站的下载页选择对应的版本下载,我选择的是Python 3.7 version,64-bit Graphical Installer。下载完成后开始安装,然后一路NEXT就可以轻松安装。检验是否安装成功:打...

2020-03-01 15:38:46 275

原创 【环境配置】CUDA和cuDNN安装

文章目录1.CUDA安装(有N卡,v10.0)什么是CUDA下载安装包安装步骤2.安装cuDNN(v7.5.0)什么是cuDNN下载安装包解压环境变量配置。1.CUDA安装(有N卡,v10.0)什么是CUDACUDA(ComputeUnified Device Architecture),是显卡厂商NVIDIA推出的运算平台。 CUDA是一种由NVIDIA推出的通用并行计算架构,该架构使GP...

2020-03-01 15:38:04 4759 4

原创 【Python】pip相关(持续更新中)

文章目录什么是pip如何使用pip命令使用方法:pip+命令+选项pip指令中的command:pip指令中的通用选项什么是pippip 是一个现代的,通用的 Python 包管理工具。提供了对 Python 包的查找、下载、安装、卸载的功能。如何使用pip命令使用方法:pip+命令+选项Usage: pip <command> [options]pip指令中的com...

2020-02-25 16:49:48 183

原创 【Python】pip安装opencv-python包失败与换清华源提速

文章目录出现的问题解决的方法出现的问题在Windows10系统中,在cmd中(或者在pycharm的Terminal中)输入pip install opencv-python会出现如下报错ERROR: Exception:Traceback (most recent call last): File "C:\Users\bzm84\Anaconda3\lib\site-packages...

2020-02-25 13:28:57 10212

原创 【PAT】A1073 Scientific Notation (20point(s))

文章目录A1073 Scientific Notation (20point(s))Input Specification:Output Specification:Sample Input 1:Sample Output 1:Sample Input 2:Sample Output 2:CodeAnalysisAuthor: HOU, QimingOrganization: 浙江大学Tim...

2020-02-18 11:34:32 161

原创 【PAT】A1075 PAT Judge (25point(s))

文章目录A1075 PAT Judge (25point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 200 msMemory Limit: 64 MBCode Size L...

2020-02-17 13:50:19 195

原创 【PAT】A1076 Forwards on Weibo (30point(s))

文章目录A1076 Forwards on Weibo (30point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 3000 msMemory Limit: 64 MBCo...

2020-02-16 15:24:22 151

原创 【PAT】A1080 Graduate Admission (30point(s))

文章目录A1080 Graduate Admission (30point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 250 msMemory Limit: 64 MBCo...

2020-02-15 14:22:43 313

原创 【PAT】A1082 Read Number in Chinese (25point(s))

文章目录A1082 Read Number in Chinese (25point(s))Input Specification:Output Specification:Sample Input 1:Sample Output 1:Sample Input 2:Sample Output 2:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Ti...

2020-02-02 18:02:55 173

原创 【PAT】A1089 Insert or Merge (25point(s))

文章目录A1089 Insert or Merge (25point(s))Input Specification:Output Specification:Sample Input 1:Sample Output 1:Sample Input 2:Sample Output 2:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limi...

2020-02-02 16:51:22 163

原创 【PAT】A1087 All Roads Lead to Rome (30point(s))

文章目录A1087 All Roads Lead to Rome (30point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 200 msMemory Limit: 64 M...

2020-01-31 22:04:16 155

原创 【PAT】A1086 Tree Traversals Again (25point(s))

文章目录A1086 Tree Traversals Again (25point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 400 msMemory Limit: 64 MB...

2020-01-31 22:02:27 125

原创 【PAT】A1095 Cars on Campus (30point(s))

文章目录A1095 Cars on Campus (30point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 300 msMemory Limit: 64 MBCode S...

2020-01-30 13:41:53 137

原创 【PAT】A1098 Insertion or Heap Sort (25point(s))

文章目录A1098 Insertion or Heap Sort (25point(s))Input Specification:Output Specification:Sample Input 1:Sample Output 1:Sample Input 2:Sample Output 2:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Ti...

2020-01-29 18:42:01 182

原创 【PAT】A1103. Integer Factorization (30)

Author: CHEN, YueOrganization: 浙江大学Time Limit: 1200 msMemory Limit: 64 MBCode Size Limit: 16 KBA1103. Integer Factorization (30)The K-P factorization of a positive integer N is to write N...

2020-01-27 13:23:10 257

原创 【PAT】A1102 Invert a Binary Tree (25point(s))

文章目录A1102 Invert a Binary Tree (25point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 400 msMemory Limit: 64 MB...

2020-01-27 13:17:08 167

原创 【PAT】A1141 PAT Ranking of Institutions (25point(s))

文章目录A1141 PAT Ranking of Institutions (25point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 800 msMemory Limit:...

2020-01-24 09:37:49 290

原创 【PAT】A1140 Look-and-say Sequence (20point(s))

文章目录A1140 Look-and-say Sequence (20point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 400 msMemory Limit: 64 MB...

2020-01-24 09:24:11 134

原创 【PAT】A1117 Eddington Number (25point(s))

文章目录A1117 Eddington Number (25point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 250 msMemory Limit: 64 MBCode...

2020-01-22 00:01:43 143

原创 【PAT】A1116 Come on! Let's C (20point(s))

文章目录A1116 Come on! Let's C (20point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 200 msMemory Limit: 64 MBCode...

2020-01-21 23:56:33 132

原创 【PAT】A1118 Birds in Forest (25point(s))

文章目录A1118 Birds in Forest (25point(s))Input Specification:Output Specification:Sample Input:Sample Output:CodeAnalysisAuthor: CHEN, YueOrganization: 浙江大学Time Limit: 150 msMemory Limit: 64 MBCode ...

2020-01-20 22:27:01 151

原创 【PAT】A1119 Pre- and Post-order Traversals (30point(s))

文章目录A1119 Pre- and Post-order Traversals (30point(s))Input Specification:Output Specification:Sample Input 1:Sample Output 1:Sample Input 2:Sample Output 2:CodeAnalysisAuthor: CHEN, YueOrganization:...

2020-01-20 22:23:25 183

Microsoft Spy++ v7.1 中文版.rar

Microsoft Spy++是一个非常好的查看Windows操作系统的窗口、消息、进程、线程信息的工具,简单易用,功能强大

2020-04-07

AutoLink.rar

本资源是GitHub上AutoLink,自动玩连连看软件的相关文件。 Git Hub 项目地址:https://github.com/ztmajor/AutoLink 包括了雷电模拟器下载器,单机连连看.apk,训练好的模型(alexnet.pth)和训练好的模型参数 (alexnet_state.pth)。

2020-04-06

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除