• 首页
  • 校区
  • 班级
  • 博文
  • 评论
  • 作业
总阅读排行 | 周阅读排行 | 零回复 | 有回复 | 作业博文 | 其他博文 | 所有博文
零回复 | 有回复 | 作业 | 其他 | 所有
  • 实验6

    实验任务1 源代码 #pragma once #include <iomanip> #include <iostream> #include <string> struct Contestant { long id; // 学号 std::string name; // 姓名 std::string
     面向对象程序设计(南京信息工程大学)   交界地第一深情   2025-12-23 17:28    0    6
  • 实验6

    一、实验结论 1. 实验任务1 程序源代码 contestant.hpp #pragma once #include <iomanip> #include <iostream> #include <string> struct Contestant { long id; // 学号 std::str
     面向对象程序设计(南京信息工程大学)   isaacsun18   2025-12-23 23:22    0    6
  • 实验6

    实验任务1 源代码: 点击查看contestant.hpp #pragma once #include <<iomanip> #include <iostream> #include <string> struct Contestant { long id; // 学号 std::string na
     面向对象程序设计(南京信息工程大学)   王扁   2025-12-21 23:03    0    6
  • 第五次作业

    请用回溯法的方法分析“最小重量机器设计问题” 1.1最小重量机器设计问题” 的解空间是所有可能的部件 - 供应商选择组合 1.2解空间树: (1)解空间树是一棵n 层的 m 叉树 (2)树的层数对应部件的序号(第 1 层对应第 1 个部件,第 n 层对应第 n 个部件) (3)每一层的每个结点,有m
     网络空间安全2401(广东外语外贸大学 - 信息学院)   黄小冬   2025-12-21 23:17    0    6
  • 实验六

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

    实验任务4 1 #include <stdio.h> 2 #include <stdlib.h> 3 #define N 10 4 5 typedef struct { 6 char isbn[20]; 7 char name[80]; 8 char author[80]; 9 double sal
     程序设计基础(南京信息工程大学)   楊yyy   2025-12-20 21:05    0    6
  • 第五次作业

    1.用回溯法的方法分析“最小重量机器设计问题” 1.1 说明“最小重量机器设计问题"的解空间 该问题的解空间为所有符合条件的“部件——供应商”分配方案的集合,其中每个解都是一个长度为n的有序向量 X = (x1, x2, ..., xn), xi表示第i个部件选择的供应商的编号。 1.2 说明 “最
     网络空间安全2401(广东外语外贸大学 - 信息学院)   罗海渊   2025-12-21 11:44    0    6
  • 实验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 sale
     程序设计基础(南京信息工程大学)   mjy66   2025-12-20 15:50    0    6
  • 算法第五章作业

    一、回溯法分析最小重量机器设计问题 问题前提:机器包含 n 个部件,每个部件有 m 个供应商可选;wij 是第 i 个部件选第 j 个供应商的重量,cij 是对应成本;要求总成本不超过预算 C,总重量最小。 1.1 解空间 解是一个 n 维向量 X = (x₁, x₂, ... , x n),其中
     软件工程2403(广东外语外贸大学 - 信息学院)   Estelle_zgs   2025-12-19 19:18    0    6
  • 实验六

    1 #define _CRT_SECURE_NO_WARNINGS 2 #include <stdio.h> 3 #define N 10 4 5 typedef struct { 6 char isbn[20]; // isbn号 7 char name[80]; // 书名 8 char aut
     程序设计基础(南京信息工程大学)   .hh   2025-12-20 13:55    0    6
  • 实验6

    实验任务4 task4.c源代码 #include <stdio.h> #define N 10 typedef struct { char isbn[20]; // isbn号 char name[80]; // 书名 char author[80]; // 作者 double sales_pri
     程序设计基础(南京信息工程大学)   lidayu12   2025-12-19 23:12    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 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
  • 实验6

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

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

    task1 #include <stdio.h> #include <string.h> #define N 3 typedef struct Student{ int id; char name[20]; char subject[20]; double perf; double mid; dou
     程序设计基础(南京信息工程大学)   kanejames   2025-12-23 20:18    0    6
  • 实验六

    task4 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 sale
     程序设计基础(南京信息工程大学)   南信大Au   2025-12-21 20:30    0    6
  • 实验6 文件IO与异常处理

    实验任务1 代码组织: contestant.hpp 结构体Contestant定义及其重载运算符函数>>和<<实现 utils.hpp 工具函数实现(排序函数、数据读/写) task1.cpp 应用代码 + main contestant.hpp #pragma once #include <io
     面向对象程序设计(南京信息工程大学)   bastille433   2025-12-19 11:33    0    6
  • 实验六

    task 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 sal
     程序设计基础(南京信息工程大学)   Novven   2025-12-20 10:47    0    5
  • 实验6 文件I/O与异常处理

    实验任务1 代码 c++ 1 #pragma once 2 #include <iomanip> 3 #include <iostream> 4 #include <string> 5 6 struct Contestant { 7 long id; // 学号 8 std::string name
     面向对象程序设计(南京信息工程大学)   Wenteen   2025-12-23 13:57    0    5
< Prev123456789101112···20Next >

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