[编程入门]超精简30行代码解决(容易理解) 摘要:解题思路:注意事项:参考代码:#include<stdio.h> struct stu{ char xh[10]; char xm[10]; int cj[3]; }…… 题解列表 2023年08月20日 0 点赞 0 评论 312 浏览 评分:9.9
使用链表实现的成绩统计,无长度限制 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<stdlib.h> #define Maxsize 100 typedef struct { c…… 题解列表 2023年08月19日 0 点赞 0 评论 433 浏览 评分:0.0
刷題記錄,新手勿怪-带注解 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct transcript{ char student_num[20]; char name[20]; int grade[3]…… 题解列表 2023年04月24日 0 点赞 0 评论 305 浏览 评分:0.0
[编程入门]结构体之成绩统计2 摘要:柔性数组的解法可以更节省空间,同时代码执行效率也要高于结构体内部指针 ```c struct Yea { char xuehao[20]; char name[20]; …… 题解列表 2023年04月22日 0 点赞 0 评论 316 浏览 评分:9.9
题目 1051: [编程入门]结构体之成绩统计2 摘要: #include #include struct student { //定义学生结构体,包含学号、姓名、三科成绩 char id[20]…… 题解列表 2023年04月19日 0 点赞 0 评论 372 浏览 评分:9.9
[编程入门]结构体之成绩统计2 摘要:```cpp 只需要比上一题多加两个函数:求每名同学成绩的平均分函数,以及求最大值的函数。具体见代码: #include using namespace std; class studen…… 题解列表 2023年03月20日 0 点赞 0 评论 322 浏览 评分:9.9
1051:结构体之成绩统计2--- 摘要:参考代码:import java.util.Scanner;public class Main { public static void main(String[] args) { Scanner …… 题解列表 2023年03月16日 0 点赞 0 评论 358 浏览 评分:0.0
编写题解 1051: [编程入门]结构体之成绩记录2 摘要:在结构体内部的命名搞混了, ```c #include #include struct stu { char num[10]; char name[20]; int sc…… 题解列表 2023年03月16日 0 点赞 0 评论 688 浏览 评分:0.0
结构体之成绩统计2——输出平均成绩和最高成绩的学生信息 摘要:解题思路:注意事项:最后结果要取整数参考代码:n = int(input())L = []a=b=c=s1=s2=s3=avg=0for i in range(n): L1 = list(map…… 题解列表 2023年03月14日 0 点赞 0 评论 326 浏览 评分:0.0
1051: [编程入门]结构体之成绩统计2——Ccp 摘要:解题思路:注意事项:参考代码:1051: [编程入门]结构体之成绩统计2#include<stdio.h>struct stu{ char num[100]; char name[100]; int …… 题解列表 2023年03月07日 0 点赞 0 评论 311 浏览 评分:9.9