题解 1050: [编程入门]结构体之成绩记录 ##**思路**简单的字符串与整数输入输出,读入一个输出一个即可。##**代码**```cpp#includeusingnamespacestd;chara[10005];charb[10005];intmain(){intn;cin>>n;while(n--){intc, 题解列表 2024年01月30日 0 点赞 0 评论 430 浏览 评分:6.0
结构体之成绩记录 摘要:解题思路:定义一个结构体初始化结构体数组利用结构体数组实现数据存入再输出即可注意事项:参考代码:#include<iostream>using namespace std;struct student…… 题解列表 2024年01月27日 1 点赞 0 评论 469 浏览 评分:0.0
C语言--study||O.o 摘要:参考代码:include<stdio.h> struct student { char number[20]; char name[10]; int subject1…… 题解列表 2024年01月22日 0 点赞 0 评论 548 浏览 评分:9.9
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:确定输出五个数参考代码:n = int(input())def i(n): for i in range(n): s = list(map(str, input…… 题解列表 2024年01月09日 0 点赞 0 评论 451 浏览 评分:0.0
编写题解 1050: [编程入门]结构体之成绩记录(Python) 摘要:解题思路:我认为核心难点就是如何用列表表示“二维数组”,如果知道如何表示的话,就差不多了。注意事项:无参考代码:n = int(input())ls =[]for i in range(n): …… 题解列表 2024年01月01日 0 点赞 0 评论 578 浏览 评分:0.0
c代码记录之结构体成绩记录--函数传参 #includestructStudent{charxuehao[30],name[30];inta,b,c;};voidinput(structStudentstu[],intn){for(inti=0;i 题解列表 2023年12月29日 0 点赞 0 评论 429 浏览 评分:0.0
结构体之成绩记录(java类) 摘要:多的不说,直接上代码import java.util.Scanner; class Grade{ int oneSub; int twoSub; int thre…… 题解列表 2023年12月27日 0 点赞 0 评论 447 浏览 评分:0.0
题解 1050: [编程入门]结构体之成绩记录(超超超级简短) ```c#include#includestructstudent{charshuju[20];charname[20];intchinese;intenglish;intmath;};structstudenta[100];voidinput(inti){scanf("%s%s%d%d%d", 题解列表 2023年12月17日 0 点赞 0 评论 475 浏览 评分:6.0
题解 1050: [编程入门]结构体之成绩记录(超超超级简单) ```c#include#includestructstudent{charshuju[20];charname[20];intchinese;intenglish;intmath;};structstudenta[100];voidinput(inti){scanf("%s%s%d%d%d", 题解列表 2023年12月17日 0 点赞 0 评论 402 浏览 评分:0.0
题解 1050: [编程入门]结构体之成绩记录 摘要:解题思路: 1.利用结构体储存学生信息 2.利用malloc 申请内存空间 3.利用指针people 遍历内存信息并输出注…… 题解列表 2023年12月14日 0 点赞 0 评论 451 浏览 评分:9.9