会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
To be or not to be
That is a question
新随笔
联系
管理
[置顶]
c指针的传递
摘要: c指针的传递 作为函数参数传递 真正的传入一个指针到函数中 间接的传入指针到函数中 p1就是指针p,而p2是一个新的指针 以下分别为指针p、p1、p2的地址: 作为变量传递 初始值: 直接改变变量的值 间接改变变量的值 这里改变的是指针p2中存储的地址的值,而不是p2中所存储地址对应内存的值 测试程
阅读全文
posted @ 2021-08-27 17:36 main(void)
阅读(208)
评论(0)
推荐(0)
2025年12月8日
联邦机器学习-引言
摘要: 联邦机器学习 联邦机器学习,通过加密下的参数交换,建立一个共有的模型 满足用户隐私保护、数据安全和政府法规的要求下,进行。 相关概念 横向联邦:数据矩阵的横向的一行表示一条训练样本,纵向的一列表示一个数据特征。横向联邦学习的参与者的数据特征数是一致的,往往是增加训练样本总量。 纵向联邦学习: 联合多
阅读全文
posted @ 2025-12-08 13:26 main(void)
阅读(1)
评论(0)
推荐(0)
2024年4月2日
【leetcode】链表篇刷题 --
摘要: //删除指定value节点 class Solution { public: ListNode* removeElements(ListNode* head, int val) { //单独处理head while(head != NULL && head->val == val){ ListNod
阅读全文
posted @ 2024-04-02 09:27 main(void)
阅读(16)
评论(0)
推荐(0)
2024年2月25日
【leetcode】数组篇刷题 --滑动窗口
摘要: /* * @lc app=leetcode.cn id=209 lang=cpp * * [209] 长度最小的子数组 * 找最短的子数组 */ // @lc code=start class Solution { public: int minSubArrayLen(int target, vec
阅读全文
posted @ 2024-02-25 22:35 main(void)
阅读(22)
评论(0)
推荐(0)
2024年2月23日
【leetcode】数组篇刷题 --删除元素
摘要: // @before-stub-for-debug-begin #include <vector> #include <string> #include "commoncppproblem27.h" using namespace std; // @before-stub-for-debug-end
阅读全文
posted @ 2024-02-23 19:30 main(void)
阅读(19)
评论(0)
推荐(0)
2024年2月22日
【leetcode】数组篇刷题 --二分查找
摘要: * * @lc app=leetcode.cn id=704 lang=cpp * * [704] 二分查找 */ // @lc code=start class Solution { public: int search(vector<int>& nums, int target) { int l
阅读全文
posted @ 2024-02-22 17:12 main(void)
阅读(19)
评论(0)
推荐(0)
2022年10月18日
第一天sql总结
摘要: ##建表相关操作 CREATE TABLE table_name( column1 datatype, column2 datatype, column3 datatype, ..... columnN datatype, PRIMARY KEY( one or more columns )); 创
阅读全文
posted @ 2022-10-18 11:25 main(void)
阅读(48)
评论(0)
推荐(0)
2022年10月1日
images
摘要: 二分法溢出的情况: public int guessNumber(int n) { int leftP = 1; int rightP = n; int mid = 0; while(leftP < rightP){ //皆是因为mid = (rightP + leftP) /2; mid = le
阅读全文
posted @ 2022-10-01 20:13 main(void)
阅读(47)
评论(0)
推荐(0)
2021年9月29日
串匹配(C/C++实现)
摘要: 串匹配 串的链式存储与朴素(简单)匹配 /* * @Author: itThree * @Date: 2021-09-17 16:46:14 * @LastEditTime: 2021-09-19 15:59:37 * @Description: * @FilePath: \cpp\datas\my
阅读全文
posted @ 2021-09-29 23:41 main(void)
阅读(186)
评论(0)
推荐(0)
2021年9月15日
稀疏数组-矩阵存储【C语言实现】
摘要: 稀疏数组 /* * @Author: itThree * @Date: 2021-09-10 15:48:10 * @LastEditTime: 2021-09-15 15:58:50 * @Description: * @FilePath: \cpp\datas\sparseArr.cpp * 光
阅读全文
posted @ 2021-09-15 21:00 main(void)
阅读(183)
评论(0)
推荐(0)
下一页
公告
.c_ad_block { display: none !important; } #ad_t2{ display: none !important; }