编写题解 1050: [编程入门]结构体之成绩记录(Python) 摘要:解题思路:我认为核心难点就是如何用列表表示“二维数组”,如果知道如何表示的话,就差不多了。注意事项:无参考代码:n = int(input())ls =[]for i in range(n): …… 题解列表 2024年01月01日 0 点赞 0 评论 222 浏览 评分:0.0
c代码记录之结构体成绩记录--函数传参 摘要: #include struct Student{ char xuehao[30],name[30]; int a,b,c; }; …… 题解列表 2023年12月29日 0 点赞 0 评论 134 浏览 评分:0.0
结构体之成绩记录(java类) 摘要:多的不说,直接上代码import java.util.Scanner; class Grade{ int oneSub; int twoSub; int thre…… 题解列表 2023年12月27日 0 点赞 0 评论 99 浏览 评分:0.0
题解 1050: [编程入门]结构体之成绩记录(超超超级简短) 摘要:```c #include #include struct student { char shuju[20]; char name[20]; int chines…… 题解列表 2023年12月17日 0 点赞 0 评论 152 浏览 评分:6.0
题解 1050: [编程入门]结构体之成绩记录(超超超级简单) 摘要:```c #include #include struct student { char shuju[20]; char name[20]; int chinese; int …… 题解列表 2023年12月17日 0 点赞 0 评论 116 浏览 评分:0.0
题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路: 1.利用结构体储存学生信息 2.利用malloc 申请内存空间 3.利用指针people 遍历内存信息并输出注…… 题解列表 2023年12月14日 0 点赞 0 评论 119 浏览 评分:9.9
结构体之成绩记录,中规中矩 摘要:解题思路:注意事项:注意格式的输出参考代码:#include<stdio.h>int main(){ struct LC { char a[10]; char b[10]; int c[3]; …… 题解列表 2023年12月13日 0 点赞 0 评论 315 浏览 评分:0.0
]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:#include<stdio.h>struct Stu{ char id[20],name[20]; int score1,score2,score3;};v…… 题解列表 2023年12月08日 0 点赞 0 评论 112 浏览 评分:0.0
[编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:class Student(): def input(self, student_id, name, score): self.student…… 题解列表 2023年11月30日 1 点赞 0 评论 120 浏览 评分:0.0
无需指针 无需指针 无需指针 最最最简单易懂的解题思路!!! 摘要:解题思路:根据题目要求,需要输n个学生的各项数据,且需要定义一个结构体包含学生的各项数据。那我们可以将一个学生的各项数据作为一个整体,n个学生的话就需要n个整体,所以我们就可以定义一个结构体数组,每个…… 题解列表 2023年11月30日 0 点赞 0 评论 171 浏览 评分:0.0