前缀和数组
摘要:// 前缀和数组preSum[]:preSum[i]记录nums[0,i-1]区间的累加和 class ex_preSum{ private: vector<int> preSum; public: ex_preSum(vector<int> nums){ preSum.resize(nums.si
阅读全文
数组算法-差分数组
摘要:// 差分数组使用背景:区间元素同步增减 // 差分数组:用来表示原始数组中相邻元素的差值,表示原数组的变化。 class ex_diff{ private: vector<int> diff; public: ex_diff(vector<int> nums){ /** 求diff[] * dif
阅读全文
python操作dict/list等记录
摘要:from collections import defaultdict ... # 创建一个dict,声明它的val格式为list。如{key:[1,2,3],key2:[]...} dict_temp = defaultdict(list) import numpy as np # 创建一个二维数
阅读全文
python:pandas解析csv
摘要:前提:pip install pandas 总结: 用DataFrame接收二维数组,用Series接收一维数组。 DataFrame[列名] = Series列的内容。 1 import pandas as pd 2 3 4 # df = pd.DataFrame(pandasObj):将pand
阅读全文
hellgithub
摘要:great-tables:用 Python 制作漂亮的表格。这个 Python 库可以用来制作实用且美观的表格。它提供了一套表格组件,通过组合不同的表格部分,如表头、表尾、行标签(stub)以及跨列标签(spanner labels)等,帮助 Python 开发者轻松制作漂亮的数据表格。 undet
阅读全文
github有趣收录
摘要:3、RunCat_for_windows:在 Windows 任务栏飞奔的“小猫”。这是一个用 C# 写的小工具,它会在 Windows 任务栏显示一只奔跑的小猫动画,CPU 使用率越高它跑得越快。 LapisCV:开箱即用的简历模板。该项目提供了适用于 Obsidian 和 Typora 的简历模
阅读全文
java stream()流对两个集合进行比对
摘要:转载:https://www.cnblogs.com/CodeBlogMan/p/18156081
阅读全文
java多线程:Thread、Runnable、Future以及CompleteFuture
摘要:Future<T>是一种任务,可以使用CompleteFuture<T>代替Future<T>。 CompleteFuture<T>的介绍: https://blog.csdn.net/qq_34562093/article/details/90209520 https://www.cnblogs.
阅读全文
转载:vscode配置SpringBoot
摘要:https://blog.csdn.net/qq_41765777/article/details/128428946
阅读全文
二分查找
摘要:二分查找的写法(有两种,这里只记录第一种): 如果区间是[a,b],即可以取到low、high,则mid=(low+high)/2: 1.while(low <= high){..},注意此处是" <= " 2.if(v[mid] < target){low ++;} 3.if(v[mid] > t
阅读全文
音乐格式转换:java代码实现
摘要:1 package util; 2 3 import ws.schild.jave.*; 4 import java.io.File; 5 6 /* 7 音乐格式转换 8 <dependency> 9 <groupId>ws.schild</groupId> 10 <artifactId>jave-
阅读全文
JB全家桶激活
摘要:https://laq8aq5ywv.feishu.cn/docx/MwjvdNVP6odfn4xz0b2cB5xJnzb
阅读全文
前端:typeScript、Vue、ECharts
摘要:从TypeScript到ArkTS的适配 https://gitee.com/openharmony/docs/blob/master/zh-cn/application-dev/quick-start/typescript-to-arkts-migration-guide.md#%E4%BB%8E
阅读全文
链接:appium、selenium
摘要:selenium多实例爬虫的忠告和参数配置 https://blog.csdn.net/robinspada/article/details/130481622 Appium+Python第一篇:appium的基本使用及启动APP https://blog.csdn.net/TDLDDMZ/arti
阅读全文