-
20242409 2025-2026-1 《网络与系统攻防技术》实验2实验报告
20242409 2025-2026-1 《网络与系统攻防技术》实验2实验报告 1.基础知识 1.1 后门概念 后门是不经过正常认证流程访问系统的通道。本实验研究狭义后门:专门编写的潜伏程序,攻击者可远程连接执行指令。后门完整生命周期:生成程序→投递至目标主机→触发运行→隐藏驻留。 分正向连接与反弹 -
第二章作业
1,先在当前数组区间选一个基准值P,调用函数,把区间分成两部分:左边所有元素 ≤ pivot,右边所有元素 ≥ P。基准落到最终正确位置。 在计算左区间元素数量len = K-left+1: 如果len == k:基准就是第 k 小元素,直接返回。 当len > k:第 k 小在左半边,递归处理左区 -
第四章|删数问题
1.贪心策略:题目是删除指定个数,可以看出选择相应的数字,在不影响后序选择的前提下,在可选择空间内选择最小的数字 贪心选择性质证明: 假设存在一个最优解,它的第一位不是这个区间里最小的数 x,它第一位选的是比 x 大的数 y。 我们把这个最优解的第一位,替换成区间里最小的 x,后面在 x 的后面挑够 -
高级语言程序设计第六次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/ 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:0102600112 姓名 -
高级语言程序设计第六次作业
作业:高级语言程序设计第六次作业 链接:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 姓名:洪达宇 学号:0102600233 (1)设计一个按值传递和按地址传递呈现不同效果的程序。 (2)编写函数fun(int m, -
实验3 类和对象_基础编程2
面向对象程序设计 实验3 实验任务一 源码以及运行测试截图 button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); c -
实验3
实验3 类和对象_基础编程2 任务1:组合类的定义和使用(GUI 窗口与按钮) 1. button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::stri -
实验3
任务1 源代码 button.hpp 点击查看代码 #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::strin -
OOP 实验3_类和对象_基础编程2
类和对象_基础编程2 任务1 源代码 button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::s -
高级语言程序设计课程第六次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/ 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:0102600120 姓名 -
第四章作业
一、贪心策略说明 从左到右扫描数字,遇到前一位大于后一位的情况,就删掉前一位。如果扫描完没有递减,说明数字单调递增,直接删掉末尾数字。重复此过程直到删够k个数。目的是让高位数字尽可能小。 二、反证法证明贪心选择性质 假设当前找到的第一个递减对是A大于B,贪心策略是删掉A。 假设存在一个最优解,它不删 -
第四章作业
贪心策略 贪心选择:从左往右扫描,找到第一个位置 i,满足num[i]>num[i+1],删除 num[i];重复这个过程 k 次。 贪心选择性质证明 假设:在某次删除操作中,最优解删除的不是第一个满足 num[i] > num[i+1] 的数字 num[i],而是删除了其他位置上的数字 num[j -
高级语言程序设计课程第六次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:0102600123 姓名: -
算法第四章作业
删数问题等价于从 n 位正整数中按原顺序保留 m=n−k 位并使结果最小;贪心策略是逐位确定,当前第 i 位只能在区间 [start, n−(m−i)] 中选,因为后面还必须留够 m−i−1 位,在这个区间内选最小数字,若最小值有多个则选最靠左的位置,这样既保证当前位尽量小,又给后面留下足够且不更差 -
高级语言程序设计课程第七次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16753 学号:0102600218 姓名:曾 -
高级语言程序第六次个人作业
高级语言程序第六次作业: 本次作业来自:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 本次作业的要求: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 姓名:白嘉成 学号: -
高级语言程序设计第六次作业
高级语言程序设计第六次作业 这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:0 -
实验3
task1 源代码 button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::string& ge -
实验3
实验3 任务1 源代码 button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string& label); const std::string& -
高级语言程序设计第七次作业
高级语言程序设计第七次作业 作业要求https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16753 作业是哪个班级的https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 姓名:王恒毅 学号:010