主打简洁,学生数量N占一行每个学生的学号、姓名、三科成绩占一行,空格分开。 摘要:解题思路:接上题,只需要加工一下就行了注意事项:初始化不赋值的元素参考代码:#include#include using namespace std; typedef struct Student{…… 题解列表 2024年06月13日 0 点赞 0 评论 420 浏览 评分:9.9
编写题解 1051: [编程入门]结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include<stdio.h> #include<string.h> struct a{ char s1[9]; char s2[9]; …… 题解列表 2024年06月12日 0 点赞 0 评论 421 浏览 评分:0.0
无聊的星期六 摘要:#试试python的类来完成,感觉还是C做起来简单 class Student: def __init__(self, id, name,grades): self.…… 题解列表 2024年05月25日 0 点赞 0 评论 345 浏览 评分:0.0
1051成绩统计2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>typedef struct student{ char xuehao[20]; char xinming[20]; int a; in…… 题解列表 2024年05月23日 0 点赞 0 评论 260 浏览 评分:0.0
结构体之成绩统计2 明了易懂 摘要:解题思路:注意事项:参考代码:n = int(input())s = [] #存放学生数据sum_list = [] #存放每个学生的总分for i in range(n): s.append…… 题解列表 2024年05月20日 0 点赞 0 评论 337 浏览 评分:0.0
一看就会 [编程入门]结构体之成绩统计2 摘要:解题思路:简单易懂注意事项:注意学号和姓名用字符串,输入时记得单独列一行,个人见解,如有更简便方法可以分享哦!参考代码:#include<stdio.h>typedef struct _st{ ch…… 题解列表 2024年04月29日 0 点赞 0 评论 274 浏览 评分:0.0
结构体之成绩统计2 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct stu{ char num[20]; char name[20]; i…… 题解列表 2024年04月05日 0 点赞 0 评论 283 浏览 评分:0.0
题目 1051: [编程入门]结构体之成绩统计2 摘要:#include <stdio.h> // 定义学生结构体 typedef struct { char id[20]; char name[20]; int …… 题解列表 2024年03月30日 0 点赞 0 评论 251 浏览 评分:0.0
结构体输出成绩统计 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>struct stu{ char num[50]; char name[50]; …… 题解列表 2024年03月27日 0 点赞 0 评论 339 浏览 评分:0.0
主体C语言的简单链表 摘要:解题思路:封装函数 调用注意事项:参考代码://// Created by Freedom on 2024/3/19.//#include <iostream>#include <cstdio>usi…… 题解列表 2024年03月19日 0 点赞 0 评论 380 浏览 评分:0.0