-
实验3
四.实验结论 1.实验任务1 button.hpp源代码: #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::s -
实验3
任务1 源代码: button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::string& get -
实验3 类和对象_基础编程2
任务1 源代码 button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::string& get_ -
高级语言程序设计第七次作业
这个作业属于哪个课程:2026高级语言程序设计 这个作业要求在哪里:高级语言程序设计课程第七次个人作业 学号:052402239 姓名:陈逸轩 高级语言程序设计第七次作业 1. 二维数组的下标与指针访问 定义一个二维数组和指向该数组的指针,分别以数组下标和指针的形式引用数组各个元素进行赋值与输出。 -
高级语言程序设计第六次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:01026002007 姓名 -
实验3
任务一 源代码 点击查看代码 window.hpp #pragma once #include "button.hpp" #include <iostream> #include <vector> #include <algorithm> // 窗口类 class Window{ public: W -
高级语言程序设计第七次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16753 学号:0102600214 姓名: -
实验3 类和对象_基础编程2
实验结论 实验任务1 源码 button.hpp #pragma once #include <iostream> #include <string> class Button { public: Button(const std::string &label); const std::string -
贪心算法作业:删数问题分析与学习体会
1. 删数问题分析 题目简述 给定一个高精度数字字符串(一个大数),删除其中 $k$ 个数字,使得剩下的数字保持原有相对顺序,最终得到的数尽可能小。 贪心策略 贪心策略:从左向右扫描,找到第一个比后一位数字大的数,删掉它;重复该操作 $k$ 次。 原理:高位数字对整个数大小的影响远大于低位。优先保证 -
第四章作业
1.分析题目 问题:给定一个 n 位数字串,删除恰好 k 个数字,保持数字相对顺序不变,得到数值最小的正整数,去除前导零。 算法:单调栈贪心 例子:178543,k=4,遇到 5 的时候,前面 8、7 都比 5 大,优先删掉高位的 8、7。 1.删数问题贪心策略 从左向右遍历数字串,维护单调不降栈: -
高级语言程序设计第七次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16753 学号:0102600133 姓名: -
第六次个人作业
按地址转换以后会影响原变量的值 -
高级语言程序设计第七次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/ 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16753 学号:0102600136 姓名 -
高级语言程序设计课程第六次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16752 学号:0102600115 姓名: -
高级语言程序设计第七次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/2026gjyycxsj 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/2026gjyycxsj/homework/16753 学号:0102600108 姓名: -
实验3
实验3 1. 任务1 源代码 (task1.c) #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade -
实验二
实验一 源文件 t.h源码 #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动构造函数 ~T(); / -
实验2
实验任务一: t.h : 点击查看代码 #pragma once #include <string> class T { public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动构造函数 ~ -
数据采集第三次作业
第三次作业博客(多线程图片爬虫 + Scrapy 框架爬虫) 运行环境:Windows 11、Python 3.13、Scrapy 2.20 主要依赖:requests、beautifulsoup4、scrapy、pymysql 作业内容:① 单/多线程图片爬取;② Scrapy + Xpath + -
第二次作业
数据采集与融合技术 第二次作业 学号:102402148 姓名:周凯 本次作业包含三份爬虫,全部把结果保存进数据库(SQLite),并共用同一套数据库访问层。 一、三道题分别在做什么 作业 目标 数据来源 技术路线 结果 ① 中国气象网 5 个城市的 7 日天气预报 weather.com.cn/w