-
实验2
实验任务1 源代码 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define N1 80 #define N2 35 int main(){ int cnt; int random_major,random_n -
高级语言程序设计第一次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500422 姓名:陈进和 一.安装C程序的编 -
实验1 现代C++编程初体验
实验任务1: task1源代码: 1 #include<iostream> 2 #include<string> 3 #include<vector> 4 #include<algorithm> 5 6 //模板函数声明 7 template<typename T> 8 void output(co -
实验2
实验任务1 源代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 #define N1 30 7 #define N2 35 8 9 int main() 10 { 11 int cn -
软件工程第三次作业——结对项目
个人项目作业 实现一个自动生成小学四则运算题目的命令行程序(也可以用图像界面,具有相似功能) 这个作业属于哪个课程 https://edu.cnblogs.com/campus/gdgy/Class12Grade23ComputerScience 这个作业要求在哪里 https://edu.cnbl -
高级语言程序设计第一次作业
高级语言程序设计第一次作业 作业所属课程:高级语言程序设计我的班级 作业要求:第一次作业 学号:102500306 姓名:黄洁琳 1.安装Devc++ 安装包安装完成后无法打开软件,于是寻找官网安装 2.我的作业 2.1 first.c程序 2.2 fathm_ft.c程序 2.3 two_func -
第一章作业
(1)数学之美 1.《数学之美》第27章对“期望最大化算法”(EM)的诠释精妙至极,将其誉为“上帝的算法”堪称神来之笔。吴军博士剥开复杂的数学外壳,揭示了EM算法充满哲学美感的核心理念:面对不完美的、隐藏关键信息的数据世界,我们无需绝望,可以通过迭代与估计,无限逼近真理。 2.这种“先猜想,后验证, -
实验2
试验任务1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 80 6 #define N2 35 7 int main() { 8 int cnt; 9 int ran -
实验2
1.问题一:如果没有这行代码srand(time(NULL)),rand 生成的随机数序列会是固定的,失去了 “随机” 的意义。 问题二:随机生成学号 2.问题一:total_price = 0; 去掉会使上一次购买金额加到此次上 问题二:continue语义,在该次程序运行中用户输入不满足if() -
算法第一章作业
Google 编码规范 适用范围:覆盖 C++、Java、Python、Go 等主流语言,开源且被广泛参考 核心特点: 命名:C++/Java 类名用PascalCase,函数 / 变量用snake_case(Python)或camelCase(Java) 格式:缩进用 2 空格,每行不超过 80 -
实验一 现代C++编程初体验
task1: 源代码: #include<iostream> #include<string> #include<vector> #include<algorithm> template<typename T> void output(const T &c); void test1(); void -
高级语言程序设计第一次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里: https://edu.cnblogs.com/campus/fzu/gjyycx/homework/13558 学号:102500420 姓名:连骁晗 一.安装C程序的编 -
作业二
task1 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 9 int main(){ 10 int cnt; 11 int r -
高级语言程序设计第一次作业
这个作业属于哪个课程:https://edu.cnblogs.com/campus/fzu/gjyycx 这个作业要求在哪里:https://edu.cnblogs.com/campus/fzu/gjyycx/homework/ 学号:102500307 姓名:汤晓彤 安装C程序的编译环境: 过程 -
高级语言程序设计第一次作业
这个作业属于哪个课程: 这个作业要求在哪里: 学号:102500401 姓名:林含悦 1.安装过程 载入文件 载入中 启动 2.代码编写与运行 2.1 2.2 2.3 总结 进行了下载devc++的操作,在编码中虽然屡屡碰壁会有差错,但仍在跌跌撞撞中成长。是一次难忘的体验。 -
第一次作业
作业① 1.大学排名动态网页爬取实验 实验要求 用requests和BeautifulSoup库方法定向爬取给定网址(http://www.shanghairanking.cn/rankings/bcur/2020 )的数据,屏幕打印爬取的大学排名信息。 排名 学校名称 省市 学校类型 总分 1 清 -
实验一
1.实验任务1 task1.cpp: // 现代C++标准库、算法库体验 // 本例用到以下内容: // 1. 字符串string, 动态数组容器类vector、迭代器 // 2. 算法库:反转元素次序、旋转元素 // 3. 函数模板、const引用作为形参 #include <iostream> -
实验一
实验任务1 #include <iostream> #include <string> #include <vector> #include <algorithm> template<typename T> void output(const T &c); void test1(); void te -
实验一
1.实验任务1 源代码task1.cpp 1 #include <iostream> 2 #include<string> 3 #include<vector> 4 #include<algorithm> 5 template<typename T> 6 void output(const T &c -
实验任务2
task1.c 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 80 6 #define N2 35 7 int main() { 8 int cnt; 9 int r