-
高级语言程序设计课程第二次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13570 学号:102400116 姓名:黄博文 1.学习了整数、浮 -
102302110高悦作业1
• 作业①:用requests和BeautifulSoup库方法定向爬取给定网址(http://www.shanghairanking.cn/rankings/bcur/2020 )的数据,屏幕打印爬取的大学排名信息。 1.代码与实验结果 首先打开网页,查看网页的源代码,找出并分析所要爬取内容的ht -
算法第二章实践作业
1:首先从数组中选择一个元素作为基准元素,随后将数组以基准元素为界限分为小于基准的元素和大于基准的元素两部分。然后再判断基准元素在数组中的位置,其位置便是基准元素在数组中的大小排位。如果基准元素位置大于k,那么第k小的元素就在基准元素左边,随后递归左部分数组。如果等于,那么基准元素就是第k小元素,否 -
关于耐心,专注力及主动性
原文:Scalers:大学生上课为什么一定要认真听讲?https://www.scalerstalk.com/816-attention 原文:「做中学(Learning By Doing)」之乒乓球刻意训练一年总结 https://www.cnblogs.com/rocedu/p/5826362. -
实验2
实验任务1: T.h: #pragma once #include <string> class T { public: T(int x = 0, int y = 0); T(const T &t); T(T &&t); ~T(); void adjust(int ratio); void disp -
102302122许志安作业1
作业1 (1)爬取大学排名信息实验 import requests from bs4 import BeautifulSoup url = "http://www.shanghairanking.cn/rankings/bcur/2020" res = requests.get(url) res.e -
高级语言程序设计课程第三次作业
班级连接:https://edu.cnblogs.com/campus/fzu/gjyycx 作业链接:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13574 学号:102500325 姓名:李志鹏 一.第四章 第五章 示例程序 设计 反思 -
高级语言程序设计课程第三次个人作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx/ 这个作业的要求在:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13574 学号:102500433 姓名:黄思哲 1.编写并运行书本第 -
实验二 现代C++编程初体验
任务一: 代码: #pragma once #include <string> // 类T: 声明 class T { // 对象属性、方法 public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); / -
实验1
#任务1 ##代码 1 #include<iostream> 2 #include<string> 3 #include<vector> 4 #include<algorithm> 5 6 template<typename T> 7 void output(const T &c); 8 9 voi -
实验1 现代C++编程初体验
一、实验任务1源代码: 1 #include <iostream> 2 #include <string> 3 #include <vector> 4 #include <algorithm> 5 // 模板函数声明 6 template<typename T> 7 void output(cons -
实验2
任务1 1 #include <stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 80 7 #define N2 35 8 int main( ){ 9 int cnt; 10 int rand -
高级语言程序设计课程第三次个人作业
课程:https://edu.cnblogs.com/campus/fzu/gjyycx 作业要求:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13574 学号:102500428 姓名:杜翰墨 (1) (2) (3) (4) 设计一个可以将 -
di san ci zuo ye
这个作业属于课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13574 学号:102500431 姓名:杨明浩 (1)课本作业,问题和解决都体 -
实验二
task1 T.h 点击查看代码 #include <string> // 类T: 声明 class T { // 对象属性、方法 public: T(int x = 0, int y = 0); // 普通构造函数 T(const T &t); // 复制构造函数 T(T &&t); // 移动构 -
实验3
实验任务1 1 #include<stdio.h> 2 char score_to_grade(int score); 3 4 int main() 5 { 6 int score; 7 char grade; 8 9 while(scanf("%d",&score) != EOF){ 10 gra -
分治法运用有感
一、找第k小的数的分治算法(自然语言描述) 该算法的核心思想是分而治之:通过选取一个“基准元素”将数组分成两部分,缩小问题规模,最终定位到第k小的元素。步骤如下: 选择基准:从数组中随机选一个元素作为基准(例如选最后一个元素)。 分区操作:将数组中所有比基准小的元素放在基准左边,比基准大的元素放在右 -
高级语言程序设计课程第二次个人作业
 ; void test -
实验一
任务一 代码: // 现代C++标准库、算法库体验 // 本例用到以下内容: // 1. 字符串string, 动态数组容器类vector、迭代器 // 2. 算法库:反转元素次序、旋转元素 // 3. 函数模板、const引用作为形参 #include <iostream> #include <s