-
102302109-胡贝贝-作业4
作业①: (1)实验内容及结果 熟练掌握 Selenium 查找HTML元素、爬取Ajax网页数据、等待HTML元素等内容。 使用Selenium框架+ MySQL数据库存储技术路线爬取“沪深A股”、“上证A股”、“深证A股”3个板块的股票数据信息。 核心代码: class StockDataSpi -
实验5
任务1: 源代码: publisher.hpp #pragma once #include <string> // 发行/出版物类:Publisher (抽象类) class Publisher { public: Publisher(const std::string &name_ = ""); -
实验5
1.1 问题1:将一个长度为n的整形数组x中最大的数存在pmax指向的内存地址,将其中最小的数存在pmin指向的内存地址。 问题2:pmax指向min的内存地址,pmin指向max的内存地址。 1.2 问题1:功能:找到长度为n的整型数组x中最大的数对应的下标。返回值:数组中最大值元素的内存地址。 -
高级程序设计个人作业第九次
这个作业属于哪个课程 <班级的链接> 这个作业要求在哪里 <作业链接> 学号 092300303 姓名 池博洋 @目录声明一个结构体类型,用来存放某个学生的姓名、学号、性别、班级、三科成绩,并且打印出来该学生信息定义一个结构体数组,用来存放班级中N个学生以上信息,编写三个函数进行信息输入、排序和输出 -
实验5
task1_1.c 源代码 点击查看代码 #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find -
oop-实验5
task1 publisher.hpp 1 #pragma once 2 3 #include<iostream> 4 #include<string> 5 6 //发行/出版物类:Publisher(抽象类) 7 class Publisher{ 8 public: 9 Publisher(con -
第四章作业
我的贪心策略: 为了减少选点,尽量选择一个点能占据多个位置的,这样子就是选最右边的点,通过循环每次选择最右侧的点,如果第i个最右侧的点大于第i+1个最左侧的点,计数器就加1,同时从第i+1个最右侧的点开始 时间复杂度:O(n log n) 对贪心算法的理解: 贪心算法就是在全局问题中分解出若干个单一 -
实验5 多态
Task1 publisher.hpp #pragma once #include <string> // 发行/出版物类:Publisher (抽象类) class Publisher { public: Publisher(const std::string &name_ = ""); // 构 -
实验五 多态
Task1: 1.源代码: #include <iostream> #include <string> #include "publisher.hpp" // Publisher类:实现 Publisher::Publisher(const std::string &name_): name {na -
实验5
任务1 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int *pmax); i -
实验5
task1 (1) 1 #pragma once 2 #include <string> 3 4 class Publisher { 5 public: 6 Publisher(const std::string &name_ = ""); 7 virtual ~Publisher() = defa -
Test5
任务一 源代码 publisher.hpp 点我展开代码 #pragma once #include <string> // 发行/出版物类:Publisher (抽象类) class Publisher { public: Publisher(const std::string &name_ = -
实验5_CPP
任务1 源代码 publisher.hpp #pragma once #include <string> // 发行/出版物类:Publisher (抽象类) class Publisher { public: Publisher(const std::string &name_ = ""); // -
实验五
任务1 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int *pmin, i -
实验5
task1_1.c 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int *p -
实验5
task1_1 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int *pmax -
实验5
publisher.h #pragma once #include <string> // 发行/出版物类:Publisher (抽象类) class Publisher { public: Publisher(const std::string &name_ = ""); // 构造函数 virt -
Python蓝桥杯第二次学习
本周学习内容:视频 16 类与内置类型——视频 19 可变与不可变对象 进度问题:由于这周有4级考试,这几节课也比较长,很多是我没学的,而且由于上周只是看了视频,没有做笔记,这周刚开始做,所以进度比较慢 一:新内容 1:@classmethod 操作类本身的方法 2:@staticmethod静态方 -
高级语言程序设计课程第九次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/15595 学号:102500327 姓名:李文涛 1. 2. 3. 4 -
NUIST-OOP-LAB05
实验5-多态 实验目的 知道什么是类模板,会正确定义和实例化 理解运算符重载机制,会编写运算符函数,理解编译器如何将表达式转换为对运算符函数的调用 知道什么是抽象类,会正确定义和使用 基于问题场景,能合理使用继承、虚函数、抽象类实现接口继承与运行时多态 实验准备 系统浏览/复习以下教材章节: 继承: