• 首页
  • 校区
  • 班级
  • 博文
  • 评论
  • 作业
总阅读排行 | 周阅读排行 | 零回复 | 有回复 | 作业博文 | 其他博文 | 所有博文
零回复 | 有回复 | 作业 | 其他 | 所有
  • NUIST 《程序设计基础》 实验6

    第六次实验课~ 点击展开实验1~3 Task1 <task1.c> 源代码 点击查看代码 #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max
     程序设计基础(南京信息工程大学)   安杰awa   2025-12-25 14:23    0    6
  • 6

    4 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_price; // 售价 int s
     程序设计基础(南京信息工程大学)   少女研究司长   2025-12-25 22:11    0    6
  • 实验6

    test1 点击查看代码 #include<stdio.h> #include<string.h> #define N 2 typedef struct student{ int id; char name[20]; char subject[20]; double perf; double mid
     程序设计基础(南京信息工程大学)   牛汝顺   2025-12-25 13:21    0    6
  • 实验7

    实验任务4 代码 #include<stdio.h> #define N 100 int main() { int line = 1, count = 0; FILE* fp; char ch; fp = fopen("C:\\Users\\kongj\\Downloads\\data4_20251
     程序设计基础(南京信息工程大学)   道秋   2025-12-26 14:22    0    6
  • 实验六

    任务4 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80]; // 作者 8 double sales_
     程序设计基础(南京信息工程大学)   郭语涵   2025-12-25 11:37    0    6
  • 实验7

    实验任务4 源代码 #include <stdio.h> #include <ctype.h> int main(){ FILE *fp; char ch; int lines=0; int chars=0; fp=fopen("data4.txt","r"); if(fp==NULL){ prin
     程序设计基础(南京信息工程大学)   fhe   2025-12-24 20:18    0    6
  • 实验六

    任务1 任务2 任务3 任务4 #include <stdio.h> #include <string.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; //
     程序设计基础(南京信息工程大学)   邹秉祥   2025-12-25 09:51    0    6
  • 实验六

    任务四 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_price; // 售价 int
     程序设计基础(南京信息工程大学)   luhan777   2025-12-24 18:28    0    6
  • 实验6

    实验任务1 实验任务2 实验任务3 3.1 实验任务4 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 doubl
     程序设计基础(南京信息工程大学)   25网安1班姚淇奥   2025-12-24 14:09    0    6
  • 实验6

    1.实验任务1 此部分书写内容: 给出contestant.hpp, utils.hpp, task1.cpp源代码及运行结果截图(屏幕输出截图,及,生成数据文件ans.txt截图) contestant.hpp 点击查看代码 #pragma once #include <iomanip> #inc
     面向对象程序设计(南京信息工程大学)   陈晨aaa   2025-12-24 00:02    1    6
  • 实验6

    实验任务1 task1.c 点击查看代码 #include <stdio.h> #include <string.h> #define N 3 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; // 学号 char name[20]
     程序设计基础(南京信息工程大学)   JingWen87   2025-12-23 23:11    0    6
  • 第四章作业

    一、贪心算法分析“选点问题” 首先明确选点问题的经典描述:给定数轴上的n个闭区间[a_i, b_i],选择最少的点,使得每个区间至少包含一个选点。 贪心策略 核心策略:按区间的右端点从小到大排序,依次选择每个区间的右端点作为选点,若当前区间已包含已选点则跳过,否则选择当前区间的右端点。 具体步骤:
     网络空间安全2402(广东外语外贸大学 - 信息学院)   吴秋微   2025-12-23 16:23    0    6
  • 实验6

    Task1 源代码 Contestant.h #pragma once #include <iomanip> #include <iostream> #include <string> struct Contestant { long id; // 学号 std::string name; // 姓
     面向对象程序设计(南京信息工程大学)   永和九年2   2025-12-23 15:26    1    6
  • 实验6

    task1.c task1.c 1 #include <stdio.h> 2 #include <string.h> 3 #define N 3 4 typedef struct student { 5 int id; 6 char name[20]; 7 char subject[20]; 8 d
     程序设计基础(南京信息工程大学)   添罐望仔   2025-12-23 15:18    0    6
  • 实验六

    任务一 contestant.hpp #pragma once #include <iomanip> #include <iostream> #include <string> struct Contestant { long id; // 学号 std::string name; // 姓名 st
     面向对象程序设计(南京信息工程大学)   星空织梦   2025-12-23 16:46    0    6
  • 实验6

    实验六 实验任务一代码 contestant.hpp #pragma once #include <iomanip> #include <iostream> #include <string> struct Contestant { long id; // 学号 std::string name;
     面向对象程序设计(南京信息工程大学)   浠然予墨   2025-12-23 14:34    1    6
  • 实验六

    实验六 任务一: 代码部分: utils.hpp: #pragma once #include <fstream> #include <iostream> #include <stdexcept> #include <string> #include <vector> #include "conte
     面向对象程序设计(南京信息工程大学)   栖月水生   2025-12-24 02:59    1    6
  • 实验6

    任务1:源代码: 1 #pragma once 2 #include <iomanip> 3 #include <iostream> 4 #include <string> 5 6 struct Contestant { 7 long id; // 学号 8 std::string name; //
     面向对象程序设计(南京信息工程大学)   lei1459   2025-12-20 15:24    1    6
  • 实验报告六

    实验四: 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80]; // 作者 8 double sales
     程序设计基础(南京信息工程大学)   陆绎   2025-12-22 16:41    0    6
  • 实验6

    实验任务1 contestant.hpp #pragma once #include <iomanip> #include <iostream> #include <string> struct Contestant { long id; // 学号 std::string name; // 姓名
     面向对象程序设计(南京信息工程大学)   kdd184   2025-12-22 20:34    1    6
< Prev123456789101112···19Next >

Copyright ©2025 Cnblogs, Inc. Powered by .NET Core on Kubernetes. 问题反馈   帮助文档