03 2023 档案

摘要:单链表 #include <iostream> using namespace std; const int N = 1e6+10; int shuzhi[N], next_position[N]; int head, idx ; //头结点下标、当前的下标 void init() { head = 阅读全文
posted @ 2023-03-25 23:02 尊滴菜 阅读(12) 评论(0) 推荐(0) 编辑
摘要:双指针算法 O(n) 采用双指针算法的前提是具有单调性 题目:提取单词 #include <iostream> #include <string.h> using namespace std ; const int N = 1e3+10; int main(){ char str[1000]; ge 阅读全文
posted @ 2023-03-24 23:11 尊滴菜 阅读(14) 评论(0) 推荐(0) 编辑
摘要:高精度加法 (常规只能到10^6次方) 思想:1、大整数存储:每一位存入数组,个位存在前,高位存在后(和常规表示是反的); 2、模拟手算加法的步骤,进位 #include <iostream> #include <vector> using namespace std; const int n = 阅读全文
posted @ 2023-03-24 02:31 尊滴菜 阅读(18) 评论(0) 推荐(0) 编辑
摘要:这几天为一个项目按照detectron2苦恼了很久,yysy,配环境真不是个简单事情 如上图,安装固定版本的detectron2一直报错。参考了一些博主的方法后还是走了不少弯路。 解决方案 登录这个网址:https://gitcode.net/mirrors/facebookresearch/det 阅读全文
posted @ 2023-03-15 18:26 尊滴菜 阅读(161) 评论(0) 推荐(0) 编辑
摘要:两个小希望 阅读全文
posted @ 2023-03-14 04:27 尊滴菜 阅读(20) 评论(0) 推荐(0) 编辑
摘要:介绍了《算法基础课》中基础算法(1)的相关内容和代码模板 阅读全文
posted @ 2023-03-05 23:16 尊滴菜 阅读(23) 评论(0) 推荐(0) 编辑
摘要:一些打算 阅读全文
posted @ 2023-03-05 20:01 尊滴菜 阅读(39) 评论(0) 推荐(0) 编辑
摘要:本文是尊滴菜的首篇博客。 阅读全文
posted @ 2023-03-04 22:57 尊滴菜 阅读(43) 评论(1) 推荐(0) 编辑

点击右上角即可分享
微信分享提示