最新发布第50页
排序
【C++】cpp-httplib研究链接
https://github.com/yhirose/cpp-httplib https://blog.csdn.net/qq_40344790/article/details/135246178 https://juejin.cn/post/7169574207632703519 https://www.bilibili.com/video/BV1Xt4y...
【Linux】安装PVE后的第一步
删除local-lvm逻辑卷,把他合并到local分区 ssh链接或后台shell,输入以下命令 lvremove pve/data lvextend -l +100%FREE -r pve/root 在数据中心的存储中删除local-lvm 为local添加其他存储内...
【Linux】在PVE中添加硬盘用于存储
一、安装parted apt-get install parted 输入y确认安装 二、分区 parted /dev/sda 默认新添加的机械硬盘为sda 现在进入了parted工具 mklabel gpt 使用GPT模式初始化 mkpart primary 0% 100% 设...
【递归】反转链表
/** * Definition for singly-linked list. * struct ListNode { * int val; * struct ListNode *next; * }; */ struct ListNode* reverseList(struct ListNode* head) { stru...
【模拟】二进制求和
#include <iostream> using namespace std; string addBinary(string a, string b){ string res; int carry = 0; // 进位 int i = a.size() - 1; int j = b.size() - 1; while(i >= 0 || j...
【模拟】各位相加
#include<iostream> using namespace std; int main(){ int num; cin >> num; while(num>9){ int total=0; while(num!=0){ total+=num%10; num/=10; } num = total; total = 0; } cout <&...







































