1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:确定输出五个数参考代码:n = int(input())def i(n): for i in range(n): s = list(map(str, input…… 题解列表 2024年01月09日 0 点赞 0 评论 125 浏览 评分:0.0
结构体之成绩记录 摘要:解题思路:定义一个结构体初始化结构体数组利用结构体数组实现数据存入再输出即可注意事项:参考代码:#include<iostream>using namespace std;struct student…… 题解列表 2024年01月27日 1 点赞 0 评论 139 浏览 评分:0.0
注意有个空格 摘要:注意事项:注意有个空格!!!!!!!!!!!!!最后一个数字后边有个空格!!!!!!!printf("%d ",stu[i].score[2]);参考代码:#include<stdio.h>#defi…… 题解列表 2024年03月03日 0 点赞 0 评论 173 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录c语言 摘要:解题思路:注意事项:参考代码:#include <stdio.h>#include <stdlib.h>/* run this program using the console pauser or …… 题解列表 2024年03月18日 0 点赞 0 评论 130 浏览 评分:0.0
题目 1050: [编程入门]结构体之成绩记录 摘要:#include <stdio.h> // 定义学生结构体 typedef struct { char id[20]; char name[20]; int s…… 题解列表 2024年03月30日 0 点赞 0 评论 118 浏览 评分:0.0
结构体之成绩记录(结构体数组) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<string.h>struct stu{ char num[20]; char name[20]; int chine…… 题解列表 2024年04月05日 0 点赞 0 评论 150 浏览 评分:0.0
结构体之成绩记录(指针) 摘要:解题思路:注意事项:参考代码:#include<stdio.h>#include<stdlib.h>typedef struct stu{ char num[20]; char name[…… 题解列表 2024年04月05日 0 点赞 0 评论 130 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:首先定义了一个结构体rec,包含学生的学号、姓名和三个成绩。然后定义了两个函数input和print,分别用于输入和输出学生信息。在main函数中,首先定义了一个结构体数组stu,用于存储学…… 题解列表 2024年04月07日 0 点赞 0 评论 251 浏览 评分:0.0
1050: [编程入门]结构体之成绩记录 摘要:解题思路:注意事项:参考代码:n = int(input()) arr = [] [arr.append(list(map(str, input().split()))) for _ in ran…… 题解列表 2024年04月27日 0 点赞 0 评论 154 浏览 评分:0.0
结构体之成绩记录 简洁易懂 摘要:解题思路:注意事项:参考代码:n = int(input())s = [] # 存放学生记录for i in range(n): s.append(input().split())for i i…… 题解列表 2024年05月19日 0 点赞 0 评论 159 浏览 评分:0.0